public interface Adapter
ProtocolHandler
Modifier and Type | Method and Description |
---|---|
boolean |
event(Request req,
Response res,
SocketStatus status) |
void |
service(Request req,
Response res)
Call the service method, and notify all listeners
|
void service(Request req, Response res) throws Exception
Exception
- if an error happens during handling of
the request. Common errors are:
boolean event(Request req, Response res, SocketStatus status) throws Exception
Exception
Copyright © 2018 JBoss by Red Hat. All rights reserved.