|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--apollo.HTTPResponse
This is the HTTPResponse object. Copyright Joe Kislo, All Rights Reserved.
Constructor Summary | |
HTTPResponse(ManagerTracker MT)
|
|
HTTPResponse(ManagerTracker MT,
HTTPResponse HTTPRes)
|
|
HTTPResponse(ManagerTracker MT,
java.lang.String s)
|
Method Summary | |
void |
append(byte[] b)
Appends to the HTTPResponse |
void |
append(HTTPResponse res)
Appends the HTTPResponse supplied to the current HTTPResponse |
void |
append(java.lang.String s)
Appends to the HTTPResponse |
void |
clear()
Clears the response contents (but nothing else) of this HTTPResponse |
byte[] |
getContents()
Returns a string representing the contents of this Response |
boolean |
getGZIPEncoding()
Returns true if GZIP encoding is activated (This does not guarantee it will be used) |
java.util.Hashtable |
getManualHeaders()
Returns the Hashtable representing the manual headers |
WebSession |
getReturnSession()
Not for general use. |
boolean |
getUseManualHeaders()
Returns true if manual headers are in use |
void |
render(javax.servlet.http.HttpServletResponse res)
Render the contents of the response. |
void |
render(javax.servlet.http.HttpServletResponse res,
javax.servlet.http.HttpServletRequest req)
Renders this HTTPResponse to a JSDK HttpServletResponse object. |
void |
setGZIPEncoding(boolean b)
Activate or deactive GZIP encoding |
void |
setManualHeaders(java.lang.String key,
java.lang.String value)
Set headers manually. |
void |
setMT(ManagerTracker MT)
|
void |
setReturnSession(WebSession session)
NOT for general use. |
void |
setUseManualHeaders(boolean b)
Activate or deactivate the manual headers |
java.lang.String |
toString()
Represents this HTTPResponse as a string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HTTPResponse(ManagerTracker MT, java.lang.String s)
public HTTPResponse(ManagerTracker MT, HTTPResponse HTTPRes)
public HTTPResponse(ManagerTracker MT)
Method Detail |
public void setMT(ManagerTracker MT)
public void setReturnSession(WebSession session)
public WebSession getReturnSession()
public java.lang.String toString()
toString
in class java.lang.Object
public void append(java.lang.String s)
public void append(byte[] b)
public void append(HTTPResponse res)
public void clear()
public boolean getGZIPEncoding()
public void setGZIPEncoding(boolean b)
public void setManualHeaders(java.lang.String key, java.lang.String value)
public java.util.Hashtable getManualHeaders()
public void setUseManualHeaders(boolean b)
public boolean getUseManualHeaders()
public void render(javax.servlet.http.HttpServletResponse res, javax.servlet.http.HttpServletRequest req) throws java.io.IOException
public void render(javax.servlet.http.HttpServletResponse res) throws java.io.IOException
res
- The HttpServletResponsepublic byte[] getContents()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |