com.instantbank.lettertemplate.control.web
Class RequestProcessor
java.lang.Object
|
+--com.instantbank.lettertemplate.control.web.RequestProcessor
- All Implemented Interfaces:
- java.io.Serializable
- public class RequestProcessor
- extends java.lang.Object
- implements java.io.Serializable
This class is responsible for processing all user requests and
generating necessary events to modify data which are sent to the
LetterTemplateControllerProxy
- Author:
- Instant-bank (Consuelo Franky)
- See Also:
- Serialized Form
Constructor Summary |
RequestProcessor()
Empty constructor for use by the JSP engine. |
Method Summary |
void |
init(javax.servlet.ServletContext context)
get references to some controller javabeans:
ScreenFlowManager y RequestToEventTranslator |
java.lang.Object |
processRequest(javax.servlet.http.HttpServletRequest request)
This method is the core of the RequestProcessor. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
screenManager
private ScreenFlowManager screenManager
context
private javax.servlet.ServletContext context
eventTranslator
private RequestToEventTranslator eventTranslator
debug
private Debug debug
RequestProcessor
public RequestProcessor()
- Empty constructor for use by the JSP engine.
init
public void init(javax.servlet.ServletContext context)
- get references to some controller javabeans:
ScreenFlowManager y RequestToEventTranslator
- Parameters:
context
- web context
processRequest
public java.lang.Object processRequest(javax.servlet.http.HttpServletRequest request)
throws LetterTemplateEventException
- This method is the core of the RequestProcessor. It receives all service
requests and generates the necessary update events.
- Parameters:
request
- HTTP request- Returns:
- the service answer(or the "" string when this answer is not required)
- Throws:
LetterTemplateEventException
-