Package org.jboss.resteasy.plugins.providers.jackson

## Class UnrecognizedPropertyExceptionHandler

- java.lang.Object
- - org.jboss.resteasy.plugins.providers.jackson.UnrecognizedPropertyExceptionHandler

- All Implemented Interfaces:
    `javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException>`

      @Provider
      public class UnrecognizedPropertyExceptionHandler
      extends Object
      implements javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException>

  (RESTEASY-1485) Address concerns of a possible XSS attack by removing some details of the exception. User: rsearls Date: 9/22/16

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `javax.ws.rs.core.Response` | `toResponse​(com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException exception)` |

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

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

- - ### Constructor Detail

    - #### UnrecognizedPropertyExceptionHandler

          public UnrecognizedPropertyExceptionHandler()

  - ### Method Detail

    - #### toResponse

          public javax.ws.rs.core.Response toResponse​(com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException exception)

      Specified by:
        `toResponse` in interface `javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException>`