|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Connector
Client transport connector contract.
| Method Summary | |
|---|---|
ClientResponse |
apply(ClientRequest request)
Synchronously process client request into a response. |
java.util.concurrent.Future<?> |
apply(ClientRequest request,
AsyncConnectorCallback callback)
Asynchronously process client request into a response. |
void |
close()
Close connector and release all it's internally associated resources. |
| Method Detail |
|---|
ClientResponse apply(ClientRequest request)
throws ClientException
apply in interface Inflector<ClientRequest,ClientResponse>request - Jersey client request to be sent.
ClientException - in case of any invocation failure.
java.util.concurrent.Future<?> apply(ClientRequest request,
AsyncConnectorCallback callback)
request - Jersey client request to be sent.callback - Jersey asynchronous connector callback to asynchronously receive
the request processing result (either a response or a failure).
void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||