Package com.woorea.openstack.connector
Class RESTEasyResponse
- java.lang.Object
-
- com.woorea.openstack.connector.RESTEasyResponse
-
- All Implemented Interfaces:
OpenStackResponse
public class RESTEasyResponse extends Object implements OpenStackResponse
-
-
Constructor Summary
Constructors Constructor Description RESTEasyResponse(org.jboss.resteasy.client.ClientRequest client, org.jboss.resteasy.client.ClientResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TgetEntity(Class<T> returnType)InputStreamgetInputStream()Stringheader(String name)Map<String,String>headers()
-
-
-
Method Detail
-
getEntity
public <T> T getEntity(Class<T> returnType)
- Specified by:
getEntityin interfaceOpenStackResponse
-
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStreamin interfaceOpenStackResponse
-
header
public String header(String name)
- Specified by:
headerin interfaceOpenStackResponse
-
headers
public Map<String,String> headers()
- Specified by:
headersin interfaceOpenStackResponse
-
-