|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aetrion.flickr.RequestContext
public class RequestContext
A thread local variable used to hold contextual information used in requests. To get an instance of this class use RequestContext.getRequestContext(). The method will return a RequestContext object which is only usable within the current thread.
| Constructor Summary | |
|---|---|
RequestContext()
|
|
| Method Summary | |
|---|---|
Auth |
getAuth()
|
java.util.List |
getExtras()
Get the List of extra return values requested. |
static RequestContext |
getRequestContext()
Get the RequestContext instance for the current Thread. |
java.lang.String |
getSharedSecret()
Get a shared secret which is used for any calls which require signing. |
void |
setAuth(Auth auth)
|
void |
setExtras(java.util.List extras)
|
void |
setSharedSecret(java.lang.String sharedSecret)
Set the shared secret which is used for any calls which require signing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestContext()
| Method Detail |
|---|
public static RequestContext getRequestContext()
public Auth getAuth()
public void setAuth(Auth auth)
public java.lang.String getSharedSecret()
public void setSharedSecret(java.lang.String sharedSecret)
sharedSecret - The shared secretpublic java.util.List getExtras()
public void setExtras(java.util.List extras)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||