public class InvocationBuilderImpl extends Object implements javax.ws.rs.client.Invocation.Builder
Constructor and Description |
---|
InvocationBuilderImpl(WebClient webClient) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.client.Invocation.Builder |
accept(javax.ws.rs.core.MediaType... types) |
javax.ws.rs.client.Invocation.Builder |
accept(String... types) |
javax.ws.rs.client.Invocation.Builder |
acceptEncoding(String... enc) |
javax.ws.rs.client.Invocation.Builder |
acceptLanguage(Locale... lang) |
javax.ws.rs.client.Invocation.Builder |
acceptLanguage(String... lang) |
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) |
javax.ws.rs.client.Invocation.Builder |
cacheControl(javax.ws.rs.core.CacheControl control) |
javax.ws.rs.client.Invocation.Builder |
cookie(javax.ws.rs.core.Cookie cookie) |
javax.ws.rs.client.Invocation.Builder |
cookie(String name,
String value) |
javax.ws.rs.core.Response |
delete() |
<T> T |
delete(Class<T> cls) |
<T> T |
delete(javax.ws.rs.core.GenericType<T> type) |
javax.ws.rs.core.Response |
get() |
<T> T |
get(Class<T> cls) |
<T> T |
get(javax.ws.rs.core.GenericType<T> type) |
WebClient |
getWebClient() |
javax.ws.rs.core.Response |
head() |
javax.ws.rs.client.Invocation.Builder |
header(String name,
Object value) |
javax.ws.rs.client.Invocation.Builder |
headers(javax.ws.rs.core.MultivaluedMap<String,Object> headers) |
javax.ws.rs.core.Response |
method(String method) |
<T> T |
method(String method,
Class<T> cls) |
javax.ws.rs.core.Response |
method(String method,
javax.ws.rs.client.Entity<?> entity) |
<T> T |
method(String method,
javax.ws.rs.client.Entity<?> entity,
Class<T> cls) |
<T> T |
method(String method,
javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.core.GenericType<T> type) |
<T> T |
method(String method,
javax.ws.rs.core.GenericType<T> type) |
javax.ws.rs.core.Response |
options() |
<T> T |
options(Class<T> cls) |
<T> T |
options(javax.ws.rs.core.GenericType<T> type) |
javax.ws.rs.core.Response |
post(javax.ws.rs.client.Entity<?> entity) |
<T> T |
post(javax.ws.rs.client.Entity<?> entity,
Class<T> cls) |
<T> T |
post(javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.core.GenericType<T> type) |
javax.ws.rs.client.Invocation.Builder |
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> cls) |
<T> T |
put(javax.ws.rs.client.Entity<?> entity,
javax.ws.rs.core.GenericType<T> type) |
javax.ws.rs.core.Response |
trace() |
<T> T |
trace(Class<T> cls) |
<T> T |
trace(javax.ws.rs.core.GenericType<T> type) |
public InvocationBuilderImpl(WebClient webClient)
public WebClient getWebClient()
public javax.ws.rs.core.Response delete()
delete
in interface javax.ws.rs.client.SyncInvoker
public <T> T delete(Class<T> cls)
delete
in interface javax.ws.rs.client.SyncInvoker
public <T> T delete(javax.ws.rs.core.GenericType<T> type)
delete
in interface javax.ws.rs.client.SyncInvoker
public javax.ws.rs.core.Response get()
get
in interface javax.ws.rs.client.SyncInvoker
public <T> T get(Class<T> cls)
get
in interface javax.ws.rs.client.SyncInvoker
public <T> T get(javax.ws.rs.core.GenericType<T> type)
get
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 method(String method)
method
in interface javax.ws.rs.client.SyncInvoker
public <T> T method(String method, Class<T> cls)
method
in interface javax.ws.rs.client.SyncInvoker
public <T> T method(String method, javax.ws.rs.core.GenericType<T> type)
method
in interface javax.ws.rs.client.SyncInvoker
public javax.ws.rs.core.Response method(String method, javax.ws.rs.client.Entity<?> entity)
method
in interface javax.ws.rs.client.SyncInvoker
public <T> T method(String method, javax.ws.rs.client.Entity<?> entity, Class<T> cls)
method
in interface javax.ws.rs.client.SyncInvoker
public <T> T method(String method, javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> type)
method
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> cls)
options
in interface javax.ws.rs.client.SyncInvoker
public <T> T options(javax.ws.rs.core.GenericType<T> type)
options
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> cls)
post
in interface javax.ws.rs.client.SyncInvoker
public <T> T post(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> type)
post
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> cls)
put
in interface javax.ws.rs.client.SyncInvoker
public <T> T put(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> type)
put
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> cls)
trace
in interface javax.ws.rs.client.SyncInvoker
public <T> T trace(javax.ws.rs.core.GenericType<T> type)
trace
in interface javax.ws.rs.client.SyncInvoker
public javax.ws.rs.client.Invocation.Builder accept(String... types)
accept
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation.Builder accept(javax.ws.rs.core.MediaType... types)
accept
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation.Builder acceptEncoding(String... enc)
acceptEncoding
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation.Builder acceptLanguage(Locale... lang)
acceptLanguage
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation.Builder acceptLanguage(String... lang)
acceptLanguage
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation.Builder cacheControl(javax.ws.rs.core.CacheControl control)
cacheControl
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation.Builder cookie(javax.ws.rs.core.Cookie cookie)
cookie
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation.Builder cookie(String name, String value)
cookie
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation.Builder header(String name, Object value)
header
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation.Builder headers(javax.ws.rs.core.MultivaluedMap<String,Object> headers)
headers
in interface javax.ws.rs.client.Invocation.Builder
public javax.ws.rs.client.Invocation.Builder property(String name, Object value)
property
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 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 buildDelete()
buildDelete
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 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
Apache CXF