Class MessageSanitizerContainerResponseFilter
java.lang.Object
org.jboss.resteasy.plugins.interceptors.MessageSanitizerContainerResponseFilter
- All Implemented Interfaces:
jakarta.ws.rs.container.ContainerResponseFilter
@Provider
@Priority(4000)
public class MessageSanitizerContainerResponseFilter
extends Object
implements jakarta.ws.rs.container.ContainerResponseFilter
(RESTEASY-1485) Thwart select XSS attack by escaping special chars in
Exception message.
User: rsearls
Date: 9/16/16
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
filter
(jakarta.ws.rs.container.ContainerRequestContext requestContext, jakarta.ws.rs.container.ContainerResponseContext responseContext)
-
Constructor Details
-
MessageSanitizerContainerResponseFilter
public MessageSanitizerContainerResponseFilter()
-
-
Method Details
-
filter
public void filter(jakarta.ws.rs.container.ContainerRequestContext requestContext, jakarta.ws.rs.container.ContainerResponseContext responseContext) throws IOException - Specified by:
filter
in interfacejakarta.ws.rs.container.ContainerResponseFilter
- Throws:
IOException
-