public class JerseyCompletionStageRxInvoker extends Object implements CompletionStageRxInvoker
CompletionStage.
This class allows for using InvocationCallback in
Invocation.Builder.rx(JerseyCompletionStageRxInvoker.class)
requests.clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic CompletableFuture<Response> method(String name)
method in interface AsyncInvokerpublic <T> CompletableFuture<T> method(String name, Class<T> responseType)
method in interface AsyncInvokerpublic <T> CompletableFuture<T> method(String name, GenericType<T> responseType)
method in interface AsyncInvokerpublic <T> CompletableFuture<T> method(String name, InvocationCallback<T> callback)
method in interface AsyncInvokerpublic CompletableFuture<Response> method(String name, Entity<?> entity)
method in interface AsyncInvokerpublic <T> CompletableFuture<T> method(String name, Entity<?> entity, Class<T> responseType)
method in interface AsyncInvokerpublic <T> CompletableFuture<T> method(String name, Entity<?> entity, GenericType<T> responseType)
method in interface AsyncInvokerpublic <T> CompletableFuture<T> method(String name, Entity<?> entity, InvocationCallback<T> callback)
method in interface AsyncInvokerpublic <R> CompletableFuture<R> get(InvocationCallback<R> callback)
get in interface AsyncInvokerpublic <R> CompletableFuture<R> put(Entity<?> entity, InvocationCallback<R> callback)
put in interface AsyncInvokerpublic <R> CompletableFuture<R> post(Entity<?> entity, InvocationCallback<R> callback)
post in interface AsyncInvokerpublic <R> CompletableFuture<R> delete(InvocationCallback<R> callback)
delete in interface AsyncInvokerpublic CompletableFuture<Response> head(InvocationCallback<Response> callback)
head in interface AsyncInvokerpublic <R> CompletableFuture<R> options(InvocationCallback<R> callback)
options in interface AsyncInvokerpublic <R> CompletableFuture<R> trace(InvocationCallback<R> callback)
trace in interface AsyncInvokerpublic T get()
public <R> T get(GenericType<R> responseType)
public <R> T put(Entity<?> entity, GenericType<R> type)
public <R> T post(Entity<?> entity, GenericType<R> type)
public T delete()
public <R> T delete(GenericType<R> responseType)
public T head()
public T options()
public <R> T options(GenericType<R> responseType)
public T trace()
public <R> T trace(GenericType<R> responseType)
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.