public class SecurityHandler extends AbstractHttpHandler
| Constructor and Description |
|---|
SecurityHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthMethod() |
void |
handle(String pathInContext,
String pathParams,
HttpRequest request,
HttpResponse response)
Handle a request.
|
void |
setAuthMethod(String method) |
void |
start()
Start the LifeCycle.
|
getHttpContext, getName, handleTrace, initialize, isStarted, setName, stop, toStringpublic String getAuthMethod()
public void setAuthMethod(String method)
public void start()
throws Exception
LifeCyclestart in interface LifeCyclestart in class AbstractHttpHandlerException - An arbitrary exception may be thrown.public void handle(String pathInContext, String pathParams, HttpRequest request, HttpResponse response) throws HttpException, IOException
HttpHandlerpathInContext - The context pathpathParams - Path parameters such as encoded Session IDrequest - The HttpRequest requestresponse - The HttpResponse responseHttpExceptionIOExceptionCopyright © 2013. All rights reserved.