|
||||||||||
| 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(org.jboss.netty.handler.codec.http.HttpResponseStatus responseStatus)
Deprecated. |
|
ResponseToProcess(org.jboss.netty.handler.codec.http.HttpResponseStatus responseStatus,
Map<String,?> responseMap)
Deprecated. |
|
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. |
org.jboss.netty.handler.codec.http.HttpResponseStatus |
getResponseStatus()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public ResponseToProcess(org.jboss.netty.handler.codec.http.HttpResponseStatus responseStatus,
Map<String,?> responseMap)
responseStatus - the response status to returnresponseMap - the response map@Deprecated public ResponseToProcess(org.jboss.netty.handler.codec.http.HttpResponseStatus responseStatus)
responseStatus - the response status to return
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 |
|---|
@Deprecated public org.jboss.netty.handler.codec.http.HttpResponseStatus getResponseStatus()
public int getResponseCode()
public Map<String,?> getResponseMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||