* Constructs an OAuth1Template.
* @param oauth10a if true this template operates against an OAuth 1.0a provider. If false, it works in OAuth 1.0 mode.
*/
public OAuth1Support(String consumerKey, String consumerSecret, String requestTokenUrl, String authorizeUrl, String accessTokenUrl, boolean oauth10a) {
super(Arrays.<HttpMessageConverter<?>> asList(
new StringHttpMessageConverter(), new FormHttpMessageConverter()));
this.consumerKey = consumerKey;
this.consumerSecret = consumerSecret;
this.requestTokenUrl = requestTokenUrl;
this.oauth10a = oauth10a;
this.authorizeUrlTemplate = new UriTemplate(authorizeUrl);