public interface Adapter
ProtocolHandler
Modifier and Type | Method and Description |
---|---|
boolean |
event(Request req,
Response res,
SocketStatus status) |
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
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.