Package org.jboss.resteasy.spi
Class DefaultOptionsMethodException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jboss.resteasy.spi.Failure
-
- org.jboss.resteasy.spi.DefaultOptionsMethodException
-
- All Implemented Interfaces:
Serializable
@Deprecated public class DefaultOptionsMethodException extends Failure
Deprecated.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultOptionsMethodException(String s, javax.ws.rs.core.Response response)
Deprecated.
-
Method Summary
-
Methods inherited from class org.jboss.resteasy.spi.Failure
getErrorCode, getResponse, isLoggable, setErrorCode, setLoggable, setResponse
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DefaultOptionsMethodException
public DefaultOptionsMethodException(String s, javax.ws.rs.core.Response response)
Deprecated.
-
-