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) | 
| 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 Exception
req - The request objectres - The response objectException - if an error happens during handling of
   the request. Common errors are:
   boolean event(Request req, Response res, SocketStatus status) throws Exception
Exceptionboolean asyncDispatch(Request req, Response res, SocketStatus status) throws Exception
Exceptionvoid checkRecycled(Request req, Response res)
req - Requestres - ResponseString getDomain()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.