@VirtualHost interface TempAuthApi extends Closeable { @Named("TempAuth") @GET @Consumes @ResponseParser(AdaptTempAuthResponseToAccess.class) Access auth(@BinderParam(TempAuthBinder.class) Credentials credentials); }
@VirtualHost interface TempAuthApi extends Closeable { @Named("TempAuth") @GET @Consumes @ResponseParser(AdaptTempAuthResponseToAccess.class) Access auth(@BinderParam(TempAuthBinder.class) Credentials credentials); }
@VirtualHost interface TempAuthApi extends Closeable { @Named("TempAuth") @GET @Consumes @ResponseParser(AdaptTempAuthResponseToAccess.class) Access auth(@BinderParam(TempAuthBinder.class) Credentials credentials); }
/** * Provides access to Rackspace resources via their REST API. * <p/> * * @see <a href="http://docs.rackspacecloud.com/servers/api/cs-devguide-latest.pdf" /> * @author Adrian Cole */ @Path("/v{" + Constants.PROPERTY_API_VERSION + "}") @VirtualHost public interface OpenStackAuthAsyncClient { @GET @Consumes @ResponseParser(ParseAuthenticationResponseFromHeaders.class) ListenableFuture<AuthenticationResponse> authenticate(@HeaderParam(AuthHeaders.AUTH_USER) String user, @HeaderParam(AuthHeaders.AUTH_KEY) String key); @GET @Consumes @ResponseParser(ParseAuthenticationResponseFromHeaders.class) ListenableFuture<AuthenticationResponse> authenticateStorage(@HeaderParam(AuthHeaders.STORAGE_USER) String user, @HeaderParam(AuthHeaders.STORAGE_PASS) String key); }
/** * @see S3Client#listOwnedBuckets */ @Named("ListAllMyBuckets") @GET @XMLResponseParser(ListAllMyBucketsHandler.class) @Path("/") @VirtualHost ListenableFuture<? extends Set<BucketMetadata>> listOwnedBuckets();
/** * @see S3Client#listOwnedBuckets */ @GET @XMLResponseParser(ListAllMyBucketsHandler.class) @Path("/") @VirtualHost ListenableFuture<? extends Set<BucketMetadata>> listOwnedBuckets();
/** * Returns a list of all of the buckets owned by the authenticated sender of the request. * * @return list of all of the buckets owned by the authenticated sender of the request. */ @Named("ListAllMyBuckets") @GET @XMLResponseParser(ListAllMyBucketsHandler.class) @Path("/") @VirtualHost Set<BucketMetadata> listOwnedBuckets();
/** * @see S3Client#listOwnedBuckets */ @Named("ListAllMyBuckets") @GET @XMLResponseParser(ListAllMyBucketsHandler.class) @Path("/") @VirtualHost ListenableFuture<? extends Set<BucketMetadata>> listOwnedBuckets();
/** * Returns a list of all of the buckets owned by the authenticated sender of the request. * * @return list of all of the buckets owned by the authenticated sender of the request. */ @Named("ListAllMyBuckets") @GET @XMLResponseParser(ListAllMyBucketsHandler.class) @Path("/") @VirtualHost Set<BucketMetadata> listOwnedBuckets();
/** * Returns a list of all of the buckets owned by the authenticated sender of the request. * * @return list of all of the buckets owned by the authenticated sender of the request. */ @Named("ListAllMyBuckets") @GET @XMLResponseParser(ListAllMyBucketsHandler.class) @Path("/") @VirtualHost Set<BucketMetadata> listOwnedBuckets();
@GET @Path("/{id}") @VirtualHost public ListenableFuture<String> get(@PathParam("id") String id, String foo) { return null; } }
@GET @VirtualHost @Path("/{id}") ListenableFuture<String> get(@PathParam("id") String id, HttpRequestOptions options);
@GET @Path("/{id}") @VirtualHost ListenableFuture<String> get(@PathParam("id") String id, String foo);
@GET @VirtualHost @Path("/{id}") ListenableFuture<String> get(@PathParam("id") String id, HttpRequestOptions... options);
@PUT @Path("/{id}") @VirtualHost ListenableFuture<String> putOptions(@PathParam("id") String id, HttpRequestOptions options);
@GET @Path("/{id}") @VirtualHost public String get(@PathParam("id") String id, String foo) { return null; } }
@PUT @Path("/{id}") @VirtualHost String putOptions(@PathParam("id") String id, HttpRequestOptions options);
@GET @Path("/{id}") @VirtualHost String get(@PathParam("id") String id, String foo);
@GET @VirtualHost @Path("/{id}") String get(@PathParam("id") String id, HttpRequestOptions options);
@GET @VirtualHost @Path("/{id}") String get(@PathParam("id") String id, HttpRequestOptions... options);