|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sibvisions.rad.server.http.HttpContext
public class HttpContext
The HttpContext
is simple context for accessing request and response objects.
Constructor Summary | |
---|---|
HttpContext(java.lang.Object pRequest,
java.lang.Object pResponse)
Creates a new instance of HttpContext . |
Method Summary | |
---|---|
static HttpContext |
getCurrentInstance()
Gets the current instance of HttpContext . |
java.lang.Thread |
getInitialThread()
The initial thread at constructor time. |
java.lang.Object |
getRequest()
Gets the current request. |
java.lang.Object |
getResponse()
Gets the current esponse. |
boolean |
isReleased()
Gets the release state of this HttpContext . |
void |
release()
Release any resources associated with this HttpContext instance. |
protected void |
setInstance(HttpContext pContext)
Sets the current context instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpContext(java.lang.Object pRequest, java.lang.Object pResponse)
HttpContext
.
pRequest
- the servlet requestpResponse
- the servlet responseMethod Detail |
---|
public java.lang.Object getRequest()
public java.lang.Object getResponse()
public static HttpContext getCurrentInstance()
HttpContext
.
protected void setInstance(HttpContext pContext)
pContext
- the context instancepublic final void release()
HttpContext
instance.
isReleased()
public boolean isReleased()
HttpContext
.
true
if there is no current instance of HttpContext
(means
that the HttpContext
is released); otherwise false
public java.lang.Thread getInitialThread()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |