|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClientHandler
Interface that all client handlers must implement
| Method Summary | |
|---|---|
ClientResponse |
handle(ClientRequest request,
HandlerContext context)
This method is invoked for every request invocation to allow the handler to perform custom actions during the invocation. |
| Method Detail |
|---|
ClientResponse handle(ClientRequest request,
HandlerContext context)
throws Exception
request - a modifiable ClientRequest containing the request
detailscontext - the handler context
ClientResponse instance containing the response details
Exception - any exception can be thrown by a handler and it will be
caught by the underlying client implementation and wrapped in
a ClientRuntimeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||