public class OAuthSingleConsumerURLConnectionAuthHandler extends OAuthAuthHandler implements SingleConsumerURLConnectionAuthHandler
| Constructor and Description |
|---|
OAuthSingleConsumerURLConnectionAuthHandler(OAuthSingleConsumerCredentialMapper credentialMapper) |
OAuthSingleConsumerURLConnectionAuthHandler(String consumerKey,
String consumerSecret) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
endorseRequest(HttpURLConnection conn)
"Signs" or "endorses" the request.
|
OAuthConsumerCredentialMapper |
getOAuthConsumerCredentialMapper() |
OAuthSingleConsumerCredentialMapper |
getOAuthSingleConsumerCredentialMapper() |
getOAuthCredentialMappergetCredentialMapperclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCredentialMapperpublic OAuthSingleConsumerURLConnectionAuthHandler(String consumerKey, String consumerSecret)
public OAuthSingleConsumerURLConnectionAuthHandler(OAuthSingleConsumerCredentialMapper credentialMapper)
public OAuthConsumerCredentialMapper getOAuthConsumerCredentialMapper()
public OAuthSingleConsumerCredentialMapper getOAuthSingleConsumerCredentialMapper()
public boolean endorseRequest(HttpURLConnection conn) throws MiniAuthException, IOException
endorseRequest in interface SingleConsumerURLConnectionAuthHandlerconn - URLConnection. conn is an "in-out" param.MiniAuthExceptionIOExceptionCopyright © 2013. All rights reserved.