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 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 interface jakarta.ws.rs.container.ContainerResponseFilter
      Throws:
      IOException