org.apache.cxf.jaxrs.client.spec
Class ClientImpl.WebTargetImpl
java.lang.Object
org.apache.cxf.jaxrs.client.spec.ClientImpl.WebTargetImpl
- All Implemented Interfaces:
- javax.ws.rs.client.WebTarget, javax.ws.rs.core.Configurable<javax.ws.rs.client.WebTarget>
- Enclosing class:
- ClientImpl
public class ClientImpl.WebTargetImpl
- extends Object
- implements javax.ws.rs.client.WebTarget
Method Summary |
javax.ws.rs.core.Configuration |
getConfiguration()
|
URI |
getUri()
|
javax.ws.rs.core.UriBuilder |
getUriBuilder()
|
WebClient |
getWebClient()
|
javax.ws.rs.client.WebTarget |
matrixParam(String name,
Object... values)
|
javax.ws.rs.client.WebTarget |
path(String path)
|
javax.ws.rs.client.WebTarget |
property(String name,
Object value)
|
javax.ws.rs.client.WebTarget |
queryParam(String name,
Object... values)
|
javax.ws.rs.client.WebTarget |
register(Class<?> cls)
|
javax.ws.rs.client.WebTarget |
register(Class<?> cls,
Class<?>... contracts)
|
javax.ws.rs.client.WebTarget |
register(Class<?> cls,
int index)
|
javax.ws.rs.client.WebTarget |
register(Class<?> cls,
Map<Class<?>,Integer> map)
|
javax.ws.rs.client.WebTarget |
register(Object object)
|
javax.ws.rs.client.WebTarget |
register(Object object,
Class<?>... contracts)
|
javax.ws.rs.client.WebTarget |
register(Object object,
int index)
|
javax.ws.rs.client.WebTarget |
register(Object object,
Map<Class<?>,Integer> map)
|
javax.ws.rs.client.Invocation.Builder |
request()
|
javax.ws.rs.client.Invocation.Builder |
request(javax.ws.rs.core.MediaType... accept)
|
javax.ws.rs.client.Invocation.Builder |
request(String... accept)
|
javax.ws.rs.client.WebTarget |
resolveTemplate(String name,
Object value)
|
javax.ws.rs.client.WebTarget |
resolveTemplate(String name,
Object value,
boolean encodeSlash)
|
javax.ws.rs.client.WebTarget |
resolveTemplateFromEncoded(String name,
Object value)
|
javax.ws.rs.client.WebTarget |
resolveTemplates(Map<String,Object> templatesMap)
|
javax.ws.rs.client.WebTarget |
resolveTemplates(Map<String,Object> templatesMap,
boolean encodeSlash)
|
javax.ws.rs.client.WebTarget |
resolveTemplatesFromEncoded(Map<String,Object> templatesMap)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientImpl.WebTargetImpl
public ClientImpl.WebTargetImpl(javax.ws.rs.core.UriBuilder uriBuilder,
javax.ws.rs.core.Configuration config)
ClientImpl.WebTargetImpl
public ClientImpl.WebTargetImpl(javax.ws.rs.core.UriBuilder uriBuilder,
javax.ws.rs.core.Configuration config,
WebClient targetClient)
getWebClient
public WebClient getWebClient()
request
public javax.ws.rs.client.Invocation.Builder request()
- Specified by:
request
in interface javax.ws.rs.client.WebTarget
request
public javax.ws.rs.client.Invocation.Builder request(String... accept)
- Specified by:
request
in interface javax.ws.rs.client.WebTarget
request
public javax.ws.rs.client.Invocation.Builder request(javax.ws.rs.core.MediaType... accept)
- Specified by:
request
in interface javax.ws.rs.client.WebTarget
getUri
public URI getUri()
- Specified by:
getUri
in interface javax.ws.rs.client.WebTarget
getUriBuilder
public javax.ws.rs.core.UriBuilder getUriBuilder()
- Specified by:
getUriBuilder
in interface javax.ws.rs.client.WebTarget
path
public javax.ws.rs.client.WebTarget path(String path)
- Specified by:
path
in interface javax.ws.rs.client.WebTarget
queryParam
public javax.ws.rs.client.WebTarget queryParam(String name,
Object... values)
- Specified by:
queryParam
in interface javax.ws.rs.client.WebTarget
matrixParam
public javax.ws.rs.client.WebTarget matrixParam(String name,
Object... values)
- Specified by:
matrixParam
in interface javax.ws.rs.client.WebTarget
resolveTemplate
public javax.ws.rs.client.WebTarget resolveTemplate(String name,
Object value)
- Specified by:
resolveTemplate
in interface javax.ws.rs.client.WebTarget
resolveTemplate
public javax.ws.rs.client.WebTarget resolveTemplate(String name,
Object value,
boolean encodeSlash)
- Specified by:
resolveTemplate
in interface javax.ws.rs.client.WebTarget
resolveTemplateFromEncoded
public javax.ws.rs.client.WebTarget resolveTemplateFromEncoded(String name,
Object value)
- Specified by:
resolveTemplateFromEncoded
in interface javax.ws.rs.client.WebTarget
resolveTemplates
public javax.ws.rs.client.WebTarget resolveTemplates(Map<String,Object> templatesMap)
- Specified by:
resolveTemplates
in interface javax.ws.rs.client.WebTarget
resolveTemplates
public javax.ws.rs.client.WebTarget resolveTemplates(Map<String,Object> templatesMap,
boolean encodeSlash)
- Specified by:
resolveTemplates
in interface javax.ws.rs.client.WebTarget
resolveTemplatesFromEncoded
public javax.ws.rs.client.WebTarget resolveTemplatesFromEncoded(Map<String,Object> templatesMap)
- Specified by:
resolveTemplatesFromEncoded
in interface javax.ws.rs.client.WebTarget
getConfiguration
public javax.ws.rs.core.Configuration getConfiguration()
- Specified by:
getConfiguration
in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.WebTarget>
property
public javax.ws.rs.client.WebTarget property(String name,
Object value)
- Specified by:
property
in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.WebTarget>
register
public javax.ws.rs.client.WebTarget register(Class<?> cls)
- Specified by:
register
in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.WebTarget>
register
public javax.ws.rs.client.WebTarget register(Object object)
- Specified by:
register
in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.WebTarget>
register
public javax.ws.rs.client.WebTarget register(Class<?> cls,
int index)
- Specified by:
register
in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.WebTarget>
register
public javax.ws.rs.client.WebTarget register(Class<?> cls,
Class<?>... contracts)
- Specified by:
register
in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.WebTarget>
register
public javax.ws.rs.client.WebTarget register(Class<?> cls,
Map<Class<?>,Integer> map)
- Specified by:
register
in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.WebTarget>
register
public javax.ws.rs.client.WebTarget register(Object object,
int index)
- Specified by:
register
in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.WebTarget>
register
public javax.ws.rs.client.WebTarget register(Object object,
Class<?>... contracts)
- Specified by:
register
in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.WebTarget>
register
public javax.ws.rs.client.WebTarget register(Object object,
Map<Class<?>,Integer> map)
- Specified by:
register
in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.WebTarget>
Apache CXF