public interface OpenStackResponse
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getEntity(Class<T> returnType)
This method maps the entity returned in the response to an instance of the class indicated.
|
<T> T |
getErrorEntity(Class<T> returnType) |
InputStream |
getInputStream() |
int |
getStatus() |
String |
header(String name) |
Map<String,String> |
headers() |
<T> T getEntity(Class<T> returnType) throws OpenStackResponseException
returnType - The type of object to be returned.OpenStackResponseException - If the entity cannot be mapped because the entity was not found, or there was some form of server
internal error and no entity exists.<T> T getErrorEntity(Class<T> returnType)
InputStream getInputStream()
int getStatus()
Copyright © 2012–2017. All rights reserved.