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,
List<com.google.common.reflect.Parameter> parameters)
Validates that method parameters are correct, according to
ParamValidators . |
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 commands when exceptions are encountered.
|
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>> |
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 |
InvokeHttpMethod.apply(Invocation in) |
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) |
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 |
InvokeHttpMethod.invoke(Invocation invocation)
invokes the HttpCommand associated with
invocation ,
parses its response , and
applies a fallback
if a Throwable is encountered. |
Object |
InvokeHttpMethod.invokeWithTimeout(Invocation invocation,
long limitNanos)
calls
InvokeHttpMethod.invoke(Invocation) , timing out after the specified time
limit. |
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-2016 The Apache Software Foundation. All Rights Reserved.