|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.boylesoftware.cb2.presentation.servlet.RequestProcessingContext
Request processor creates an instance of this class and keeps it as a request attribute during the whole request processing procedure. This class represents a collection of data and references that do not change during single request processing.
This class is not used directly in actions and presentation elements,
instead ActionContext
is used, which provides access to
everything an instance of this class can give you access to. However,
in certain situations when you don't have an action context (for example
in custom JSP tags implementations), you can use services of this class
directly given that its instance can be always easily found by calling
get(HttpServletRequest request)
static method.
Method Summary | |
static RequestProcessingContext |
get(javax.servlet.http.HttpServletRequest request)
Gets the instance of request processing context for the specified request. |
ApplicationContext |
getApplicationContext()
Gets out application context. |
BLManager |
getBLManager()
Gets out business level manager. |
java.lang.String |
getBLSessionId()
Gets id of the corresponding session in the business level. |
java.lang.String |
getRequestURL()
Gets the requested by the client URL. |
UIState |
getUIState()
Gets the UI state bean instance from the session. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static RequestProcessingContext get(javax.servlet.http.HttpServletRequest request)
request
- HTTP request to lookup context for.
null
, which
should never happen if the request went through the CB2 request
processor.public ApplicationContext getApplicationContext()
public BLManager getBLManager()
public java.lang.String getRequestURL()
public java.lang.String getBLSessionId()
public UIState getUIState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |