com.missiondata.oss.lakeshore
Class HandlerContext

java.lang.Object
  extended bycom.missiondata.oss.lakeshore.HandlerContext
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionBindingListener

public class HandlerContext
extends java.lang.Object
implements javax.servlet.http.HttpSessionBindingListener


Constructor Summary
HandlerContext(java.lang.String baseUri, java.lang.String rendererClassName, java.lang.String applicationName, boolean trapBack)
           
 
Method Summary
 java.lang.String buildUri(java.lang.String pathInfo)
           
 void executeCallBack(CallBack callBack, java.lang.String value)
           
 RequestHandler getRequestHandler(java.lang.String key)
           
 void handleRequest(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, javax.servlet.ServletContext servletContext)
           
 Renderer newRenderer(RequestHandler requestHandler)
           
 java.lang.String registerRequestHander(RequestHandler requestHandler)
           
 java.lang.String registerRequestHander(RequestHandler requestHandler, java.lang.String key)
           
 java.lang.String registerStaticRequestHandler(java.lang.String name)
           
 void unregisterRequestHandler(java.lang.String uri)
           
 void valueBound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
           
 void valueUnbound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerContext

public HandlerContext(java.lang.String baseUri,
                      java.lang.String rendererClassName,
                      java.lang.String applicationName,
                      boolean trapBack)
Method Detail

buildUri

public java.lang.String buildUri(java.lang.String pathInfo)

newRenderer

public Renderer newRenderer(RequestHandler requestHandler)

valueBound

public void valueBound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
Specified by:
valueBound in interface javax.servlet.http.HttpSessionBindingListener

valueUnbound

public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
Specified by:
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener

executeCallBack

public void executeCallBack(CallBack callBack,
                            java.lang.String value)

handleRequest

public void handleRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
                          javax.servlet.http.HttpServletResponse httpServletResponse,
                          javax.servlet.ServletContext servletContext)
                   throws java.io.IOException
Throws:
java.io.IOException

registerRequestHander

public java.lang.String registerRequestHander(RequestHandler requestHandler)

registerRequestHander

public java.lang.String registerRequestHander(RequestHandler requestHandler,
                                              java.lang.String key)

registerStaticRequestHandler

public java.lang.String registerStaticRequestHandler(java.lang.String name)

unregisterRequestHandler

public void unregisterRequestHandler(java.lang.String uri)

getRequestHandler

public RequestHandler getRequestHandler(java.lang.String key)