|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.appserver.WOContext com.webobjects.jspservlet.WOServletContext
public class WOServletContext
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Field Summary |
---|
Fields inherited from class com.webobjects.appserver.WOContext |
---|
EscapeQueryDictionary, SessionIDBindingKey, WOURLEncoding |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
KeyPathSeparator |
Constructor Summary | |
---|---|
WOServletContext(WORequest aRequest)
Creates a new WOServletContext object with aRequest . |
Method Summary | |
---|---|
javax.servlet.http.HttpServletRequest |
httpServletRequest()
Returns the HttpServletRequest. |
javax.servlet.http.HttpServletResponse |
httpServletResponse()
Returns the HttpServletResponse. |
javax.servlet.http.HttpSession |
httpSession()
Returns the HttpSession, if it exists. |
Object |
jspPage()
Returns the JSP page object that was part of the PageContext. |
javax.servlet.jsp.JspWriter |
jspWriter()
Returns the JspWriter that was part of the PageContext. |
javax.servlet.ServletConfig |
servletConfig()
Returns the ServletConfig. |
javax.servlet.ServletContext |
servletContext()
Returns the ServletContext. |
WOSession |
session()
Returns the object representing the receiving context's session, if one exists. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WOServletContext(WORequest aRequest)
aRequest
. The userInfo
dictionary
of aRequest
should contain at least the following: HttpServletRequest, HttpServletResponse
ServletConfig, ServletContext. Optionally (for JSP pages), PageContext should also
be included. The keys for the above objects are the same as the class of object.
If PageContext is included, the JSP page and JspWriter objects will be extracted from
the PageContext.
aRequest
- the WORequest the context should be created forMethod Detail |
---|
public WOSession session()
session
in class WOContext
WOContext.component()
,
WOContext.page()
,
WOContext.request()
,
WOContext.response()
,
WOContext.hasSession()
,
WOSession
,
WOApplication.createSessionForRequest(com.webobjects.appserver.WORequest)
public javax.servlet.jsp.JspWriter jspWriter()
public Object jspPage()
public javax.servlet.http.HttpServletRequest httpServletRequest()
public javax.servlet.http.HttpServletResponse httpServletResponse()
public javax.servlet.ServletConfig servletConfig()
public javax.servlet.ServletContext servletContext()
public javax.servlet.http.HttpSession httpSession()
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |