com.flat502.rox.http
Class HttpResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.flat502.rox.http.HttpMessageException
com.flat502.rox.http.HttpResponseException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- MethodNotAllowedResponseException
public class HttpResponseException
- extends HttpMessageException
- See Also:
- Serialized Form
Constructor Summary |
HttpResponseException(int statusCode,
java.lang.String reasonPhrase)
|
HttpResponseException(int statusCode,
java.lang.String reasonPhrase,
HttpRequestBuffer req)
|
HttpResponseException(int statusCode,
java.lang.String reasonPhrase,
HttpRequestBuffer req,
java.util.Map headers)
|
HttpResponseException(int statusCode,
java.lang.String reasonPhrase,
HttpRequestBuffer req,
java.lang.Throwable e)
|
HttpResponseException(int statusCode,
java.lang.String reasonPhrase,
java.lang.Throwable e)
|
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 |
HttpResponseException
public HttpResponseException(int statusCode,
java.lang.String reasonPhrase)
HttpResponseException
public HttpResponseException(int statusCode,
java.lang.String reasonPhrase,
HttpRequestBuffer req)
HttpResponseException
public HttpResponseException(int statusCode,
java.lang.String reasonPhrase,
HttpRequestBuffer req,
java.util.Map headers)
HttpResponseException
public HttpResponseException(int statusCode,
java.lang.String reasonPhrase,
java.lang.Throwable e)
HttpResponseException
public HttpResponseException(int statusCode,
java.lang.String reasonPhrase,
HttpRequestBuffer req,
java.lang.Throwable e)
getStatusCode
public int getStatusCode()
getReasonPhrase
public java.lang.String getReasonPhrase()
toHttpResponse
public HttpResponse toHttpResponse(java.lang.String httpVersion)