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

Variable Index

 o CLE_BADREQ
 o CLE_FORBIDDEN
 o CLE_NOTFOUND
 o CLE_UNAUTH
 o code
 o contentLength
 o cx
 o easyHead
 o HD_ALLOW
 o HD_AUTH
 o HD_CENC
 o HD_CLEN
 o HD_CTYPE
 o HD_DATE
 o HD_EXP
 o HD_LMOD
 o HD_LOC
 o HD_PRAGMA
 o in
 o out
 o prOut
 o RED_MULTIPLE
 o RED_NOTMOD
 o RED_PERMMOVED
 o RED_TEMPMOVED
 o req
 o responder
 o SRV_BADGATE
 o SRV_INTERNAL
 o SRV_NOTIMPL
 o SRV_UNAVAIL
 o ST_BEGINNING
 o ST_SENTHEADER
 o ST_SENTSTLINE
 o state
 o SUX_ACCEPTED
 o SUX_CREATED
 o SUX_NOCONTENT
 o SUX_OK

Constructor Index

 o Response(Responder, Request)

Method Index

 o endHeader()
 o formatDate(Date)
 o getReason(int)
 o performHttpMethod(String)
 o redirect(String)
 o sendHeader(byte[], String)
 o sendStatus()
 o sendStatus(int)
 o sendStatus(int, String)

Variables

 o ST_BEGINNING
 public static final int ST_BEGINNING
 o ST_SENTSTLINE
 public static final int ST_SENTSTLINE
 o ST_SENTHEADER
 public static final int ST_SENTHEADER
 o cx
 public Connection cx
 o req
 public Request req
 o responder
 public Responder responder
 o in
 public InputStream in
 o out
 public OutputStream out
 o prOut
 public PrintStream prOut
 o code
 public int code
 o contentLength
 public long contentLength
 o easyHead
 public boolean easyHead
 o state
 public int state
 o HD_DATE
 public static final byte HD_DATE[]
 o HD_PRAGMA
 public static final byte HD_PRAGMA[]
 o HD_AUTH
 public static final byte HD_AUTH[]
 o HD_LOC
 public static final byte HD_LOC[]
 o HD_ALLOW
 public static final byte HD_ALLOW[]
 o HD_CENC
 public static final byte HD_CENC[]
 o HD_CLEN
 public static final byte HD_CLEN[]
 o HD_CTYPE
 public static final byte HD_CTYPE[]
 o HD_EXP
 public static final byte HD_EXP[]
 o HD_LMOD
 public static final byte HD_LMOD[]
 o SUX_OK
 public static final int SUX_OK
 o SUX_CREATED
 public static final int SUX_CREATED
 o SUX_ACCEPTED
 public static final int SUX_ACCEPTED
 o SUX_NOCONTENT
 public static final int SUX_NOCONTENT
 o RED_MULTIPLE
 public static final int RED_MULTIPLE
 o RED_PERMMOVED
 public static final int RED_PERMMOVED
 o RED_TEMPMOVED
 public static final int RED_TEMPMOVED
 o RED_NOTMOD
 public static final int RED_NOTMOD
 o CLE_BADREQ
 public static final int CLE_BADREQ
 o CLE_UNAUTH
 public static final int CLE_UNAUTH
 o CLE_FORBIDDEN
 public static final int CLE_FORBIDDEN
 o CLE_NOTFOUND
 public static final int CLE_NOTFOUND
 o SRV_INTERNAL
 public static final int SRV_INTERNAL
 o SRV_NOTIMPL
 public static final int SRV_NOTIMPL
 o SRV_BADGATE
 public static final int SRV_BADGATE
 o SRV_UNAVAIL
 public static final int SRV_UNAVAIL

Constructors

 o Response
 public Response(Responder res,
                 Request req)

Methods

 o performHttpMethod
 public abstract void performHttpMethod(String method) throws ResponseException
 o sendStatus
 public final void sendStatus() throws ResponseException, IOException
 o sendStatus
 public final void sendStatus(int code) throws ResponseException, IOException
 o sendStatus
 public final void sendStatus(int code,
                              String msg) throws ResponseException, IOException
 o sendHeader
 public final void sendHeader(byte key[],
                              String value) throws ResponseException, IOException
 o endHeader
 public final void endHeader() throws ResponseException, IOException
 o getReason
 public static final byte[] getReason(int code)
 o redirect
 public final void redirect(String uri) throws RedirectionException
 o formatDate
 public final String formatDate(Date d)

All Packages  Class Hierarchy  This Package  Previous  Next  Index