public class RequestInfo
extends java.lang.Object
| Constructor and Description |
|---|
RequestInfo(org.randombits.support.core.env.EnvironmentAssistant environmentAssistant)
Constructs a new RequestInfo with no specified HTTP servlet request
instance.
|
RequestInfo(javax.servlet.http.HttpServletRequest req)
Constructs a new RequestInfo with a specific HTTP servlet request
instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Call this method to indicate the class can free up its resources.
|
protected void |
finalize() |
protected org.randombits.support.core.env.EnvironmentAssistant |
getEnvironmentAssistant() |
javax.servlet.http.HttpServletRequest |
getRequest()
The HTTP page request object.
|
org.randombits.storage.Storage |
getRequestAttributes()
Retrieves a Storage instance providing access to the request attributes.
|
org.randombits.storage.Storage |
getRequestParams()
Retrieves a read-only Storage instance providing access to the request
parameters.
|
javax.servlet.http.HttpSession |
getSession() |
org.randombits.storage.Storage |
getSessionAttributes()
Returns a storage instance for the current session.
|
public RequestInfo(javax.servlet.http.HttpServletRequest req)
req - The HTTP servlet request.public RequestInfo(org.randombits.support.core.env.EnvironmentAssistant environmentAssistant)
ServletAssistant.getRequest().environmentAssistant - The servlet assistant.protected org.randombits.support.core.env.EnvironmentAssistant getEnvironmentAssistant()
public org.randombits.storage.Storage getRequestParams()
null if the HTTP request is not
available in the current context.null.public org.randombits.storage.Storage getRequestAttributes()
null if the HTTP request is not available in the
current context.null.public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpSession getSession()
public org.randombits.storage.Storage getSessionAttributes()
public void close()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.ThrowableCopyright © 2013 randombits.org. All Rights Reserved.