public abstract class ForwardingInvocationBuilder extends Object implements javax.ws.rs.client.Invocation.Builder
Constructor and Description |
---|
ForwardingInvocationBuilder() |
Modifier and Type | Method and Description |
---|---|
ForwardingInvocationBuilder |
accept(javax.ws.rs.core.MediaType... mediaTypes) |
ForwardingInvocationBuilder |
accept(String... mediaTypes) |
ForwardingInvocationBuilder |
acceptEncoding(String... encodings) |
ForwardingInvocationBuilder |
acceptLanguage(Locale... locales) |
ForwardingInvocationBuilder |
acceptLanguage(String... locales) |
javax.ws.rs.client.AsyncInvoker |
async() |
javax.ws.rs.client.Invocation |
build(String method) |
javax.ws.rs.client.Invocation |
build(String method,
javax.ws.rs.client.Entity<?> entity) |
javax.ws.rs.client.Invocation |
buildDelete() |
javax.ws.rs.client.Invocation |
buildGet() |
javax.ws.rs.client.Invocation |
buildPost(javax.ws.rs.client.Entity<?> entity) |
javax.ws.rs.client.Invocation |
buildPut(javax.ws.rs.client.Entity<?> entity) |
ForwardingInvocationBuilder |
cacheControl(javax.ws.rs.core.CacheControl cacheControl) |
ForwardingInvocationBuilder |
cookie(javax.ws.rs.core.Cookie cookie) |
ForwardingInvocationBuilder |
cookie(String name,
String value) |
abstract javax.ws.rs.client.Invocation.Builder |
delegate() |
javax.ws.rs.core.Response |
delete() |
<T> T |
delete(Class<T> responseType) |
<T> T |
delete(javax.ws.rs.core.GenericType<T> responseType) |
javax.ws.rs.core.Response |
get() |
<T> T |
get(Class<T> responseType) |
<T> T |
get(javax.ws.rs.core.GenericType<T> responseType) |
javax.ws.rs.core.Response |
head() |
ForwardingInvocationBuilder |
header(String name,
Object value) |
ForwardingInvocationBuilder |
headers(javax.ws.rs.core.MultivaluedMap<String,Object> headers) |
javax.ws.rs.core.Response |
method(String name) |
<T> T |
method(String name,
Class<T> responseType) |
javax.ws.rs.core.Response |
method(String name,
javax.ws.rs.client.Entity<?> entity) |
<T> T |
method(String name,
javax.ws.rs.client.Entity<?> entity,
Class<T> responseType) |
<T> T |
method(String name,
javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.core.GenericType<T> responseType) |
<T> T |
method(String name,
javax.ws.rs.core.GenericType<T> responseType) |
javax.ws.rs.core.Response |
options() |
<T> T |
options(Class<T> responseType) |
<T> T |
options(javax.ws.rs.core.GenericType<T> responseType) |
javax.ws.rs.core.Response |
post(javax.ws.rs.client.Entity<?> entity) |
<T> T |
post(javax.ws.rs.client.Entity<?> entity,
Class<T> responseType) |
<T> T |
post(javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.core.GenericType<T> responseType) |
ForwardingInvocationBuilder |
property(String name,
Object value) |
javax.ws.rs.core.Response |
put(javax.ws.rs.client.Entity<?> entity) |
<T> T |
put(javax.ws.rs.client.Entity<?> entity,
Class<T> responseType) |
<T> T |
put(javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.core.GenericType<T> responseType) |
javax.ws.rs.client.CompletionStageRxInvoker |
rx() |
<T extends javax.ws.rs.client.RxInvoker> |
rx(Class<T> aClass) |
javax.ws.rs.core.Response |
trace() |
<T> T |
trace(Class<T> responseType) |
<T> T |
trace(javax.ws.rs.core.GenericType<T> responseType) |
public abstract javax.ws.rs.client.Invocation.Builder delegate()
public javax.ws.rs.client.Invocation build(String method)
build
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation build(String method, javax.ws.rs.client.Entity<?> entity)
build
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation buildGet()
buildGet
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation buildDelete()
buildDelete
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation buildPost(javax.ws.rs.client.Entity<?> entity)
buildPost
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation buildPut(javax.ws.rs.client.Entity<?> entity)
buildPut
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.AsyncInvoker async()
async
in interface javax.ws.rs.client.Invocation.Builder
public ForwardingInvocationBuilder accept(String... mediaTypes)
accept
in interface javax.ws.rs.client.Invocation.Builder
public ForwardingInvocationBuilder accept(javax.ws.rs.core.MediaType... mediaTypes)
accept
in interface javax.ws.rs.client.Invocation.Builder
public ForwardingInvocationBuilder acceptLanguage(Locale... locales)
acceptLanguage
in interface javax.ws.rs.client.Invocation.Builder
public ForwardingInvocationBuilder acceptLanguage(String... locales)
acceptLanguage
in interface javax.ws.rs.client.Invocation.Builder
public ForwardingInvocationBuilder acceptEncoding(String... encodings)
acceptEncoding
in interface javax.ws.rs.client.Invocation.Builder
public ForwardingInvocationBuilder cookie(javax.ws.rs.core.Cookie cookie)
cookie
in interface javax.ws.rs.client.Invocation.Builder
public ForwardingInvocationBuilder cookie(String name, String value)
cookie
in interface javax.ws.rs.client.Invocation.Builder
public ForwardingInvocationBuilder cacheControl(javax.ws.rs.core.CacheControl cacheControl)
cacheControl
in interface javax.ws.rs.client.Invocation.Builder
public ForwardingInvocationBuilder header(String name, Object value)
header
in interface javax.ws.rs.client.Invocation.Builder
public ForwardingInvocationBuilder headers(javax.ws.rs.core.MultivaluedMap<String,Object> headers)
headers
in interface javax.ws.rs.client.Invocation.Builder
public ForwardingInvocationBuilder property(String name, Object value)
property
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.core.Response get()
get
in interface javax.ws.rs.client.SyncInvoker
public <T> T get(Class<T> responseType)
get
in interface javax.ws.rs.client.SyncInvoker
public <T> T get(javax.ws.rs.core.GenericType<T> responseType)
get
in interface javax.ws.rs.client.SyncInvoker
public javax.ws.rs.core.Response put(javax.ws.rs.client.Entity<?> entity)
put
in interface javax.ws.rs.client.SyncInvoker
public <T> T put(javax.ws.rs.client.Entity<?> entity, Class<T> responseType)
put
in interface javax.ws.rs.client.SyncInvoker
public <T> T put(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType)
put
in interface javax.ws.rs.client.SyncInvoker
public javax.ws.rs.core.Response post(javax.ws.rs.client.Entity<?> entity)
post
in interface javax.ws.rs.client.SyncInvoker
public <T> T post(javax.ws.rs.client.Entity<?> entity, Class<T> responseType)
post
in interface javax.ws.rs.client.SyncInvoker
public <T> T post(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType)
post
in interface javax.ws.rs.client.SyncInvoker
public javax.ws.rs.core.Response delete()
delete
in interface javax.ws.rs.client.SyncInvoker
public <T> T delete(Class<T> responseType)
delete
in interface javax.ws.rs.client.SyncInvoker
public <T> T delete(javax.ws.rs.core.GenericType<T> responseType)
delete
in interface javax.ws.rs.client.SyncInvoker
public javax.ws.rs.core.Response head()
head
in interface javax.ws.rs.client.SyncInvoker
public javax.ws.rs.core.Response options()
options
in interface javax.ws.rs.client.SyncInvoker
public <T> T options(Class<T> responseType)
options
in interface javax.ws.rs.client.SyncInvoker
public <T> T options(javax.ws.rs.core.GenericType<T> responseType)
options
in interface javax.ws.rs.client.SyncInvoker
public javax.ws.rs.core.Response trace()
trace
in interface javax.ws.rs.client.SyncInvoker
public <T> T trace(Class<T> responseType)
trace
in interface javax.ws.rs.client.SyncInvoker
public <T> T trace(javax.ws.rs.core.GenericType<T> responseType)
trace
in interface javax.ws.rs.client.SyncInvoker
public javax.ws.rs.core.Response method(String name)
method
in interface javax.ws.rs.client.SyncInvoker
public <T> T method(String name, Class<T> responseType)
method
in interface javax.ws.rs.client.SyncInvoker
public <T> T method(String name, javax.ws.rs.core.GenericType<T> responseType)
method
in interface javax.ws.rs.client.SyncInvoker
public javax.ws.rs.core.Response method(String name, javax.ws.rs.client.Entity<?> entity)
method
in interface javax.ws.rs.client.SyncInvoker
public <T> T method(String name, javax.ws.rs.client.Entity<?> entity, Class<T> responseType)
method
in interface javax.ws.rs.client.SyncInvoker
public <T> T method(String name, javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType)
method
in interface javax.ws.rs.client.SyncInvoker
public javax.ws.rs.client.CompletionStageRxInvoker rx()
rx
in interface javax.ws.rs.client.Invocation.Builder
public <T extends javax.ws.rs.client.RxInvoker> T rx(Class<T> aClass)
rx
in interface javax.ws.rs.client.Invocation.Builder
Copyright © 2016–2022. All rights reserved.