public class TwitterOAuthRequestInterceptor extends Object implements org.apache.http.HttpRequestInterceptor
Modifier and Type | Field and Description |
---|---|
TwitterSecurity |
security |
Constructor and Description |
---|
TwitterOAuthRequestInterceptor(TwitterOAuthConfiguration oAuthConfiguration) |
Modifier and Type | Method and Description |
---|---|
String |
generateNonce() |
String |
generateTimestamp() |
void |
process(org.apache.http.HttpRequest httpRequest,
org.apache.http.protocol.HttpContext httpContext) |
public TwitterSecurity security
public TwitterOAuthRequestInterceptor(TwitterOAuthConfiguration oAuthConfiguration)
public String generateTimestamp()
public String generateNonce()
public void process(org.apache.http.HttpRequest httpRequest, org.apache.http.protocol.HttpContext httpContext) throws org.apache.http.HttpException, IOException
process
in interface org.apache.http.HttpRequestInterceptor
org.apache.http.HttpException
IOException
Copyright © 2018 The Apache Software Foundation. All rights reserved.