public final class OslcRestClient extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_READ_TIMEOUT |
Constructor and Description |
---|
OslcRestClient(Set<Class<?>> providers,
String uri) |
OslcRestClient(Set<Class<?>> providers,
String uri,
int timeout) |
OslcRestClient(Set<Class<?>> providers,
String uri,
String mediaType) |
OslcRestClient(Set<Class<?>> providers,
String uri,
String mediaType,
int readTimeout,
org.apache.wink.client.handlers.ClientHandler... handlers) |
OslcRestClient(Set<Class<?>> providers,
URI uri) |
OslcRestClient(Set<Class<?>> providers,
URI uri,
int timeout) |
OslcRestClient(Set<Class<?>> providers,
URI uri,
String mediaType) |
OslcRestClient(Set<Class<?>> providers,
URI uri,
String mediaType,
int readTimeout) |
Modifier and Type | Method and Description |
---|---|
<T> T |
addOslcResource(T oslcResource) |
org.apache.wink.client.ClientResponse |
addOslcResourceReturnClientResponse(Object oslcResource) |
org.apache.wink.client.Resource |
getClientResource() |
String |
getMediaType() |
<T> T |
getOslcResource(Class<T> oslcResourceClass) |
<T> T[] |
getOslcResources(Class<T[]> oslcResourceArrayClass) |
<T extends Collection<?>> |
getOslcResources(org.apache.wink.client.EntityType<T> entityType) |
Set<Class<?>> |
getProviders() |
int |
getReadTimeout() |
String |
getUri() |
org.apache.wink.client.ClientResponse |
removeOslcResourceReturnClientResponse() |
org.apache.wink.client.ClientResponse |
updateOslcResourceReturnClientResponse(Object oslcResource) |
public static final int DEFAULT_READ_TIMEOUT
public OslcRestClient(Set<Class<?>> providers, String uri, String mediaType, int readTimeout, org.apache.wink.client.handlers.ClientHandler... handlers)
public OslcRestClient(Set<Class<?>> providers, URI uri, String mediaType, int readTimeout)
public String getMediaType()
public int getReadTimeout()
public String getUri()
public org.apache.wink.client.Resource getClientResource()
public <T> T getOslcResource(Class<T> oslcResourceClass)
public <T> T[] getOslcResources(Class<T[]> oslcResourceArrayClass)
public <T extends Collection<?>> T getOslcResources(org.apache.wink.client.EntityType<T> entityType)
public <T> T addOslcResource(T oslcResource)
public org.apache.wink.client.ClientResponse addOslcResourceReturnClientResponse(Object oslcResource)
public org.apache.wink.client.ClientResponse updateOslcResourceReturnClientResponse(Object oslcResource)
public org.apache.wink.client.ClientResponse removeOslcResourceReturnClientResponse()
Copyright © 2017. All rights reserved.