Apache CXF API

org.apache.cxf.jaxrs.client.spec
Class InvocationBuilderImpl

java.lang.Object
  extended by org.apache.cxf.jaxrs.client.spec.InvocationBuilderImpl
All Implemented Interfaces:
javax.ws.rs.client.Invocation.Builder, javax.ws.rs.client.SyncInvoker

public class InvocationBuilderImpl
extends Object
implements javax.ws.rs.client.Invocation.Builder


Constructor Summary
InvocationBuilderImpl(WebClient webClient)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationBuilderImpl

public InvocationBuilderImpl(WebClient webClient)
Method Detail

getWebClient

public WebClient getWebClient()

delete

public javax.ws.rs.core.Response delete()
Specified by:
delete in interface javax.ws.rs.client.SyncInvoker

delete

public <T> T delete(Class<T> cls)
Specified by:
delete in interface javax.ws.rs.client.SyncInvoker

delete

public <T> T delete(javax.ws.rs.core.GenericType<T> type)
Specified by:
delete in interface javax.ws.rs.client.SyncInvoker

get

public javax.ws.rs.core.Response get()
Specified by:
get in interface javax.ws.rs.client.SyncInvoker

get

public <T> T get(Class<T> cls)
Specified by:
get in interface javax.ws.rs.client.SyncInvoker

get

public <T> T get(javax.ws.rs.core.GenericType<T> type)
Specified by:
get in interface javax.ws.rs.client.SyncInvoker

head

public javax.ws.rs.core.Response head()
Specified by:
head in interface javax.ws.rs.client.SyncInvoker

method

public javax.ws.rs.core.Response method(String method)
Specified by:
method in interface javax.ws.rs.client.SyncInvoker

method

public <T> T method(String method,
                    Class<T> cls)
Specified by:
method in interface javax.ws.rs.client.SyncInvoker

method

public <T> T method(String method,
                    javax.ws.rs.core.GenericType<T> type)
Specified by:
method in interface javax.ws.rs.client.SyncInvoker

method

public javax.ws.rs.core.Response method(String method,
                                        javax.ws.rs.client.Entity<?> entity)
Specified by:
method in interface javax.ws.rs.client.SyncInvoker

method

public <T> T method(String method,
                    javax.ws.rs.client.Entity<?> entity,
                    Class<T> cls)
Specified by:
method in interface javax.ws.rs.client.SyncInvoker

method

public <T> T method(String method,
                    javax.ws.rs.client.Entity<?> entity,
                    javax.ws.rs.core.GenericType<T> type)
Specified by:
method in interface javax.ws.rs.client.SyncInvoker

options

public javax.ws.rs.core.Response options()
Specified by:
options in interface javax.ws.rs.client.SyncInvoker

options

public <T> T options(Class<T> cls)
Specified by:
options in interface javax.ws.rs.client.SyncInvoker

options

public <T> T options(javax.ws.rs.core.GenericType<T> type)
Specified by:
options in interface javax.ws.rs.client.SyncInvoker

post

public javax.ws.rs.core.Response post(javax.ws.rs.client.Entity<?> entity)
Specified by:
post in interface javax.ws.rs.client.SyncInvoker

post

public <T> T post(javax.ws.rs.client.Entity<?> entity,
                  Class<T> cls)
Specified by:
post in interface javax.ws.rs.client.SyncInvoker

post

public <T> T post(javax.ws.rs.client.Entity<?> entity,
                  javax.ws.rs.core.GenericType<T> type)
Specified by:
post in interface javax.ws.rs.client.SyncInvoker

put

public javax.ws.rs.core.Response put(javax.ws.rs.client.Entity<?> entity)
Specified by:
put in interface javax.ws.rs.client.SyncInvoker

put

public <T> T put(javax.ws.rs.client.Entity<?> entity,
                 Class<T> cls)
Specified by:
put in interface javax.ws.rs.client.SyncInvoker

put

public <T> T put(javax.ws.rs.client.Entity<?> entity,
                 javax.ws.rs.core.GenericType<T> type)
Specified by:
put in interface javax.ws.rs.client.SyncInvoker

trace

public javax.ws.rs.core.Response trace()
Specified by:
trace in interface javax.ws.rs.client.SyncInvoker

trace

public <T> T trace(Class<T> cls)
Specified by:
trace in interface javax.ws.rs.client.SyncInvoker

trace

public <T> T trace(javax.ws.rs.core.GenericType<T> type)
Specified by:
trace in interface javax.ws.rs.client.SyncInvoker

accept

public javax.ws.rs.client.Invocation.Builder accept(String... types)
Specified by:
accept in interface javax.ws.rs.client.Invocation.Builder

accept

public javax.ws.rs.client.Invocation.Builder accept(javax.ws.rs.core.MediaType... types)
Specified by:
accept in interface javax.ws.rs.client.Invocation.Builder

acceptEncoding

public javax.ws.rs.client.Invocation.Builder acceptEncoding(String... enc)
Specified by:
acceptEncoding in interface javax.ws.rs.client.Invocation.Builder

acceptLanguage

public javax.ws.rs.client.Invocation.Builder acceptLanguage(Locale... lang)
Specified by:
acceptLanguage in interface javax.ws.rs.client.Invocation.Builder

acceptLanguage

public javax.ws.rs.client.Invocation.Builder acceptLanguage(String... lang)
Specified by:
acceptLanguage in interface javax.ws.rs.client.Invocation.Builder

cacheControl

public javax.ws.rs.client.Invocation.Builder cacheControl(javax.ws.rs.core.CacheControl control)
Specified by:
cacheControl in interface javax.ws.rs.client.Invocation.Builder

cookie

public javax.ws.rs.client.Invocation.Builder cookie(javax.ws.rs.core.Cookie cookie)
Specified by:
cookie in interface javax.ws.rs.client.Invocation.Builder

cookie

public javax.ws.rs.client.Invocation.Builder cookie(String name,
                                                    String value)
Specified by:
cookie in interface javax.ws.rs.client.Invocation.Builder

header

public javax.ws.rs.client.Invocation.Builder header(String name,
                                                    Object value)
Specified by:
header in interface javax.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 interface javax.ws.rs.client.Invocation.Builder

property

public javax.ws.rs.client.Invocation.Builder property(String name,
                                                      Object value)
Specified by:
property in interface javax.ws.rs.client.Invocation.Builder

async

public javax.ws.rs.client.AsyncInvoker async()
Specified by:
async in interface javax.ws.rs.client.Invocation.Builder

build

public javax.ws.rs.client.Invocation build(String method)
Specified by:
build in interface javax.ws.rs.client.Invocation.Builder

build

public javax.ws.rs.client.Invocation build(String method,
                                           javax.ws.rs.client.Entity<?> entity)
Specified by:
build in interface javax.ws.rs.client.Invocation.Builder

buildDelete

public javax.ws.rs.client.Invocation buildDelete()
Specified by:
buildDelete in interface javax.ws.rs.client.Invocation.Builder

buildGet

public javax.ws.rs.client.Invocation buildGet()
Specified by:
buildGet in interface javax.ws.rs.client.Invocation.Builder

buildPost

public javax.ws.rs.client.Invocation buildPost(javax.ws.rs.client.Entity<?> entity)
Specified by:
buildPost in interface javax.ws.rs.client.Invocation.Builder

buildPut

public javax.ws.rs.client.Invocation buildPut(javax.ws.rs.client.Entity<?> entity)
Specified by:
buildPut in interface javax.ws.rs.client.Invocation.Builder

Apache CXF API

Apache CXF