@Priority(value=1000) public class CsrfProtectionFilter extends Object implements javax.ws.rs.container.ContainerRequestFilter
Response.Status.BAD_REQUEST
response back to the client.CsrfProtectionFilter
Modifier and Type | Field and Description |
---|---|
static String |
HEADER_NAME
Name of the header this filter will attach to the request.
|
Constructor and Description |
---|
CsrfProtectionFilter() |
Modifier and Type | Method and Description |
---|---|
void |
filter(javax.ws.rs.container.ContainerRequestContext rc) |
public static final String HEADER_NAME
public void filter(javax.ws.rs.container.ContainerRequestContext rc) throws IOException
filter
in interface javax.ws.rs.container.ContainerRequestFilter
IOException
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.