Modifier and Type | Method and Description |
---|---|
com.abiquo.model.transport.AcceptedRequestDto<String> |
ReturnTaskReferenceOrNull.apply(HttpResponse from) |
protected abstract T |
ReturnMovedResource.getMovedEntity(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
protected com.abiquo.server.core.infrastructure.storage.VolumeManagementDto |
ReturnMovedVolume.getMovedEntity(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
AbiquoErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
AbiquoHttpClient.get(com.abiquo.model.rest.RESTLink link)
Perform a GET request to the given link.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<HttpResponse> |
AbiquoHttpAsyncClient.get(com.abiquo.model.rest.RESTLink link) |
Constructor and Description |
---|
AtmosResponseException(HttpCommand command,
HttpResponse response,
AtmosError error) |
AtmosResponseException(HttpCommand command,
HttpResponse response,
AtmosError error,
Throwable cause) |
AtmosResponseException(String message,
HttpCommand command,
HttpResponse response,
AtmosError error) |
AtmosResponseException(String message,
HttpCommand command,
HttpResponse response,
AtmosError error,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Boolean |
ReturnTrueIfGroupACLIsOtherRead.apply(HttpResponse from) |
UserMetadata |
ParseUserMetadataFromHeaders.apply(HttpResponse from) |
SystemMetadata |
ParseSystemMetadataFromHeaders.apply(HttpResponse from) |
AtmosObject |
ParseObjectFromHeadersAndHttpContent.apply(HttpResponse from)
First, calls
ParseSystemAndUserMetadataFromHeaders . |
BoundedSet<DirectoryEntry> |
ParseDirectoryListFromContentAndHeaders.apply(HttpResponse from)
parses the http response headers to create a new
BoundedSet object. |
Modifier and Type | Method and Description |
---|---|
void |
ParseAtmosErrorFromXmlContent.handleError(HttpCommand command,
HttpResponse response) |
boolean |
AtmosClientErrorRetryHandler.shouldRetryRequest(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
AtmosError |
AtmosUtils.parseAtmosErrorFromContent(HttpCommand command,
HttpResponse response,
InputStream content) |
AtmosError |
AtmosUtils.parseAtmosErrorFromContent(HttpCommand command,
HttpResponse response,
String content) |
Constructor and Description |
---|
AWSResponseException(HttpCommand command,
HttpResponse response,
AWSError error) |
AWSResponseException(HttpCommand command,
HttpResponse response,
AWSError error,
Throwable cause) |
AWSResponseException(String message,
HttpCommand command,
HttpResponse response,
AWSError error) |
AWSResponseException(String message,
HttpCommand command,
HttpResponse response,
AWSError error,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
void |
ParseAWSErrorFromXmlContent.handleError(HttpCommand command,
HttpResponse response) |
protected Exception |
ParseAWSErrorFromXmlContent.refineException(HttpCommand command,
HttpResponse response,
Exception exception,
AWSError error,
String message) |
boolean |
AWSClientErrorRetryHandler.shouldRetryRequest(HttpCommand command,
HttpResponse response) |
protected boolean |
AWSClientErrorRetryHandler.shouldRetryRequestOnError(HttpCommand command,
HttpResponse response,
AWSError error) |
Modifier and Type | Method and Description |
---|---|
String |
UploadIdFromHttpResponseViaRegex.apply(HttpResponse response) |
String |
ETagFromHttpResponseViaRegex.apply(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
AWSError |
AWSUtils.parseAWSErrorFromContent(HttpRequest request,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
String |
ParseRequestIdHeader.apply(HttpResponse from) |
Constructor and Description |
---|
AzureStorageResponseException(HttpCommand command,
HttpResponse response,
AzureStorageError error) |
AzureStorageResponseException(HttpCommand command,
HttpResponse response,
AzureStorageError error,
Throwable cause) |
AzureStorageResponseException(String message,
HttpCommand command,
HttpResponse response,
AzureStorageError error) |
AzureStorageResponseException(String message,
HttpCommand command,
HttpResponse response,
AzureStorageError error,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
void |
ParseAzureStorageErrorFromXmlContent.handleError(HttpCommand command,
HttpResponse response) |
protected Exception |
ParseAzureStorageErrorFromXmlContent.refineException(HttpCommand command,
HttpResponse response,
Exception exception,
AzureStorageError error,
String message) |
boolean |
AzureStorageClientErrorRetryHandler.shouldRetryRequest(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
AzureStorageError |
AzureStorageUtils.parseAzureStorageErrorFromContent(HttpCommand command,
HttpResponse response,
InputStream content) |
Modifier and Type | Method and Description |
---|---|
protected void |
ParseContainerPropertiesFromHeaders.addETagTo(HttpResponse from,
MutableContainerPropertiesWithMetadata metadata) |
PublicAccess |
ParsePublicAccessHeader.apply(HttpResponse from) |
ContainerProperties |
ParseContainerPropertiesFromHeaders.apply(HttpResponse from) |
MutableBlobProperties |
ParseBlobPropertiesFromHeaders.apply(HttpResponse from)
parses the http response headers to create a new
MutableBlobProperties object. |
AzureBlob |
ParseBlobFromHeadersAndHttpContent.apply(HttpResponse from) |
Modifier and Type | Method and Description |
---|---|
protected Exception |
ParseAzureBlobErrorFromXmlContent.refineException(HttpCommand command,
HttpResponse response,
Exception exception,
AzureStorageError error,
String message) |
Modifier and Type | Method and Description |
---|---|
protected void |
ParseSystemAndUserMetadataFromHeaders.addETagTo(HttpResponse from,
MutableBlobMetadata metadata) |
MutableBlobMetadata |
ParseSystemAndUserMetadataFromHeaders.apply(HttpResponse from) |
Blob |
ParseBlobFromHeadersAndHttpContent.apply(HttpResponse from) |
Modifier and Type | Method and Description |
---|---|
ContainerCDNMetadata |
ParseContainerCDNMetadataFromHeaders.apply(HttpResponse from)
parses the http response headers to create a new
ContainerCDNMetadata object. |
URI |
ParseCdnUriFromHeaders.apply(HttpResponse from)
parses the http response headers to provide the CDN URI string.
|
Modifier and Type | Method and Description |
---|---|
void |
ParseCloudServersErrorFromHttpResponse.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
SplitNewlinesAndReturnSecondField.apply(HttpResponse response) |
Set<String> |
SplitNewlines.apply(HttpResponse response) |
Payload |
ReturnPayload.apply(HttpResponse from) |
Set<VLANInfo> |
ListOfKeyValuesDelimitedByBlankLinesToVLANInfoSet.apply(HttpResponse response) |
Set<StaticIPInfo> |
ListOfKeyValuesDelimitedByBlankLinesToStaticIPInfoSet.apply(HttpResponse response) |
Set<ServerInfo> |
ListOfKeyValuesDelimitedByBlankLinesToServerInfoSet.apply(HttpResponse response) |
Set<ProfileInfo> |
ListOfKeyValuesDelimitedByBlankLinesToProfileInfoSet.apply(HttpResponse response) |
Set<DriveInfo> |
ListOfKeyValuesDelimitedByBlankLinesToDriveInfoSet.apply(HttpResponse response) |
VLANInfo |
KeyValuesDelimitedByBlankLinesToVLANInfo.apply(HttpResponse response) |
StaticIPInfo |
KeyValuesDelimitedByBlankLinesToStaticIPInfo.apply(HttpResponse response) |
ServerInfo |
KeyValuesDelimitedByBlankLinesToServerInfo.apply(HttpResponse response) |
ProfileInfo |
KeyValuesDelimitedByBlankLinesToProfileInfo.apply(HttpResponse response) |
DriveInfo |
KeyValuesDelimitedByBlankLinesToDriveInfo.apply(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
CloudSigmaErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
String |
CloudSigmaErrorHandler.parseMessage(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
ParseNamesFromHttpResponse.apply(HttpResponse response) |
LoginResponse |
ParseLoginResponseFromHttpResponse.apply(HttpResponse response) |
Map<String,String> |
ParseIdToNameFromHttpResponse.apply(HttpResponse response) |
Map.Entry<String,String> |
ParseIdToNameEntryFromHttpResponse.apply(HttpResponse response) |
Set<String> |
ParseEventTypesFromHttpResponse.apply(HttpResponse response) |
Set<AsyncJob<?>> |
ParseAsyncJobsFromHttpResponse.apply(HttpResponse response) |
AsyncJob<?> |
ParseAsyncJobFromHttpResponse.apply(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
CloudStackErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
String |
CloudStackErrorHandler.parseMessage(HttpResponse response) |
boolean |
InvalidateSessionAndRetryOn401AndLogoutOnClose.shouldRetryRequest(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
DeltacloudErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
String |
DeltacloudErrorHandler.parseMessage(HttpResponse response) |
boolean |
DeltacloudRedirectionRetryHandler.shouldRetryRequest(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
SplitNewlines.apply(HttpResponse response) |
Payload |
ReturnPayload.apply(HttpResponse from) |
Set<ServerInfo> |
ListOfKeyValuesDelimitedByBlankLinesToServerInfoSet.apply(HttpResponse response) |
Set<DriveInfo> |
ListOfKeyValuesDelimitedByBlankLinesToDriveInfoSet.apply(HttpResponse response) |
ServerInfo |
KeyValuesDelimitedByBlankLinesToServerInfo.apply(HttpResponse response) |
DriveInfo |
KeyValuesDelimitedByBlankLinesToDriveInfo.apply(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
ElasticStackErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
String |
ElasticStackErrorHandler.parseMessage(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
boolean |
FGCPRetryIfNotProxyAuthenticationFailureHandler.shouldRetryRequest(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
ConvertToJcloudsResponse.apply(com.google.appengine.api.urlfetch.HTTPResponse gaeResponse) |
protected HttpResponse |
GaeHttpCommandExecutorService.convert(com.google.appengine.api.urlfetch.HTTPResponse gaeResponse) |
protected HttpResponse |
GaeHttpCommandExecutorService.invoke(com.google.appengine.api.urlfetch.HTTPRequest request) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<HttpResponse> |
AsyncGaeHttpCommandExecutorService.submit(HttpCommand command) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.FluentIterable<OSTemplate> |
ParseTemplatesFromHttpResponse.apply(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
GleSYSErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
String |
GleSYSErrorHandler.parseMessage(HttpResponse response) |
Constructor and Description |
---|
GoGridResponseException(HttpCommand command,
HttpResponse response,
Set<ErrorResponse> errors) |
Modifier and Type | Method and Description |
---|---|
Map<String,Credentials> |
ParseServerNameToCredentialsMapFromJsonResponse.apply(HttpResponse arg0) |
SortedSet<Option> |
ParseOptionsFromJsonResponse.apply(HttpResponse arg0) |
SortedSet<LoadBalancer> |
ParseLoadBalancerListFromJsonResponse.apply(HttpResponse arg0) |
LoadBalancer |
ParseLoadBalancerFromJsonResponse.apply(HttpResponse arg0) |
SortedSet<Job> |
ParseJobListFromJsonResponse.apply(HttpResponse arg0) |
SortedSet<Ip> |
ParseIpListFromJsonResponse.apply(HttpResponse arg0) |
SortedSet<ServerImage> |
ParseImageListFromJsonResponse.apply(HttpResponse arg0) |
ServerImage |
ParseImageFromJsonResponse.apply(HttpResponse arg0) |
Credentials |
ParseCredentialsFromJsonResponse.apply(HttpResponse input) |
Modifier and Type | Method and Description |
---|---|
void |
GoGridErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
URI |
ParseCDNUriFromHeaders.apply(HttpResponse from)
parses the http response headers to provide the CDN URI string.
|
CDNContainer |
ParseCDNContainerFromHeaders.apply(HttpResponse from)
parses the http response headers to create a new
CDNContainer object. |
Modifier and Type | Field and Description |
---|---|
protected HttpResponse |
HttpResponseException.response |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Function<HttpResponse,T> |
TransformingHttpCommandImpl.transformer |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
HttpResponse.Builder.build() |
HttpResponse |
HttpResponseException.getResponse() |
Modifier and Type | Method and Description |
---|---|
Future<HttpResponse> |
HttpCommandExecutorService.submit(HttpCommand command)
Asks the command to build a request relevant for an endpoint that produces responses of
generic type
HttpResponse . |
Modifier and Type | Method and Description |
---|---|
T |
HttpResponse.Builder.fromHttpResponse(HttpResponse in) |
void |
HttpErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
void |
HttpUtils.logResponse(Logger logger,
HttpResponse response,
String prefix) |
void |
HttpCommandRendezvous.setResponse(HttpResponse response) |
boolean |
HttpRetryHandler.shouldRetryRequest(HttpCommand command,
HttpResponse response)
Return true if the command should be retried.
|
Modifier and Type | Method and Description |
---|---|
<T,R extends HttpRequest> |
TransformingHttpCommandExecutorServiceImpl.submit(HttpCommand command,
com.google.common.base.Function<HttpResponse,T> responseTransformer)
Submits the command and transforms the result before requested via
Future.get() . |
<T,R extends HttpRequest> |
TransformingHttpCommandExecutorService.submit(HttpCommand command,
com.google.common.base.Function<HttpResponse,T> responseTransformer)
Submits the command and transforms the result before requested via
Future.get() . |
Constructor and Description |
---|
HttpResponseException(HttpCommand command,
HttpResponse response) |
HttpResponseException(HttpCommand command,
HttpResponse response,
String content) |
HttpResponseException(HttpCommand command,
HttpResponse response,
String content,
Throwable cause) |
HttpResponseException(HttpCommand command,
HttpResponse response,
Throwable cause) |
HttpResponseException(String message,
HttpCommand command,
HttpResponse response) |
HttpResponseException(String message,
HttpCommand command,
HttpResponse response,
String content) |
HttpResponseException(String message,
HttpCommand command,
HttpResponse response,
String content,
Throwable cause) |
HttpResponseException(String message,
HttpCommand command,
HttpResponse response,
Throwable cause) |
Constructor and Description |
---|
TransformingHttpCommandImpl(TransformingHttpCommandExecutorService executorService,
HttpRequest request,
com.google.common.base.Function<HttpResponse,T> transformer) |
Modifier and Type | Method and Description |
---|---|
protected HttpResponse |
ApacheHCHttpCommandExecutorService.invoke(org.apache.http.client.methods.HttpUriRequest nativeRequest) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
ParseContentMD5FromHeaders.NoContentMD5Exception.getResponse() |
Modifier and Type | Method and Description |
---|---|
T |
ParseSax.addDetailsAndPropagate(HttpResponse response,
Exception e) |
T |
ParseSax.addDetailsAndPropagate(HttpResponse response,
Exception e,
String text) |
T |
UnwrapOnlyJsonValueInSet.apply(HttpResponse arg0) |
T |
UnwrapOnlyJsonValue.apply(HttpResponse arg0) |
Boolean |
ReturnTrueIf2xx.apply(HttpResponse from) |
String |
ReturnStringIf2xx.apply(HttpResponse from) |
InputStream |
ReturnInputStream.apply(HttpResponse from) |
Void |
ReleasePayloadAndReturn.apply(HttpResponse from) |
T |
ParseXMLWithJAXB.apply(HttpResponse from) |
URI |
ParseURIFromListOrLocationHeaderIf20x.apply(HttpResponse from) |
T |
ParseSax.apply(HttpResponse from) |
T |
ParseJson.apply(HttpResponse from)
parses the http response body to create a new
<T> . |
T |
ParseFirstJsonValueNamed.apply(HttpResponse arg0) |
String |
ParseETagHeader.apply(HttpResponse from) |
byte[] |
ParseContentMD5FromHeaders.apply(HttpResponse from) |
Constructor and Description |
---|
ParseContentMD5FromHeaders.NoContentMD5Exception(HttpRequest request,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
DelegatingErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
void |
CloseContentAndSetExceptionErrorHandler.handleError(HttpCommand command,
HttpResponse from) |
boolean |
RedirectionRetryHandler.shouldRetryRequest(HttpCommand command,
HttpResponse response) |
boolean |
DelegatingRetryHandler.shouldRetryRequest(HttpCommand command,
HttpResponse response) |
boolean |
BackoffLimitedRetryHandler.shouldRetryRequest(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
BaseHttpCommandExecutorService.HttpResponseCallable.call() |
protected HttpResponse |
JavaUrlHttpCommandExecutorService.invoke(HttpURLConnection connection) |
protected abstract HttpResponse |
BaseHttpCommandExecutorService.invoke(Q nativeRequest) |
Modifier and Type | Method and Description |
---|---|
Future<HttpResponse> |
BaseHttpCommandExecutorService.submit(HttpCommand command) |
Modifier and Type | Method and Description |
---|---|
void |
JenkinsErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
JoyentCloudErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
CinderErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
AuthenticationResponse |
ParseAuthenticationResponseFromHeaders.apply(HttpResponse from)
parses the http response headers to create a new
AuthenticationResponse object. |
Modifier and Type | Method and Description |
---|---|
ImageDetails |
ParseImageDetailsFromHeaders.apply(HttpResponse from) |
Modifier and Type | Method and Description |
---|---|
void |
GlanceErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
boolean |
RetryOnRenew.shouldRetryRequest(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
boolean |
RetryOnRenew.shouldRetryRequest(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
KeystoneErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
boolean |
RetryOnRenew.shouldRetryRequest(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
ParseNovaErrorFromHttpResponse.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
String |
ParseImageIdFromLocationHeader.apply(HttpResponse response) |
Boolean |
FieldValueResponseParsers.FieldValueResponseParser.apply(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.FluentIterable<? extends KeyPair> |
ParseKeyPairs.apply(HttpResponse response) |
com.google.common.base.Optional<Map<String,String>> |
ParseDiagnostics.apply(HttpResponse response) |
String |
OnlyMetadataValueOrNull.apply(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
NovaErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
QuantumErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
String |
ParseTemporaryUrlKeyFromHeaders.apply(HttpResponse httpResponse) |
MutableObjectInfoWithMetadata |
ParseObjectInfoFromHeaders.apply(HttpResponse from)
parses the http response headers to create a new
MutableObjectInfoWithMetadata object. |
SwiftObject |
ParseObjectFromHeadersAndHttpContent.apply(HttpResponse from) |
ContainerMetadata |
ParseContainerMetadataFromHeaders.apply(HttpResponse from) |
AccountMetadata |
ParseAccountMetadataResponseFromHeaders.apply(HttpResponse from)
parses the http response headers to create a new
AccountMetadata object. |
Modifier and Type | Method and Description |
---|---|
void |
ParseSwiftErrorFromHttpResponse.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
Account |
ParseAccountMetadataResponseFromHeaders.apply(HttpResponse from)
parses the http response headers to create a new
Account object. |
Modifier and Type | Method and Description |
---|---|
void |
SwiftErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
OpSourceServersErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
IterableWithMarker<LoadBalancer> |
ParseLoadBalancers.apply(HttpResponse arg0) |
LoadBalancer |
ParseLoadBalancer.apply(HttpResponse arg0) |
Modifier and Type | Method and Description |
---|---|
void |
ParseCloudLoadBalancersErrorFromHttpResponse.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
HttpClient.invoke(HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<HttpResponse> |
HttpAsyncClient.invoke(HttpRequest request) |
Modifier and Type | Field and Description |
---|---|
static com.google.inject.TypeLiteral<com.google.common.util.concurrent.ListenableFuture<HttpResponse>> |
RestAnnotationProcessor.futureHttpResponseLiteral |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Function<HttpResponse,?> |
RestAnnotationProcessor.createResponseParser(ParseSax.Factory parserFactory,
com.google.inject.Injector injector,
Method method,
HttpRequest request) |
static com.google.inject.Key<? extends com.google.common.base.Function<HttpResponse,?>> |
RestAnnotationProcessor.getJAXBParserKeyForMethod(Method method) |
static com.google.inject.Key<? extends com.google.common.base.Function<HttpResponse,?>> |
RestAnnotationProcessor.getJsonParserKeyForMethod(Method method) |
static com.google.inject.Key<? extends com.google.common.base.Function<HttpResponse,?>> |
RestAnnotationProcessor.getJsonParserKeyForMethodAnType(Method method,
Type returnVal) |
static com.google.inject.Key<? extends com.google.common.base.Function<HttpResponse,?>> |
RestAnnotationProcessor.getParserOrThrowException(Method method) |
static com.google.common.base.Function<HttpResponse,?> |
RestAnnotationProcessor.getTransformerForMethod(Method method,
com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
TransformingHttpCommand<?> |
AsyncRestClientProxy.Factory.create(HttpRequest request,
com.google.common.base.Function<HttpResponse,?> transformer) |
Modifier and Type | Method and Description |
---|---|
SortedSet<Server> |
ParseServersFromJsonResponse.apply(HttpResponse arg0) |
ServerInfo |
ParseServerInfoFromJsonResponse.apply(HttpResponse arg0) |
Server |
ParseServerFromJsonResponse.apply(HttpResponse arg0) |
SortedSet<PricingPlan> |
ParsePricingPlansFromJsonResponse.apply(HttpResponse arg0) |
SortedSet<Image> |
ParseImagesFromJsonResponse.apply(HttpResponse arg0) |
List<String> |
ParseDestroyResponseFromJsonResponse.apply(HttpResponse arg0) |
Modifier and Type | Method and Description |
---|---|
protected void |
ParseObjectMetadataFromHeaders.addETagTo(HttpResponse from,
MutableObjectMetadata metadata)
ETag == Content-MD5
|
MutableObjectMetadata |
ParseObjectMetadataFromHeaders.apply(HttpResponse from)
parses the http response headers to create a new
org.jclouds.s3.domain.internal.MutableObjectMetadata object. |
S3Object |
ParseObjectFromHeadersAndHttpContent.apply(HttpResponse from) |
Modifier and Type | Method and Description |
---|---|
protected Exception |
ParseS3ErrorFromXmlContent.refineException(HttpCommand command,
HttpResponse response,
Exception exception,
AWSError error,
String message) |
boolean |
S3RedirectionRetryHandler.shouldRetryRequest(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
VCloudSession |
ParseLoginResponseFromHeaders.apply(HttpResponse from)
parses the http response headers to create a new
VCloudSession object. |
Modifier and Type | Method and Description |
---|---|
void |
VPDCErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
String |
VPDCErrorHandler.parseMessage(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
ParseSlicehostErrorFromHttpResponse.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
Payload |
ParseObjectFromHeadersAndHttpContent.apply(HttpResponse from) |
Modifier and Type | Method and Description |
---|---|
void |
CDMIErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
SoftLayerErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
String |
SoftLayerErrorHandler.parseMessage(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
protected Exception |
ParseSQSErrorFromXmlContent.refineException(HttpCommand command,
HttpResponse response,
Exception exception,
AWSError error,
String message) |
boolean |
SQSErrorRetryHandler.shouldRetryRequestOnError(HttpCommand command,
HttpResponse response,
AWSError error) |
Modifier and Type | Method and Description |
---|---|
URI |
RegexQueueHandler.apply(HttpResponse response) |
MessageIdAndMD5 |
RegexMessageIdAndMD5Handler.apply(HttpResponse response) |
com.google.common.collect.FluentIterable<URI> |
RegexListQueuesResponseHandler.apply(HttpResponse response) |
Constructor and Description |
---|
VCloudResponseException(HttpCommand command,
HttpResponse response,
VCloudError error) |
VCloudResponseException(HttpCommand command,
HttpResponse response,
VCloudError error,
Throwable cause) |
VCloudResponseException(String message,
HttpCommand command,
HttpResponse response,
VCloudError error) |
VCloudResponseException(String message,
HttpCommand command,
HttpResponse response,
VCloudError error,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Task |
ParseTaskFromLocationHeader.apply(HttpResponse from) |
VCloudSession |
ParseLoginResponseFromHeaders.apply(HttpResponse from)
parses the http response headers to create a new
VCloudSession object. |
String |
ParseLoginResponseFromHeaders.parseTokenFromHeaders(HttpResponse from) |
Modifier and Type | Method and Description |
---|---|
void |
ParseTerremarkVCloudErrorFromHttpResponse.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
VCloudError |
VCloudUtils.parseErrorFromContent(HttpRequest request,
HttpResponse response) |
Constructor and Description |
---|
VCloudResponseException(HttpCommand command,
HttpResponse response,
VCloudError error) |
VCloudResponseException(HttpCommand command,
HttpResponse response,
VCloudError error,
Throwable cause) |
VCloudResponseException(String message,
HttpCommand command,
HttpResponse response,
VCloudError error) |
VCloudResponseException(String message,
HttpCommand command,
HttpResponse response,
VCloudError error,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
byte[] |
ReturnPayloadBytes.apply(HttpResponse from) |
String |
RegexValueParser.apply(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
VCloudDirectorErrorHandler.handleError(HttpCommand command,
HttpResponse response) |
boolean |
InvalidateSessionAndRetryOn401AndLogoutOnClose.shouldRetryRequest(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
SessionWithToken |
SessionWithTokenFromXMLAndHeader.apply(HttpResponse from) |
Modifier and Type | Method and Description |
---|---|
VCloudSession |
ParseLoginResponseFromHeaders.apply(HttpResponse from)
parses the http response headers to create a new
VCloudSession object. |
String |
ParseLoginResponseFromHeaders.parseTokenFromHeaders(HttpResponse from) |
Modifier and Type | Method and Description |
---|---|
void |
ParseVCloudErrorFromHttpResponse.handleError(HttpCommand command,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
VCloudError |
VCloudUtils.parseErrorFromContent(HttpRequest request,
HttpResponse response) |
Copyright © 2009-2013 jclouds. All Rights Reserved.