|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.component.gae.auth.GAuthTokenSecret
public class GAuthTokenSecret
A request token secret container with marshalling/unmarshalling methods to and from a cookie.
GAuthAuthorizeBinding,
GAuthUpgradeBinding| Field Summary | |
|---|---|
static String |
COOKIE_NAME
Name of the request token secret cookie. |
| Constructor Summary | |
|---|---|
GAuthTokenSecret(String value)
Creates a new GAuthTokenSecret |
|
| Method Summary | |
|---|---|
static GAuthTokenSecret |
fromCookie(String cookies)
Create a GAuthTokenSecret from a cookies string. |
String |
getValue()
Returns the request token secret. |
String |
toCookie()
Creates a cookie from this GAuthTokenSecret. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String COOKIE_NAME
| Constructor Detail |
|---|
public GAuthTokenSecret(String value)
GAuthTokenSecret
value - request token secret.| Method Detail |
|---|
public String getValue()
public String toCookie()
GAuthTokenSecret.
public static GAuthTokenSecret fromCookie(String cookies)
GAuthTokenSecret from a cookies string.
cookies - cookies string.
GAuthTokenSecret instance or null
if there's no cookie with name COOKIE_NAME.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||