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, toString
public String getAuthMethod()
public void setAuthMethod(String method)
public void start() throws Exception
LifeCycle
start
in interface LifeCycle
start
in class AbstractHttpHandler
Exception
- An arbitrary exception may be thrown.public void handle(String pathInContext, String pathParams, HttpRequest request, HttpResponse response) throws HttpException, IOException
HttpHandler
pathInContext
- The context pathpathParams
- Path parameters such as encoded Session IDrequest
- The HttpRequest requestresponse
- The HttpResponse responseHttpException
IOException
Copyright © 2016. All Rights Reserved.