Class DefaultOptionsMethodException

All Implemented Interfaces:
Serializable

@Deprecated(forRemoval=true) public class DefaultOptionsMethodException extends Failure
Deprecated, for removal: This API element is subject to removal in a future version.
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.

Note that by default this exception is no longer thrown unless the dev.resteasy.throw.options.exception configuration property is set to true. This exception will be removed in a future release.

See Also:
  • Constructor Details

    • DefaultOptionsMethodException

      public DefaultOptionsMethodException(String s, jakarta.ws.rs.core.Response response)
      Deprecated, for removal: This API element is subject to removal in a future version.