Package org.jboss.resteasy.plugins.interceptors

## Class MessageSanitizerContainerResponseFilter

- java.lang.Object
- - org.jboss.resteasy.plugins.interceptors.MessageSanitizerContainerResponseFilter

- All Implemented Interfaces:
    `javax.ws.rs.container.ContainerResponseFilter`

      @Provider
      @Priority(4000)
      public class MessageSanitizerContainerResponseFilter
      extends Object
      implements javax.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

    Constructors
    Constructor | Description
    --- | ---
    `MessageSanitizerContainerResponseFilter()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `filter​(javax.ws.rs.container.ContainerRequestContext requestContext, javax.ws.rs.container.ContainerResponseContext responseContext)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MessageSanitizerContainerResponseFilter

          public MessageSanitizerContainerResponseFilter()

  - ### Method Detail

    - #### filter

          public void filter​(javax.ws.rs.container.ContainerRequestContext requestContext,
                             javax.ws.rs.container.ContainerResponseContext responseContext)
                      throws IOException

      Specified by:
        `filter` in interface `javax.ws.rs.container.ContainerResponseFilter`
      Throws:
        `IOException`