|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dyuproject.oauth.ConsumerContext
public final class ConsumerContext
ConsumerContext - contains all necessary objects to operate on oauth procedures.
Constructor Summary | |
---|---|
ConsumerContext(HttpConnector httpConnector,
NonceAndTimestamp nonceAndTimestamp,
Map<String,Endpoint> endpoints)
|
Method Summary | |
---|---|
ConsumerContext |
addEndpoint(Endpoint ep)
Adds an Endpoint to this context. |
Endpoint |
getEndpoint(String domain)
Gets an endpoint from this context from the given domain . |
HttpConnector |
getHttpConnector()
Gets the http connector. |
NonceAndTimestamp |
getNonceAndTimestamp()
Gets the nonce and timestamp generator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsumerContext(HttpConnector httpConnector, NonceAndTimestamp nonceAndTimestamp, Map<String,Endpoint> endpoints)
Method Detail |
---|
public HttpConnector getHttpConnector()
public NonceAndTimestamp getNonceAndTimestamp()
public ConsumerContext addEndpoint(Endpoint ep)
public Endpoint getEndpoint(String domain)
domain
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |