|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.fe.statemachine.base.RequestManager
public class RequestManager
| Field Summary | |
|---|---|
static String |
VIEW_OVERRIDE_KEY
If this key is present in the properties the RequestManager will interpret its value as the name of a View class to use instead of the Views specified in the statechart. |
| Constructor Summary | |
|---|---|
RequestManager()
|
|
| Method Summary | |
|---|---|
static RequestContext |
buildDefaultRequestContext(IRequest request,
IResponse response,
Properties properties)
This method creates a new RequestContext based on the values given. |
static IView |
manageRequest(IRequest request,
IResponse response)
Deprecated. use manageRequest(IRequest, IResponse, Properties) |
static IView |
manageRequest(IRequest request,
IResponse response,
Properties properties)
This method calls buildDefaultRequestContext then manageRequest(RequestContext). |
static IView |
manageRequest(RequestContext requestContext)
This method is the core of the statemachine. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String VIEW_OVERRIDE_KEY
The value of this constant is "com.bankframe.fe.statemachine.base.ViewOverride".
| Constructor Detail |
|---|
public RequestManager()
| Method Detail |
|---|
public static IView manageRequest(IRequest request,
IResponse response,
Properties properties)
throws StateMachineException
manageRequest(RequestContext).
request - The IRequest containing the details of the request.response - The IResponse to be given to the Views.properties - The properties for the request. Determines the ApplicationManager and UserSession manager used, among other things.
StateMachineException - If the request cannot be processed.
public static IView manageRequest(IRequest request,
IResponse response)
throws StateMachineException
manageRequest(IRequest, IResponse, Properties)
request - The IRequest containing the details of the request.response - The IResponse to be given to the Views.
StateMachineException - If the request cannot be processed.
public static RequestContext buildDefaultRequestContext(IRequest request,
IResponse response,
Properties properties)
throws StateMachineException
request - The IRequest containing the details of the request.response - The IResponse to be given to the Views.properties - The properties for the request. Determines the ApplicationManager and UserSession manager used, among other things.
StateMachineException - Thrown if the RequestContext cannot be built.
(typically because the ApplicationManager or UserSessionManager cannot be loaded).
public static IView manageRequest(RequestContext requestContext)
throws StateMachineException
requestContext - The full context for the request to be processed.
StateMachineException - If the request cannot be processed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||