public interface ClientHandler
Modifier and Type | Method and Description |
---|---|
ClientResponse |
handle(ClientRequest cr)
Handle a HTTP request as a
ClientRequest and return the HTTP
response as a ClientResponse . |
ClientResponse handle(ClientRequest cr) throws ClientHandlerException
ClientRequest
and return the HTTP
response as a ClientResponse
.cr
- the HTTP request.ClientHandlerException
- if the client
handler fails to process the request or response.Copyright © 2016 Oracle Corporation. All Rights Reserved.