com.flat502.rox.http
Class MethodNotAllowedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.flat502.rox.http.HttpBufferException
              extended by com.flat502.rox.http.MethodNotAllowedException
All Implemented Interfaces:
java.io.Serializable

public class MethodNotAllowedException
extends HttpBufferException

Indicates an HTTP method is not supported.

See Also:
Serialized Form

Constructor Summary
MethodNotAllowedException(java.lang.String method, java.lang.String[] allowed)
           
 
Method Summary
 java.lang.String[] getAllowed()
           
 java.lang.String getMethod()
           
 
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

MethodNotAllowedException

public MethodNotAllowedException(java.lang.String method,
                                 java.lang.String[] allowed)
Method Detail

getMethod

public java.lang.String getMethod()

getAllowed

public java.lang.String[] getAllowed()