public interface Client extends Closeable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Client.ClientCallback
Callback clients can use to return data about the request
|
static interface |
Client.ContentCallback
Callback used to pass response body
|
| Modifier and Type | Method and Description |
|---|---|
default void |
close()
Release resources that this client currently has open, if any
|
void |
request(SerializedRequest request,
Client.ClientCallback callback) |
void request(SerializedRequest request, Client.ClientCallback callback)
default void close()
throws IOException
No further methods can be called on the client after this is invoked.
close in interface AutoCloseableclose in interface CloseableIOExceptionCopyright © 2018. All rights reserved.