|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vmware.vcloud.sdk.Response
public class Response
Helper class for the RestUtil.
| Constructor Summary | |
|---|---|
Response()
|
|
| Method Summary | ||
|---|---|---|
|
getResource()
Unmarshalls the response |
|
void |
handleUnExpectedResponse()
This method should be used if un-expected HTTP response is received. |
|
boolean |
isExpected(int expectedStatusCode)
Checks for expected return HTTP status code |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Response()
| Method Detail |
|---|
public boolean isExpected(int expectedStatusCode)
expectedStatusCode -
public <T> T getResource()
throws VCloudException
VCloudException
public void handleUnExpectedResponse()
throws VCloudException
VCloudException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||