@Priority(value=1000)
public class CsrfProtectionFilter
extends java.lang.Object
implements javax.ws.rs.container.ContainerRequestFilter
Response.Status.BAD_REQUEST
response back to the client.CsrfProtectionFilter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HEADER_NAME
Name of the header this filter will attach to the request.
|
private static java.util.Set<java.lang.String> |
METHODS_TO_IGNORE |
Constructor and Description |
---|
CsrfProtectionFilter() |
Modifier and Type | Method and Description |
---|---|
void |
filter(javax.ws.rs.container.ContainerRequestContext rc) |
public static final java.lang.String HEADER_NAME
private static final java.util.Set<java.lang.String> METHODS_TO_IGNORE