|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.agp.client.AgpToken
public class AgpToken
A security token.
Constructor Summary | |
---|---|
AgpToken()
Default constructor. |
Method Summary | |
---|---|
long |
getExpires()
Gets the expiration time of the token in milliseconds since Jan 1st, 1970. |
String |
getReferer()
Gets the referer. |
boolean |
getRequiresSSL()
Gets the status indicating if the token must be always passed over SSL. |
String |
getTokenString()
Gets the token string. |
void |
parseResponse(org.json.JSONObject jsoResponse)
Parse the JSON response. |
void |
setExpires(long expires)
Sets the expiration time of the token in milliseconds since Jan 1st, 1970. |
void |
setReferer(String referer)
Sets the referer. |
void |
setRequiresSSL(boolean requiresSSL)
Sets the status indicating if the token must be always passed over SSL. |
void |
setTokenString(String tokenString)
Sets the token string. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AgpToken()
Method Detail |
---|
public long getExpires()
public void setExpires(long expires)
expires
- expiration timepublic String getReferer()
public void setReferer(String referer)
referer
- the refererpublic boolean getRequiresSSL()
public void setRequiresSSL(boolean requiresSSL)
requiresSSL
- true if SSL is requiredpublic String getTokenString()
public void setTokenString(String tokenString)
tokenString
- the token stringpublic void parseResponse(org.json.JSONObject jsoResponse) throws Exception
jsoResponse
- the JSON response
Exception
- if an exception occurspublic String toString()
toString
in class Object
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |