|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object seda.sandStorm.lib.http.httpResponse seda.sandStorm.lib.http.httpNotFoundResponse
public class httpNotFoundResponse
An httpResponse corresponding to a '404 Not Found' error.
httpResponse
Field Summary | |
---|---|
private static boolean |
DEBUG
|
Fields inherited from class seda.sandStorm.lib.http.httpResponse |
---|
code, combinedData, contentLength, contentType, DEFAULT_MIME_TYPE, defaultHeader, header, payload, RESPONSE_BAD_REQUEST, RESPONSE_INTERNAL_SERVER_ERROR, RESPONSE_NOT_FOUND, RESPONSE_OK, RESPONSE_REDIRECT, RESPONSE_SERVICE_UNAVAILABLE |
Fields inherited from interface seda.sandStorm.lib.http.httpConst |
---|
CRLF, DEFAULT_HTTP_PORT, HTTP_VERSION, WRITE_CLOG_THRESHOLD |
Constructor Summary | |
---|---|
httpNotFoundResponse(httpRequest request,
java.lang.String reason)
Create an httpNotFoundResponse corresponding to the given request with the given reason. |
Method Summary | |
---|---|
protected java.lang.String |
getEntityHeader()
Return the entity header as a String. |
Methods inherited from class seda.sandStorm.lib.http.httpResponse |
---|
getBuffers, getDefaultHeader, getHeader, getPayload, setDefaultHeader, setPayload |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final boolean DEBUG
Constructor Detail |
---|
public httpNotFoundResponse(httpRequest request, java.lang.String reason)
Method Detail |
---|
protected java.lang.String getEntityHeader()
httpResponse
getEntityHeader
in class httpResponse
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |