Package com.woorea.openstack.connector
Class RESTEasyResponse
- java.lang.Object
-
- com.woorea.openstack.connector.RESTEasyResponse
-
- All Implemented Interfaces:
OpenStackResponse
public class RESTEasyResponse extends java.lang.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(java.lang.Class<T> returnType)java.io.InputStreamgetInputStream()java.lang.Stringheader(java.lang.String name)java.util.Map<java.lang.String,java.lang.String>headers()
-
-
-
Method Detail
-
getEntity
public <T> T getEntity(java.lang.Class<T> returnType)
- Specified by:
getEntityin interfaceOpenStackResponse
-
getInputStream
public java.io.InputStream getInputStream()
- Specified by:
getInputStreamin interfaceOpenStackResponse
-
header
public java.lang.String header(java.lang.String name)
- Specified by:
headerin interfaceOpenStackResponse
-
headers
public java.util.Map<java.lang.String,java.lang.String> headers()
- Specified by:
headersin interfaceOpenStackResponse
-
-