Logo Search packages:      
Sourcecode: jaminid version File versions  Download package

com::prolixtech::jaminid::Response Class Reference

List of all members.


Detailed Description

The response class encapsulates an HTTP response. It contains the response data (headers, etc) as well as functions to publish cookies, send files, etc.

Author:
Constantinos Michael
TODO

Definition at line 19 of file Response.java.


Public Member Functions

byte[] CRLF ()
void publishHeader () throws IOException
 Response (int statusCode, Protocol protocol, OutputStream out, Request masterRequest)
void sendCookie15DG (String name, String value)
void sendFile (File cFile) throws Exception
void setCookie (String name, String value, String path, java.util.Date expires)
void setHeaderLine (ProtocolResponseHeader header, String value)
void setStatus (int statusCode)

Private Attributes

Map< String, String > activeHeader = new java.util.HashMap<String, String>()
boolean headerPublished
Request masterRequest
OutputStream out
Protocol protocol
String statusLine

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index