com.missiondata.oss.lakeshore.requesthandler
Class ApplicationRequestHandler
java.lang.Object
com.missiondata.oss.lakeshore.requesthandler.RenderableRequestHandler
com.missiondata.oss.lakeshore.requesthandler.ApplicationRequestHandler
- All Implemented Interfaces:
- RequestHandler
- public class ApplicationRequestHandler
- extends RenderableRequestHandler
Handles requests for the main application that is running.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationRequestHandler
public ApplicationRequestHandler(HandlerContext handlerContext,
Controller application,
boolean trapBack)
getApplication
public Controller getApplication()
handleRequest
public void handleRequest(Request request)
registerCallBack
public java.lang.Integer registerCallBack(CallBack action)
- Specified by:
registerCallBack
in class RenderableRequestHandler
registerActionCallBack
public java.lang.Integer registerActionCallBack(CallBack action)
- Specified by:
registerActionCallBack
in class RenderableRequestHandler
registerBackActionCallBack
public void registerBackActionCallBack(CallBack action)
- Specified by:
registerBackActionCallBack
in class RenderableRequestHandler
registerDependentRequestHandler
public java.lang.String registerDependentRequestHandler(RequestHandler dependentRequestHandler)
- Specified by:
registerDependentRequestHandler
in class RenderableRequestHandler
nextId
public java.lang.String nextId()
- Specified by:
nextId
in class RenderableRequestHandler
pushPathInfo
public void pushPathInfo(java.lang.String pathInfo)
popPathInfo
public void popPathInfo()
setSessionAttribute
public void setSessionAttribute(java.lang.String key,
java.lang.Object attribute)
getSessionAttribute
public java.lang.Object getSessionAttribute(java.lang.String key)
isUserInRole
public boolean isUserInRole(java.lang.String role)
isPathInfoEmpty
public boolean isPathInfoEmpty()
getUploadedFile
public UploadedFile getUploadedFile(java.lang.String key)