public class RequestResult extends Object
Modifier and Type | Method and Description |
---|---|
static RequestResult |
extractFrom(com.sun.jersey.api.client.ClientResponse clientResponse) |
static RequestResult |
extractFrom(Map<String,Object> batchResult) |
String |
getLocation() |
int |
getStatus() |
String |
getText() |
boolean |
isMap() |
boolean |
statusIs(javax.ws.rs.core.Response.StatusType status) |
boolean |
statusOtherThan(javax.ws.rs.core.Response.StatusType status) |
Object |
toEntity() |
Map<?,?> |
toMap() |
public static RequestResult extractFrom(com.sun.jersey.api.client.ClientResponse clientResponse)
public static RequestResult extractFrom(Map<String,Object> batchResult)
public int getStatus()
public String getLocation()
public Object toEntity()
public boolean isMap()
public Map<?,?> toMap()
public boolean statusIs(javax.ws.rs.core.Response.StatusType status)
public boolean statusOtherThan(javax.ws.rs.core.Response.StatusType status)
public String getText()
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.