public interface RequestHolder<T> extends TestableRequestHolder
Modifier and Type | Method and Description |
---|---|
RequestHolder<T> |
addQueryParameter(java.lang.String name,
java.lang.String value)
Adds a parameter to the request query string.
|
com.google.common.util.concurrent.ListenableFuture<SphereResultRaw<T>> |
executeRequest(com.ning.http.client.AsyncCompletionHandler<SphereResultRaw<T>> onResponse)
Executes a request to a server.
|
RequestHolder<T> |
setBody(java.lang.String requestBody)
Sets a body for this request.
|
getBody, getMethod, getUrl
RequestHolder<T> addQueryParameter(java.lang.String name, java.lang.String value)
RequestHolder<T> setBody(java.lang.String requestBody)
com.google.common.util.concurrent.ListenableFuture<SphereResultRaw<T>> executeRequest(com.ning.http.client.AsyncCompletionHandler<SphereResultRaw<T>> onResponse) throws java.lang.Exception
java.lang.Exception