public interface Adapter
ProtocolHandler
Modifier and Type | Method and Description |
---|---|
boolean |
asyncDispatch(Request req,
Response res,
SocketStatus status) |
boolean |
event(Request req,
Response res,
SocketStatus status) |
java.lang.String |
getDomain()
Provide the name of the domain to use to register MBeans for conponents
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.Exception
boolean asyncDispatch(Request req, Response res, SocketStatus status) throws java.lang.Exception
java.lang.Exception
java.lang.String getDomain()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.