public interface WebClient<T>
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the underlying client.
|
WebResponse |
delete() |
com.google.common.util.concurrent.ListenableFuture<WebResponse> |
delete(Executor executor) |
WebResponse |
get() |
com.google.common.util.concurrent.ListenableFuture<WebResponse> |
get(Executor executor) |
WebResponse |
patch(T t) |
com.google.common.util.concurrent.ListenableFuture<WebResponse> |
patch(T t,
Executor executor) |
WebResponse |
post(T t) |
com.google.common.util.concurrent.ListenableFuture<WebResponse> |
post(T t,
Executor executor) |
WebResponse |
put(T t) |
com.google.common.util.concurrent.ListenableFuture<WebResponse> |
put(T t,
Executor executor) |
WebResponse get()
WebResponse post(T t)
WebResponse put(T t)
WebResponse patch(T t)
WebResponse delete()
com.google.common.util.concurrent.ListenableFuture<WebResponse> get(Executor executor)
com.google.common.util.concurrent.ListenableFuture<WebResponse> post(T t, Executor executor)
com.google.common.util.concurrent.ListenableFuture<WebResponse> put(T t, Executor executor)
com.google.common.util.concurrent.ListenableFuture<WebResponse> patch(T t, Executor executor)
com.google.common.util.concurrent.ListenableFuture<WebResponse> delete(Executor executor)
void close()
Copyright © 2015. All Rights Reserved.