Modifier and Type | Method and Description |
---|---|
<R> HttpResponse |
HttpExecutorService.execute(HttpRequest<R> request)
Executes the given request and returns the
HttpResponse result from the server |
HttpResponse |
Handle.getResponse() |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Function<HttpResponse,R> |
ExecutionOptions.getParser() |
Modifier and Type | Method and Description |
---|---|
static void |
HttpEntityHandler.closeQuietly(HttpResponse response)
Closes an HttpResponse ignoring a possible IOException
|
static <T> T |
HttpEntityHandler.handle(HttpResponse response,
Class<T> returnType,
ExecutionOptions<T> options) |
static <T> T |
HttpEntityHandler.handle(HttpResponse response,
Class<T> returnType,
ExecutionOptions<T> options,
boolean requiresVoidBodyHandling) |
void |
PropagateResponse.propagate(HttpResponse response)
Called to allow for optional exception propagation depending on the HttpResponse state
|
void |
ExecutionOptions.propagate(HttpResponse response)
If a PropagateResponse is associated with these options then it will be invoked otherwise a no-op
|
static int |
HttpEntityHandler.statusAndClose(HttpResponse response)
Returns the status code and closes the response
|
Modifier and Type | Method and Description |
---|---|
static <R> ExecutionOptions<R> |
ExecutionOptions.create(com.google.common.base.Function<HttpResponse,R> parser) |
static <R> ExecutionOptions<R> |
ExecutionOptions.create(com.google.common.base.Function<HttpResponse,R> parser,
PropagateResponse propagateResponse) |
Modifier and Type | Method and Description |
---|---|
ActionResponse |
ResponseToActionResponse.apply(HttpResponse response) |
ActionResponse |
ResponseToActionResponse.apply(HttpResponse response,
boolean returnNullIfNotMapped) |
Constructor and Description |
---|
ParseActionResponseFromJsonMap(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
<R> HttpResponse |
HttpExecutor.execute(HttpRequest<R> request)
Delegate to
HttpExecutorService.execute(HttpRequest) |
Modifier and Type | Method and Description |
---|---|
void |
PropagateOnStatus.propagate(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
DLPayload.getHttpResponse()
The HttpResponse
|
Modifier and Type | Method and Description |
---|---|
HttpResponse |
DLPayloadEntity.getHttpResponse() |
Modifier and Type | Method and Description |
---|---|
static DLPayloadEntity |
DLPayloadEntity.create(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
ActionResponse |
ToActionResponseFunction.apply(HttpResponse response) |
ActionResponse |
ToActionResponseFunction.apply(HttpResponse response,
String action) |
Modifier and Type | Method and Description |
---|---|
protected HttpResponse |
BaseComputeServices.invokeActionWithResponse(String serverId,
ServerAction action) |
Modifier and Type | Method and Description |
---|---|
Image |
ImageFromHeadersFunction.apply(HttpResponse from) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
BaseOpenStackService.Invocation.executeWithResponse() |
Modifier and Type | Method and Description |
---|---|
SwiftObject |
ParseObjectFunction.apply(HttpResponse resp) |
SwiftAccount |
ParseAccountFunction.apply(HttpResponse res) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
BaseObjectStorageService.isResponseSuccess(HttpResponse res,
int status) |
protected boolean |
BaseObjectStorageService.isResponseSuccess(HttpResponse res,
int status,
boolean closeResponse) |
Copyright © 2017. All rights reserved.