org.outerj.xreporter.http
Class HttpConnectorImpl.UserAndLangHandler

java.lang.Object
  extended byorg.mortbay.http.handler.AbstractHttpHandler
      extended byorg.outerj.xreporter.http.HttpConnectorImpl.UserAndLangHandler
All Implemented Interfaces:
org.mortbay.http.HttpHandler, org.mortbay.util.LifeCycle, java.io.Serializable
Enclosing class:
HttpConnectorImpl

protected class HttpConnectorImpl.UserAndLangHandler
extends org.mortbay.http.handler.AbstractHttpHandler

Handler that checks for the presence of a user-parameter. It fetches the user object from the UserManager and stores it in the request object, so that other handlers can retrieve it. Handlers comming after the UserHandler can be sure that a User object is present in the request object.

See Also:
Serialized Form

Constructor Summary
protected HttpConnectorImpl.UserAndLangHandler()
           
 
Method Summary
 void handle(java.lang.String s, java.lang.String s1, org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response)
           
 
Methods inherited from class org.mortbay.http.handler.AbstractHttpHandler
getHttpContext, getName, handleTrace, initialize, isStarted, setName, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpConnectorImpl.UserAndLangHandler

protected HttpConnectorImpl.UserAndLangHandler()
Method Detail

handle

public void handle(java.lang.String s,
                   java.lang.String s1,
                   org.mortbay.http.HttpRequest request,
                   org.mortbay.http.HttpResponse response)
            throws org.mortbay.http.HttpException,
                   java.io.IOException
Throws:
org.mortbay.http.HttpException
java.io.IOException