@Immutable public final class OAuthWire extends Object implements com.jcabi.http.Wire
Modifier and Type | Class and Description |
---|---|
static class |
OAuthWire.OdeskApi
Odesk provider.
|
Constructor and Description |
---|
OAuthWire(com.jcabi.http.Wire wire,
String akey,
String scrt,
String tkn,
String tscrt)
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
com.jcabi.http.Response |
send(com.jcabi.http.Request req,
String home,
String method,
Collection<Map.Entry<String,String>> headers,
InputStream content,
int connect,
int read) |
public OAuthWire(com.jcabi.http.Wire wire, String akey, String scrt, String tkn, String tscrt)
wire
- Original wireakey
- App keyscrt
- App secrettkn
- OAuth access tokentscrt
- OAuth access token secret partpublic com.jcabi.http.Response send(com.jcabi.http.Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read) throws IOException
send
in interface com.jcabi.http.Wire
IOException
Copyright © 2012–2015 jcabi.com. All rights reserved.