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
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
includeCookiesAsParameters
public boolean includeCookiesAsParameters
ParamHandler
public ParamHandler(java.util.Properties properties)
- Constructor from properties.
Calls setProperties.
- Parameters:
properties
- Configuration properties
ParamHandler
public ParamHandler()
ParamHandler
public ParamHandler(boolean cookies)
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 handledresponse
- The HTTP response to be used.