com.mortbay.HTTP.Handler
Class SessionHandler
java.lang.Object
|
+--com.mortbay.HTTP.Handler.NullHandler
|
+--com.mortbay.HTTP.Handler.SessionHandler
- public class SessionHandler
- extends NullHandler
Session Handler
Implements a combinations of the original Jetty session API and
the JDK1.2 standard sessions.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SessionHandler
public SessionHandler(java.util.Properties properties)
- Constructor from properties.
Calls setProperties.
- Parameters:
properties
- Configuration properties
SessionHandler
public SessionHandler()
- Constructor.
setProperties
public void setProperties(java.util.Properties properties)
- Configure from properties.
No configuration parameters for this handler
- Overrides:
- setProperties in class NullHandler
- Parameters:
properties
- configuration.
handle
public void handle(HttpRequest request,
HttpResponse response)
throws java.lang.Exception
- Description copied from interface: HttpHandler
- Constructor
- Overrides:
- handle in class NullHandler
- Tags copied from interface: HttpHandler
- Parameters:
request
- The HTTP requests to be handledresponse
- The HTTP response to be used.
session
public static java.util.Dictionary session(javax.servlet.http.HttpServletRequest request)