: Class ParamHandler

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 ParamHandler

    java.lang.Object
      |
      +--com.mortbay.HTTP.Handler.NullHandler
            |
            +--com.mortbay.HTTP.Handler.ParamHandler

public class ParamHandler
extends NullHandler

Parameter Handler Moves form content to request parameters

Version:
  $Id: ParamHandler.java,v 2.4 2000/03/18 02:46:13 gregw Exp $
Author:
  Greg Wilkins
See Also:
  `Interface.HttpHandler`

Field Summary
`boolean` | `includeCookiesAsParameters`

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

Constructor Summary
`ParamHandler()`
`ParamHandler(boolean cookies)`
`ParamHandler(java.util.Properties properties)` Constructor from properties.

Method Summary
`void` | `handle(HttpRequest request, HttpResponse response)` Constructor
`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`

Field Detail

### includeCookiesAsParameters

    public boolean includeCookiesAsParameters

Constructor Detail

### ParamHandler

    public ParamHandler(java.util.Properties properties)

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

### ParamHandler

    public ParamHandler()

### ParamHandler

    public ParamHandler(boolean cookies)

Method Detail

### setProperties

    public void setProperties(java.util.Properties properties)

  Configure from properties. The configuration keys are:

       CookiesAsParameters - boolean, if true include cookies as request params.

  Overrides:
    setProperties in class NullHandler
  Parameters:
    `properties` - configuration.

### handle

    public void handle(HttpRequest request,
                       HttpResponse response)
                throws java.io.IOException

  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.

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