|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stackmob.core.rest.ResponseToProcess
public class ResponseToProcess
Represents the response to an API request. When returned, the response map will be processed into a JSON string and returned as a proper API response by StackMob.
| Constructor Summary | |
|---|---|
ResponseToProcess(int responseCode)
Creates a new API response to process. |
|
ResponseToProcess(int responseCode,
Map<String,?> responseMap)
Creates a new API response to process. |
|
| Method Summary | |
|---|---|
int |
getResponseCode()
Returns the HTTP response code. |
Map<String,?> |
getResponseMap()
Returns the response map. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResponseToProcess(int responseCode,
Map<String,?> responseMap)
responseCode - the HTTP response coderesponseMap - the response mappublic ResponseToProcess(int responseCode)
responseCode - the HTTP response code| Method Detail |
|---|
public int getResponseCode()
public Map<String,?> getResponseMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||