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> T
getEntity(java.lang.Class<T> returnType)
java.io.InputStream
getInputStream()
java.lang.String
header(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:
getEntity
in interfaceOpenStackResponse
-
getInputStream
public java.io.InputStream getInputStream()
- Specified by:
getInputStream
in interfaceOpenStackResponse
-
header
public java.lang.String header(java.lang.String name)
- Specified by:
header
in interfaceOpenStackResponse
-
headers
public java.util.Map<java.lang.String,java.lang.String> headers()
- Specified by:
headers
in interfaceOpenStackResponse
-
-