public class SecurityHandler extends AbstractHttpHandler
| Constructor and Description |
|---|
SecurityHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthMethod() |
void |
handle(java.lang.String pathInContext,
java.lang.String pathParams,
HttpRequest request,
HttpResponse response)
Handle a request.
|
void |
setAuthMethod(java.lang.String method) |
void |
start()
Start the LifeCycle.
|
getHttpContext, getName, handleTrace, initialize, isStarted, setName, stop, toStringpublic java.lang.String getAuthMethod()
public void setAuthMethod(java.lang.String method)
public void start()
throws java.lang.Exception
LifeCyclestart in interface LifeCyclestart in class AbstractHttpHandlerjava.lang.Exception - An arbitrary exception may be thrown.public void handle(java.lang.String pathInContext,
java.lang.String pathParams,
HttpRequest request,
HttpResponse response)
throws HttpException,
java.io.IOException
HttpHandlerpathInContext - The context pathpathParams - Path parameters such as encoded Session IDrequest - The HttpRequest requestresponse - The HttpResponse responseHttpExceptionjava.io.IOExceptionCopyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.