com.cinecolombia.cinecolombia.control.web
Class RequestProcessor

java.lang.Object
  |
  +--com.cinecolombia.cinecolombia.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 CinecolombiaControllerProxy

Author:
CincoSOFT
See Also:
Serialized Form
Created:
Junio 2003

Field Summary
private  javax.servlet.ServletContext context
           
private  Debug debug
           
private  RequestToEventTranslator eventTranslator
           
private  ScreenFlowManager screenManager
           
 
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, toString, wait, wait, wait
 

Field Detail

screenManager

private ScreenFlowManager screenManager

context

private javax.servlet.ServletContext context

eventTranslator

private RequestToEventTranslator eventTranslator

debug

private Debug debug
Constructor Detail

RequestProcessor

public RequestProcessor()
Empty constructor for use by the JSP engine.

Method Detail

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 CinecolombiaEventException
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:
CinecolombiaEventException