|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stackmob.core.rest.ProcessedAPIRequest
public class ProcessedAPIRequest
Represents an API request.
| Constructor Summary | |
|---|---|
ProcessedAPIRequest(MethodVerb verb,
String url,
String loggedInUser,
Map<String,String> params,
String appName,
int apiVersion,
String methodName,
long counter)
Create a new processed API request. |
|
| Method Summary | |
|---|---|
int |
getApiVersion()
Returns the API version number. |
String |
getAppName()
Returns the application name. |
String |
getAppUrlSafeName()
Deprecated. |
long |
getCounter()
Returns the request count. |
String |
getLoggedInUser()
Returns the logged in user. |
String |
getMethodName()
Returns the method name. |
Map<String,String> |
getParams()
The query parameters. |
String |
getUrl()
Returns the URL representing the request. |
MethodVerb |
getVerb()
Returns the the HTTP verb. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessedAPIRequest(MethodVerb verb,
String url,
String loggedInUser,
Map<String,String> params,
String appName,
int apiVersion,
String methodName,
long counter)
verb - the HTTP verb specifiedurl - the url which represents the requestapiVersion - the api version number associated with this requestparams - the query parameters of the requestappName - the name of the app this request refers tomethodName - the name of the method being called by the requestloggedInUser - if a logged in user sent the request, their username is represented herecounter - the number of requests this particular JVM instance has handled up until this request| Method Detail |
|---|
public MethodVerb getVerb()
MethodVerbpublic String getUrl()
public String getLoggedInUser()
null if the user performing the request has not logged inpublic Map<String,String> getParams()
public String getMethodName()
public String toString()
toString in class Object@Deprecated public String getAppUrlSafeName()
public String getAppName()
public int getApiVersion()
public long getCounter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||