|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Class to enable us to access servlet parameters.
Method Summary | |
java.lang.String |
forwardToString(java.lang.String url)
Forward a request to a given URL and catch the data written to it |
Container |
getContainer()
Accessor for the IoC container. |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest()
Accessor for the http request information. |
javax.servlet.http.HttpServletResponse |
getHttpServletResponse()
Accessor for the http response bean. |
javax.servlet.ServletConfig |
getServletConfig()
Accessor for the servlet config. |
javax.servlet.ServletContext |
getServletContext()
Returns the ServletContext to which this session belongs. |
javax.servlet.http.HttpSession |
getSession()
Returns the current session associated with this request, or if the request does not have a session, creates one. |
javax.servlet.http.HttpSession |
getSession(boolean create)
Returns the current HttpSession associated with this request or, if there is no current session and create is true, returns a new session. |
java.lang.String |
getVersion()
Fish the version number out of the dwr.properties file. |
Method Detail |
public Container getContainer()
public javax.servlet.http.HttpSession getSession()
HttpServletRequest.getSession()
public javax.servlet.http.HttpSession getSession(boolean create)
create
- false to return null if there's no current session
HttpServletRequest.getSession(boolean)
public javax.servlet.ServletConfig getServletConfig()
public javax.servlet.ServletContext getServletContext()
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
public javax.servlet.http.HttpServletResponse getHttpServletResponse()
public java.lang.String forwardToString(java.lang.String url) throws javax.servlet.ServletException, java.io.IOException
url
- The URL to forward to
java.io.IOException
- if the target resource throws this exception
javax.servlet.ServletException
- if the target resource throws this exception
java.lang.IllegalStateException
- if the response was already committedpublic java.lang.String getVersion()
|
Copyright ? 2005 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |