: Class SessionHandler

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Fields inherited from class com.mortbay.HTTP.Handler.NullHandler
`httpServer`

Constructor Summary
`SessionHandler()` Constructor.
`SessionHandler(java.util.Properties properties)` Constructor from properties.

Method Summary
`void` | `handle(HttpRequest request, HttpResponse response)` Constructor
`static java.util.Dictionary` | `session(javax.servlet.http.HttpServletRequest request)`
`void` | `setProperties(java.util.Properties properties)` Configure from properties.

Methods inherited from class com.mortbay.HTTP.Handler.NullHandler
`destroy, getProperties, servlet, servletNames, setServer, translate`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SessionHandler

    public SessionHandler(java.util.Properties properties)

  Constructor from properties. Calls setProperties.
  Parameters:
    `properties` - Configuration properties

### SessionHandler

    public SessionHandler()

  Constructor.

Method Detail

### 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 handled
    `response` - The HTTP response to be used.

### session

    public static java.util.Dictionary session(javax.servlet.http.HttpServletRequest request)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD