Package com.dropbox.core
Class DbxStandardSessionStore
- java.lang.Object
- 
- com.dropbox.core.DbxStandardSessionStore
 
- 
- All Implemented Interfaces:
- DbxSessionStore
 
 public final class DbxStandardSessionStore extends java.lang.Object implements DbxSessionStore ADbxSessionStoreimplementation that stores the value using the standardHttpSessioninterface from the Java Servlet API. Example:DbxWebAuth getDbxWebAuth(HttpServletRequest request) { HttpSession session = request.getSession(true); String key = "dropbox-auth-csrf-token"; DbxSessionStore csrfStore = new DbxStandardSessionStore(session, key); return new DbxWebAuth(..., csrfStore); }
- 
- 
Constructor SummaryConstructors Constructor Description DbxStandardSessionStore(javax.servlet.http.HttpSession session, java.lang.String key)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()java.lang.Stringget()java.lang.StringgetKey()javax.servlet.http.HttpSessiongetSession()voidset(java.lang.String value)
 
- 
- 
- 
Method Detail- 
getSessionpublic javax.servlet.http.HttpSession getSession() 
 - 
getKeypublic java.lang.String getKey() 
 - 
getpublic java.lang.String get() - Specified by:
- getin interface- DbxSessionStore
 
 - 
setpublic void set(java.lang.String value) - Specified by:
- setin interface- DbxSessionStore
 
 - 
clearpublic void clear() - Specified by:
- clearin interface- DbxSessionStore
 
 
- 
 
-