Class InvocationBuilderWrapper
java.lang.Object
com.atlassian.bamboo.testutils.backdoor.rest.client.InvocationBuilderWrapper
- All Implemented Interfaces:
javax.ws.rs.client.Invocation.Builder
,javax.ws.rs.client.SyncInvoker
public class InvocationBuilderWrapper
extends Object
implements javax.ws.rs.client.Invocation.Builder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.client.Invocation.Builder
javax.ws.rs.client.Invocation.Builder
accept
(javax.ws.rs.core.MediaType... mediaTypes) javax.ws.rs.client.Invocation.Builder
acceptEncoding
(String... encodings) javax.ws.rs.client.Invocation.Builder
acceptLanguage
(String... locales) javax.ws.rs.client.Invocation.Builder
acceptLanguage
(Locale... locales) javax.ws.rs.client.AsyncInvoker
async()
javax.ws.rs.client.Invocation
javax.ws.rs.client.Invocation
javax.ws.rs.client.Invocation
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 cacheControl) javax.ws.rs.client.Invocation.Builder
javax.ws.rs.client.Invocation.Builder
cookie
(javax.ws.rs.core.Cookie cookie) javax.ws.rs.core.Response
delete()
<T> T
<T> T
delete
(javax.ws.rs.core.GenericType<T> responseType) javax.ws.rs.core.Response
get()
<T> T
<T> T
get
(javax.ws.rs.core.GenericType<T> responseType) javax.ws.rs.core.Response
head()
javax.ws.rs.client.Invocation.Builder
javax.ws.rs.client.Invocation.Builder
javax.ws.rs.core.Response
<T> T
javax.ws.rs.core.Response
<T> T
<T> T
method
(String name, javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType) <T> T
javax.ws.rs.core.Response
options()
<T> T
<T> T
options
(javax.ws.rs.core.GenericType<T> responseType) javax.ws.rs.core.Response
post
(javax.ws.rs.client.Entity<?> entity) <T> T
<T> T
post
(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType) javax.ws.rs.client.Invocation.Builder
javax.ws.rs.core.Response
put
(javax.ws.rs.client.Entity<?> entity) <T> T
<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>
Tjavax.ws.rs.core.Response
trace()
<T> T
<T> T
trace
(javax.ws.rs.core.GenericType<T> responseType)
-
Constructor Details
-
InvocationBuilderWrapper
public InvocationBuilderWrapper(javax.ws.rs.client.Invocation.Builder delegate)
-
-
Method Details
-
build
- Specified by:
build
in interfacejavax.ws.rs.client.Invocation.Builder
-
build
- Specified by:
build
in interfacejavax.ws.rs.client.Invocation.Builder
-
buildGet
public javax.ws.rs.client.Invocation buildGet()- Specified by:
buildGet
in interfacejavax.ws.rs.client.Invocation.Builder
-
buildDelete
public javax.ws.rs.client.Invocation buildDelete()- Specified by:
buildDelete
in interfacejavax.ws.rs.client.Invocation.Builder
-
buildPost
public javax.ws.rs.client.Invocation buildPost(javax.ws.rs.client.Entity<?> entity) - Specified by:
buildPost
in interfacejavax.ws.rs.client.Invocation.Builder
-
buildPut
public javax.ws.rs.client.Invocation buildPut(javax.ws.rs.client.Entity<?> entity) - Specified by:
buildPut
in interfacejavax.ws.rs.client.Invocation.Builder
-
async
public javax.ws.rs.client.AsyncInvoker async()- Specified by:
async
in interfacejavax.ws.rs.client.Invocation.Builder
-
accept
- Specified by:
accept
in interfacejavax.ws.rs.client.Invocation.Builder
-
accept
public javax.ws.rs.client.Invocation.Builder accept(javax.ws.rs.core.MediaType... mediaTypes) - Specified by:
accept
in interfacejavax.ws.rs.client.Invocation.Builder
-
acceptLanguage
- Specified by:
acceptLanguage
in interfacejavax.ws.rs.client.Invocation.Builder
-
acceptLanguage
- Specified by:
acceptLanguage
in interfacejavax.ws.rs.client.Invocation.Builder
-
acceptEncoding
- Specified by:
acceptEncoding
in interfacejavax.ws.rs.client.Invocation.Builder
-
cookie
public javax.ws.rs.client.Invocation.Builder cookie(javax.ws.rs.core.Cookie cookie) - Specified by:
cookie
in interfacejavax.ws.rs.client.Invocation.Builder
-
cookie
- Specified by:
cookie
in interfacejavax.ws.rs.client.Invocation.Builder
-
cacheControl
public javax.ws.rs.client.Invocation.Builder cacheControl(javax.ws.rs.core.CacheControl cacheControl) - Specified by:
cacheControl
in interfacejavax.ws.rs.client.Invocation.Builder
-
header
- Specified by:
header
in interfacejavax.ws.rs.client.Invocation.Builder
-
headers
public javax.ws.rs.client.Invocation.Builder headers(javax.ws.rs.core.MultivaluedMap<String, Object> headers) - Specified by:
headers
in interfacejavax.ws.rs.client.Invocation.Builder
-
property
- Specified by:
property
in interfacejavax.ws.rs.client.Invocation.Builder
-
rx
public javax.ws.rs.client.CompletionStageRxInvoker rx()- Specified by:
rx
in interfacejavax.ws.rs.client.Invocation.Builder
-
rx
- Specified by:
rx
in interfacejavax.ws.rs.client.Invocation.Builder
-
get
public javax.ws.rs.core.Response get()- Specified by:
get
in interfacejavax.ws.rs.client.SyncInvoker
-
get
- Specified by:
get
in interfacejavax.ws.rs.client.SyncInvoker
-
get
public <T> T get(javax.ws.rs.core.GenericType<T> responseType) - Specified by:
get
in interfacejavax.ws.rs.client.SyncInvoker
-
put
public javax.ws.rs.core.Response put(javax.ws.rs.client.Entity<?> entity) - Specified by:
put
in interfacejavax.ws.rs.client.SyncInvoker
-
put
- Specified by:
put
in interfacejavax.ws.rs.client.SyncInvoker
-
put
public <T> T put(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType) - Specified by:
put
in interfacejavax.ws.rs.client.SyncInvoker
-
post
public javax.ws.rs.core.Response post(javax.ws.rs.client.Entity<?> entity) - Specified by:
post
in interfacejavax.ws.rs.client.SyncInvoker
-
post
- Specified by:
post
in interfacejavax.ws.rs.client.SyncInvoker
-
post
public <T> T post(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType) - Specified by:
post
in interfacejavax.ws.rs.client.SyncInvoker
-
delete
public javax.ws.rs.core.Response delete()- Specified by:
delete
in interfacejavax.ws.rs.client.SyncInvoker
-
delete
- Specified by:
delete
in interfacejavax.ws.rs.client.SyncInvoker
-
delete
public <T> T delete(javax.ws.rs.core.GenericType<T> responseType) - Specified by:
delete
in interfacejavax.ws.rs.client.SyncInvoker
-
head
public javax.ws.rs.core.Response head()- Specified by:
head
in interfacejavax.ws.rs.client.SyncInvoker
-
options
public javax.ws.rs.core.Response options()- Specified by:
options
in interfacejavax.ws.rs.client.SyncInvoker
-
options
- Specified by:
options
in interfacejavax.ws.rs.client.SyncInvoker
-
options
public <T> T options(javax.ws.rs.core.GenericType<T> responseType) - Specified by:
options
in interfacejavax.ws.rs.client.SyncInvoker
-
trace
public javax.ws.rs.core.Response trace()- Specified by:
trace
in interfacejavax.ws.rs.client.SyncInvoker
-
trace
- Specified by:
trace
in interfacejavax.ws.rs.client.SyncInvoker
-
trace
public <T> T trace(javax.ws.rs.core.GenericType<T> responseType) - Specified by:
trace
in interfacejavax.ws.rs.client.SyncInvoker
-
method
- Specified by:
method
in interfacejavax.ws.rs.client.SyncInvoker
-
method
- Specified by:
method
in interfacejavax.ws.rs.client.SyncInvoker
-
method
- Specified by:
method
in interfacejavax.ws.rs.client.SyncInvoker
-
method
- Specified by:
method
in interfacejavax.ws.rs.client.SyncInvoker
-
method
- Specified by:
method
in interfacejavax.ws.rs.client.SyncInvoker
-
method
public <T> T method(String name, javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<T> responseType) - Specified by:
method
in interfacejavax.ws.rs.client.SyncInvoker
-