Package com.emc.object
Class AbstractJerseyClient
- java.lang.Object
-
- com.emc.object.AbstractJerseyClient
-
- Direct Known Subclasses:
S3JerseyClient
public abstract class AbstractJerseyClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectConfig
objectConfig
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractJerseyClient(ObjectConfig objectConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.sun.jersey.api.client.WebResource.Builder
buildRequest(com.sun.jersey.api.client.Client client, ObjectRequest request)
protected com.sun.jersey.api.client.ClientResponse
executeAndClose(com.sun.jersey.api.client.Client client, ObjectRequest request)
protected com.sun.jersey.api.client.ClientResponse
executeRequest(com.sun.jersey.api.client.Client client, ObjectRequest request)
protected <T> T
executeRequest(com.sun.jersey.api.client.Client client, ObjectRequest request, java.lang.Class<T> responseType)
protected void
fillResponseEntity(java.lang.Object responseEntity, com.sun.jersey.api.client.ClientResponse response)
ObjectConfig
getObjectConfig()
-
-
-
Field Detail
-
objectConfig
protected ObjectConfig objectConfig
-
-
Constructor Detail
-
AbstractJerseyClient
protected AbstractJerseyClient(ObjectConfig objectConfig)
-
-
Method Detail
-
executeAndClose
protected com.sun.jersey.api.client.ClientResponse executeAndClose(com.sun.jersey.api.client.Client client, ObjectRequest request)
-
executeRequest
protected com.sun.jersey.api.client.ClientResponse executeRequest(com.sun.jersey.api.client.Client client, ObjectRequest request)
-
executeRequest
protected <T> T executeRequest(com.sun.jersey.api.client.Client client, ObjectRequest request, java.lang.Class<T> responseType)
-
fillResponseEntity
protected void fillResponseEntity(java.lang.Object responseEntity, com.sun.jersey.api.client.ClientResponse response)
-
buildRequest
protected com.sun.jersey.api.client.WebResource.Builder buildRequest(com.sun.jersey.api.client.Client client, ObjectRequest request)
-
getObjectConfig
public ObjectConfig getObjectConfig()
-
-