public interface Adapter
ProtocolHandler| Modifier and Type | Method and Description | 
|---|---|
| boolean | asyncDispatch(Request req,
Response res,
SocketStatus status) | 
| void | checkRecycled(Request req,
Response res)Assert that request and response have been recycled. | 
| void | errorDispatch(Request request,
Response response) | 
| boolean | event(Request req,
Response res,
SocketStatus status) | 
| java.lang.String | getDomain()Provide the name of the domain to use to register MBeans for components
associated with the connector. | 
| void | log(Request req,
Response res,
long time) | 
| void | service(Request req,
Response res)Call the service method, and notify all listeners | 
void service(Request req, Response res) throws java.lang.Exception
java.lang.Exception - if an error happens during handling of
the request. Common errors are:
boolean event(Request req, Response res, SocketStatus status) throws java.lang.Exception
java.lang.Exceptionboolean asyncDispatch(Request req, Response res, SocketStatus status) throws java.lang.Exception
java.lang.Exceptionvoid checkRecycled(Request req, Response res)
req - Requestres - Responsejava.lang.String getDomain()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.