Class DefaultOptionsMethodException

All Implemented Interfaces:
Serializable

public class DefaultOptionsMethodException extends Failure
This exception is thrown when the client invokes HTTP OPTIONS operation and the JAX-RS resource does not have a Java method that supports OPTIONS. RESTEasy provides a default behavior for OPTIONS. If you want to override this behavior, write an exception mapper for this exception.
See Also:
  • Constructor Details

    • DefaultOptionsMethodException

      public DefaultOptionsMethodException(String s, javax.ws.rs.core.Response response)