org.jboss.resteasy.spi
Class DefaultOptionsMethodException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.resteasy.spi.Failure
                  extended by org.jboss.resteasy.spi.DefaultOptionsMethodException
All Implemented Interfaces:
java.io.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:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.resteasy.spi.Failure
errorCode, loggable, response
 
Constructor Summary
DefaultOptionsMethodException(java.lang.String s, Response response)
           
 
Method Summary
 
Methods inherited from class org.jboss.resteasy.spi.Failure
getErrorCode, getResponse, isLoggable, setErrorCode, setLoggable
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultOptionsMethodException

public DefaultOptionsMethodException(java.lang.String s,
                                     Response response)


Copyright © 2010. All Rights Reserved.