com.flat502.rox.http
Class MethodNotAllowedResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.flat502.rox.http.HttpMessageException
              extended by com.flat502.rox.http.HttpResponseException
                  extended by com.flat502.rox.http.MethodNotAllowedResponseException
All Implemented Interfaces:
java.io.Serializable

public class MethodNotAllowedResponseException
extends HttpResponseException

See Also:
Serialized Form

Constructor Summary
MethodNotAllowedResponseException(java.lang.String string, java.lang.String allowed)
           
 
Method Summary
 HttpResponse toHttpResponse(java.lang.String httpVersion)
           
 
Methods inherited from class com.flat502.rox.http.HttpResponseException
getReasonPhrase, getStatusCode
 
Methods inherited from class com.flat502.rox.http.HttpMessageException
getMsg
 
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

MethodNotAllowedResponseException

public MethodNotAllowedResponseException(java.lang.String string,
                                         java.lang.String allowed)
Method Detail

toHttpResponse

public HttpResponse toHttpResponse(java.lang.String httpVersion)
Overrides:
toHttpResponse in class HttpResponseException