Constructor and Description |
---|
AtmosBlobRequestSigner(com.google.common.base.Function<Invocation,HttpRequest> processor,
BlobToObject blobToObject,
BlobToHttpGetOptions blob2ObjectGetOptions) |
Constructor and Description |
---|
AzureBlobRequestSigner(com.google.common.base.Function<Invocation,HttpRequest> processor,
BlobToAzureBlob blobToBlob,
BlobToHttpGetOptions blob2HttpGetOptions) |
Constructor and Description |
---|
HPCloudObjectStorageBlobRequestSigner(com.google.common.base.Function<Invocation,HttpRequest> processor,
BlobToObject blobToObject,
BlobToHttpGetOptions blob2HttpGetOptions,
Crypto crypto,
com.google.inject.Provider<Long> unixEpochTimestampProvider,
com.google.common.base.Supplier<Access> access,
com.google.common.base.Supplier<Credentials> creds) |
Constructor and Description |
---|
SwiftBlobSigner(BlobToObject blobToObject,
BlobToHttpGetOptions blob2HttpGetOptions,
Crypto crypto,
com.google.inject.Provider<Long> unixEpochTimestampProvider,
com.google.common.base.Supplier<String> temporaryUrlKeySupplier,
com.google.common.base.Function<Invocation,HttpRequest> processor,
Class<T> ownerType)
create a signer for this subtype of swift
|
Modifier and Type | Method and Description |
---|---|
static Invocation |
Invocation.create(com.google.common.reflect.Invokable<?,?> invokable)
invocation without arguments.
|
static Invocation |
Invocation.create(com.google.common.reflect.Invokable<?,?> invokable,
List<Object> args) |
Invocation |
InvocationSuccess.getInvocation()
what was invocation
|
Modifier and Type | Method and Description |
---|---|
static InvocationSuccess |
InvocationSuccess.create(Invocation invocation,
Object result) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
FunctionalReflection.newProxy(Class<T> enclosingType,
com.google.common.base.Function<Invocation,Object> invocationFunction) |
static <T> T |
FunctionalReflection.newProxy(com.google.common.reflect.TypeToken<T> enclosingType,
com.google.common.base.Function<Invocation,Object> invocationFunction)
Returns a proxy instance that implements
enclosingType by dispatching method invocations to
invocationFunction . |
Modifier and Type | Method and Description |
---|---|
void |
InputParamValidator.validateMethodParametersOrThrow(Invocation invocation)
Validates that method parameters are correct, according to
ParamValidators . |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.base.Function<Invocation,Invocation> |
SyncToAsyncHttpInvocationModule.sync2async(com.google.common.cache.Cache<com.google.common.reflect.Invokable<?,?>,com.google.common.reflect.Invokable<?,?>> cache)
Deprecated.
function view of above
|
protected com.google.common.base.Function<Invocation,Invocation> |
SyncToAsyncHttpInvocationModule.sync2async(com.google.common.cache.Cache<com.google.common.reflect.Invokable<?,?>,com.google.common.reflect.Invokable<?,?>> cache)
Deprecated.
function view of above
|
Modifier and Type | Method and Description |
---|---|
void |
SetCaller.enter(Invocation caller) |
String |
ReadAnnotationsAndProperties.getCommandName(Invocation invocation) |
String |
InvocationConfig.getCommandName(Invocation invocation)
command named used in logging and configuration keys.
|
Fallback<?> |
ReadAnnotationsAndProperties.getFallback(Invocation invocation) |
Fallback<?> |
InvocationConfig.getFallback(Invocation invocation)
fallback used for Sync or Async commands.
|
com.google.common.base.Optional<Long> |
ReadAnnotationsAndProperties.getTimeoutNanos(Invocation in) |
com.google.common.base.Optional<Long> |
InvocationConfig.getTimeoutNanos(Invocation in)
If this is present, Sync method calls will block up to the specified nanos
and throw an UncheckedTimeoutException.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatesToInvocationFunction<S,F extends com.google.common.base.Function<Invocation,Object>> |
class |
DelegatesToPotentiallySyncToAsyncInvocationFunction<S,F extends com.google.common.base.Function<Invocation,Object>>
Deprecated.
please use
DelegatesToInvocationFunction as
async interface will be removed in jclouds 1.7. |
Modifier and Type | Method and Description |
---|---|
Invocation |
GeneratedHttpRequest.getInvocation()
what was interpreted to create this request
|
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<Invocation> |
GeneratedHttpRequest.getCaller() |
Modifier and Type | Method and Description |
---|---|
GeneratedHttpRequest |
RestAnnotationProcessor.apply(Invocation invocation) |
Object |
InvokeSyncToAsyncHttpMethod.apply(Invocation in)
Deprecated.
|
Object |
InvokeHttpMethod.apply(Invocation in) |
Object |
InvokeAndCallGetOnFutures.apply(Invocation in)
Deprecated.
|
GeneratedHttpRequest.Builder |
GeneratedHttpRequest.Builder.caller(Invocation caller) |
protected com.google.common.base.Optional<URI> |
RestAnnotationProcessor.findEndpoint(Invocation invocation) |
protected com.google.common.base.Optional<URI> |
RestAnnotationProcessor.getEndpointFor(Invocation invocation) |
protected com.google.inject.Key<? extends com.google.common.base.Function<HttpResponse,?>> |
TransformerForRequest.getParserOrThrowException(Invocation invocation) |
com.google.common.base.Function<HttpResponse,?> |
TransformerForRequest.getTransformerForMethod(Invocation invocation,
com.google.inject.Injector injector) |
protected Object |
DelegatesToInvocationFunction.handle(Invocation invocation) |
GeneratedHttpRequest.Builder |
GeneratedHttpRequest.Builder.invocation(Invocation invocation) |
Object |
InvokeSyncToAsyncHttpMethod.invoke(Invocation invocation)
Deprecated.
invokes the HttpCommand associated with
invocation ,
parses its response , and
applies a fallback
if a Throwable is encountered. |
Object |
InvokeHttpMethod.invoke(Invocation invocation)
invokes the HttpCommand associated with
invocation ,
parses its response , and
applies a fallback
if a Throwable is encountered. |
Object |
InvokeSyncToAsyncHttpMethod.invokeWithTimeout(Invocation invocation,
long limitNanos)
Deprecated.
calls
InvokeSyncToAsyncHttpMethod.invoke(Invocation) , timing out after the specified time
limit. |
Object |
InvokeHttpMethod.invokeWithTimeout(Invocation invocation,
long limitNanos)
calls
InvokeHttpMethod.invoke(Invocation) , timing out after the specified time
limit. |
com.google.common.util.concurrent.ListenableFuture<?> |
InvokeSyncToAsyncHttpMethod.submit(Invocation invocation)
Deprecated.
submits the HttpCommand associated with
invocation ,
parses its response , and
applies a fallback
if a Throwable is encountered. |
Constructor and Description |
---|
GeneratedHttpRequest(String method,
URI endpoint,
com.google.common.collect.Multimap<String,String> headers,
Payload payload,
Iterable<HttpRequestFilter> filters,
Invocation invocation,
com.google.common.base.Optional<Invocation> caller) |
Constructor and Description |
---|
GeneratedHttpRequest(String method,
URI endpoint,
com.google.common.collect.Multimap<String,String> headers,
Payload payload,
Iterable<HttpRequestFilter> filters,
Invocation invocation,
com.google.common.base.Optional<Invocation> caller) |
Copyright © 2009-2013 jclouds. All Rights Reserved.