com.xefer.rebel
Class MethodNotAllowedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.servlet.ServletException
                    |
                    +--com.xefer.rebel.ResourceException
                          |
                          +--com.xefer.rebel.MethodNotAllowedException
All Implemented Interfaces:
Serializable

class MethodNotAllowedException
extends ResourceException

See Also:
Serialized Form

Field Summary
(package private)  String allowedMethods
           
 
Fields inherited from class com.xefer.rebel.ResourceException
rootCause, statusCode
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
MethodNotAllowedException(String message, String allowedMethods)
           
 
Method Summary
 void report(HttpServletResponse response)
           
 
Methods inherited from class com.xefer.rebel.ResourceException
getMessage, getMessage, getStatusCode
 
Methods inherited from class javax.servlet.ServletException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

allowedMethods

String allowedMethods
Constructor Detail

MethodNotAllowedException

public MethodNotAllowedException(String message,
                                 String allowedMethods)
Method Detail

report

public void report(HttpServletResponse response)
            throws IOException
Overrides:
report in class ResourceException