@Priority(value=1000) public class CsrfProtectionFilter extends Object implements 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() |
public static final String HEADER_NAME
public void filter(ContainerRequestContext rc) throws IOException
filter
in interface ContainerRequestFilter
IOException
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.