com.tumblr.jumblr.request
Class RequestBuilder
java.lang.Object
com.tumblr.jumblr.request.RequestBuilder
public class RequestBuilder
- extends Object
Where requests are made from
- Author:
- jc
|
Method Summary |
static org.scribe.model.OAuthRequest |
convertToMultipart(org.scribe.model.OAuthRequest request,
Map<String,?> bodyMap)
|
ResponseWrapper |
get(String path,
Map<String,?> map)
|
String |
getRedirectUrl(String path)
|
ResponseWrapper |
post(String path,
Map<String,?> bodyMap)
|
ResponseWrapper |
postMultipart(String path,
Map<String,?> bodyMap)
|
void |
setConsumer(String consumerKey,
String consumerSecret)
|
void |
setToken(String token,
String tokenSecret)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestBuilder
public RequestBuilder(JumblrClient client)
getRedirectUrl
public String getRedirectUrl(String path)
postMultipart
public ResponseWrapper postMultipart(String path,
Map<String,?> bodyMap)
throws IOException
- Throws:
IOException
post
public ResponseWrapper post(String path,
Map<String,?> bodyMap)
get
public ResponseWrapper get(String path,
Map<String,?> map)
setConsumer
public void setConsumer(String consumerKey,
String consumerSecret)
setToken
public void setToken(String token,
String tokenSecret)
convertToMultipart
public static org.scribe.model.OAuthRequest convertToMultipart(org.scribe.model.OAuthRequest request,
Map<String,?> bodyMap)
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.