public class FlickrTemplate extends org.springframework.social.oauth1.AbstractOAuth1ApiBinding implements Flickr, FlickrHelper
Constructor and Description |
---|
FlickrTemplate() |
FlickrTemplate(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret) |
Modifier and Type | Method and Description |
---|---|
void |
addStandardParams(org.springframework.util.MultiValueMap<String,String> params) |
void |
addStandardParams(org.springframework.social.support.URIBuilder uriBuilder) |
protected List<org.springframework.http.converter.HttpMessageConverter<?>> |
getMessageConverters() |
String |
getRestEndpoint() |
String |
getUploadEndpoint() |
MediaOperations |
mediaOperations()
API for performing operations on albums, photos, and videos.
|
static void |
setEndpoint(String endpoint) |
void |
setRequestFactory(org.springframework.http.client.ClientHttpRequestFactory requestFactory) |
boolean |
test() |
configureRestTemplate, getByteArrayMessageConverter, getFormMessageConverter, getJsonMessageConverter, getRestTemplate, isAuthorized
public void setRequestFactory(org.springframework.http.client.ClientHttpRequestFactory requestFactory)
setRequestFactory
in class org.springframework.social.oauth1.AbstractOAuth1ApiBinding
public static void setEndpoint(String endpoint)
public MediaOperations mediaOperations()
Flickr
mediaOperations
in interface Flickr
protected List<org.springframework.http.converter.HttpMessageConverter<?>> getMessageConverters()
getMessageConverters
in class org.springframework.social.oauth1.AbstractOAuth1ApiBinding
public void addStandardParams(org.springframework.social.support.URIBuilder uriBuilder)
addStandardParams
in interface FlickrHelper
public void addStandardParams(org.springframework.util.MultiValueMap<String,String> params)
addStandardParams
in interface FlickrHelper
public String getRestEndpoint()
getRestEndpoint
in interface FlickrHelper
public String getUploadEndpoint()
getUploadEndpoint
in interface FlickrHelper
Copyright © 2005–2017 Alfresco Software. All rights reserved.