All Packages Class Hierarchy This Package Previous Next Index
Class novocode.netforge.http.responder.Response
java.lang.Object
|
+----novocode.netforge.http.responder.Response
- public abstract class Response
- extends Object
-
CLE_BADREQ
-
-
CLE_FORBIDDEN
-
-
CLE_NOTFOUND
-
-
CLE_UNAUTH
-
-
code
-
-
contentLength
-
-
cx
-
-
easyHead
-
-
HD_ALLOW
-
-
HD_AUTH
-
-
HD_CENC
-
-
HD_CLEN
-
-
HD_CTYPE
-
-
HD_DATE
-
-
HD_EXP
-
-
HD_LMOD
-
-
HD_LOC
-
-
HD_PRAGMA
-
-
in
-
-
out
-
-
prOut
-
-
RED_MULTIPLE
-
-
RED_NOTMOD
-
-
RED_PERMMOVED
-
-
RED_TEMPMOVED
-
-
req
-
-
responder
-
-
SRV_BADGATE
-
-
SRV_INTERNAL
-
-
SRV_NOTIMPL
-
-
SRV_UNAVAIL
-
-
ST_BEGINNING
-
-
ST_SENTHEADER
-
-
ST_SENTSTLINE
-
-
state
-
-
SUX_ACCEPTED
-
-
SUX_CREATED
-
-
SUX_NOCONTENT
-
-
SUX_OK
-
-
Response(Responder, Request)
-
-
endHeader()
-
-
formatDate(Date)
-
-
getReason(int)
-
-
performHttpMethod(String)
-
-
redirect(String)
-
-
sendHeader(byte[], String)
-
-
sendStatus()
-
-
sendStatus(int)
-
-
sendStatus(int, String)
-
ST_BEGINNING
public static final int ST_BEGINNING
ST_SENTSTLINE
public static final int ST_SENTSTLINE
ST_SENTHEADER
public static final int ST_SENTHEADER
cx
public Connection cx
req
public Request req
responder
public Responder responder
in
public InputStream in
out
public OutputStream out
prOut
public PrintStream prOut
code
public int code
contentLength
public long contentLength
easyHead
public boolean easyHead
state
public int state
HD_DATE
public static final byte HD_DATE[]
HD_PRAGMA
public static final byte HD_PRAGMA[]
HD_AUTH
public static final byte HD_AUTH[]
HD_LOC
public static final byte HD_LOC[]
HD_ALLOW
public static final byte HD_ALLOW[]
HD_CENC
public static final byte HD_CENC[]
HD_CLEN
public static final byte HD_CLEN[]
HD_CTYPE
public static final byte HD_CTYPE[]
HD_EXP
public static final byte HD_EXP[]
HD_LMOD
public static final byte HD_LMOD[]
SUX_OK
public static final int SUX_OK
SUX_CREATED
public static final int SUX_CREATED
SUX_ACCEPTED
public static final int SUX_ACCEPTED
SUX_NOCONTENT
public static final int SUX_NOCONTENT
RED_MULTIPLE
public static final int RED_MULTIPLE
RED_PERMMOVED
public static final int RED_PERMMOVED
RED_TEMPMOVED
public static final int RED_TEMPMOVED
RED_NOTMOD
public static final int RED_NOTMOD
CLE_BADREQ
public static final int CLE_BADREQ
CLE_UNAUTH
public static final int CLE_UNAUTH
CLE_FORBIDDEN
public static final int CLE_FORBIDDEN
CLE_NOTFOUND
public static final int CLE_NOTFOUND
SRV_INTERNAL
public static final int SRV_INTERNAL
SRV_NOTIMPL
public static final int SRV_NOTIMPL
SRV_BADGATE
public static final int SRV_BADGATE
SRV_UNAVAIL
public static final int SRV_UNAVAIL
Response
public Response(Responder res,
Request req)
performHttpMethod
public abstract void performHttpMethod(String method) throws ResponseException
sendStatus
public final void sendStatus() throws ResponseException, IOException
sendStatus
public final void sendStatus(int code) throws ResponseException, IOException
sendStatus
public final void sendStatus(int code,
String msg) throws ResponseException, IOException
sendHeader
public final void sendHeader(byte key[],
String value) throws ResponseException, IOException
endHeader
public final void endHeader() throws ResponseException, IOException
getReason
public static final byte[] getReason(int code)
redirect
public final void redirect(String uri) throws RedirectionException
formatDate
public final String formatDate(Date d)
All Packages Class Hierarchy This Package Previous Next Index