@Override public <T> T options(Class<T> cls) { return method(HttpMethod.OPTIONS, cls); }
@Override public ReactorInvoker getRxInvoker(SyncInvoker syncInvoker, ExecutorService executorService) { return new ReactorInvokerImpl(((SyncInvokerImpl)syncInvoker).getWebClient(), executorService); } }
public SyncInvoker sync() { return new SyncInvokerImpl(this); }
@Override public ObservableRxInvoker getRxInvoker(SyncInvoker syncInvoker, ExecutorService executorService) { // TODO: At the moment we still delegate if possible to the async HTTP conduit. // Investigate if letting the RxJava thread pool deal with the sync invocation // is indeed more effective return new ObservableRxInvokerImpl(((SyncInvokerImpl)syncInvoker).getWebClient(), executorService); }
public SyncInvoker sync() { return new SyncInvokerImpl(this); }
@Override public Response post(Entity<?> entity) { return method(HttpMethod.POST, entity); }
@Override public ReactorInvoker getRxInvoker(SyncInvoker syncInvoker, ExecutorService executorService) { return new ReactorInvokerImpl(((SyncInvokerImpl)syncInvoker).getWebClient(), executorService); } }
@Override public <T> T get(GenericType<T> genericType) { return method(HttpMethod.GET, genericType); }
@Override public ObservableRxInvoker getRxInvoker(SyncInvoker syncInvoker, ExecutorService executorService) { // TODO: At the moment we still delegate if possible to the async HTTP conduit. // Investigate if letting the RxJava thread pool deal with the sync invocation // is indeed more effective return new ObservableRxInvokerImpl(((SyncInvokerImpl)syncInvoker).getWebClient(), executorService); }
@Override public Response options() { return method(HttpMethod.OPTIONS); }
@Override public Response post(Entity<?> entity) { return method(HttpMethod.POST, entity); }
@Override public <T> T delete(GenericType<T> genericType) { return method(HttpMethod.DELETE, genericType); }
@Override public <T> T post(Entity<?> entity, GenericType<T> genericType) { return method(HttpMethod.POST, entity, genericType); }
@Override public Response put(Entity<?> entity) { return method(HttpMethod.PUT, entity); }
@Override public <T> T trace(Class<T> cls) { return method("TRACE", cls); }
@Override public <T> T delete(Class<T> cls) { return method(HttpMethod.DELETE, cls); }
@Override public <T> T get(GenericType<T> genericType) { return method(HttpMethod.GET, genericType); }
@Override public Response options() { return method(HttpMethod.OPTIONS); }
@Override public <T> T options(GenericType<T> genericType) { return method(HttpMethod.OPTIONS, genericType); }
@Override public <T> T put(Entity<?> entity, GenericType<T> genericType) { return method(HttpMethod.PUT, entity, genericType); }