|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.entitybroker.util.EntityResponse
public class EntityResponse
This is here to contain the information we get back from an entity (http) request fired
by the EntityBroker.fireEntityRequest(String, String, String, Map, Object) method
This object and the data in it should be considered immutable
| Field Summary | |
|---|---|
String |
responseBody
the body of the response |
int |
responseCode
The http response code |
Map<String,String[]> |
responseHeaders
The map of the response headers, this may be null |
String |
responseMessage
The response message |
| Constructor Summary | |
|---|---|
EntityResponse(int responseCode,
String responseMessage,
String responseBody,
Map<String,String[]> responseHeaders)
|
|
| Method Summary | |
|---|---|
String |
getResponseBody()
|
int |
getResponseCode()
|
Map<String,String[]> |
getResponseHeaders()
|
String |
getResponseMessage()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int responseCode
public String responseMessage
public String responseBody
public Map<String,String[]> responseHeaders
| Constructor Detail |
|---|
public EntityResponse(int responseCode,
String responseMessage,
String responseBody,
Map<String,String[]> responseHeaders)
| Method Detail |
|---|
public int getResponseCode()
public String getResponseMessage()
public String getResponseBody()
public Map<String,String[]> getResponseHeaders()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||