Метод | Описание | |
---|---|---|
BitbucketTemplate ( string consumerKey, string consumerSecret, string accessToken, string accessTokenSecret ) : System |
Create a new instance of BitbucketTemplate.
|
Метод | Описание | |
---|---|---|
ConfigureRestTemplate ( RestTemplate restTemplate ) : void |
Enables customization of the RestTemplate used to consume provider API resources. An example use case might be to configure a custom error handler. Note that this method is called after the RestTemplate has been configured with the message converters returned from GetMessageConverters(). |
|
GetMessageConverters ( ) : IList |
Returns a list of IHttpMessageConverters to be used by the internal RestTemplate. This implementation adds SpringJsonHttpMessageConverter and ByteArrayHttpMessageConverter to the default list. |
Метод | Описание | |
---|---|---|
GetJsonMessageConverter ( ) : SpringJsonHttpMessageConverter |
Returns a SpringJsonHttpMessageConverter to be used by the internal RestTemplate.
|
|
InitSubApis ( ) : void |
public BitbucketTemplate ( string consumerKey, string consumerSecret, string accessToken, string accessTokenSecret ) : System | ||
consumerKey | string | The application's API key. |
consumerSecret | string | The application's API secret. |
accessToken | string | An access token acquired through OAuth authentication with Bitbucket. |
accessTokenSecret | string | An access token secret acquired through OAuth authentication with Bitbucket. |
Результат | System |
protected ConfigureRestTemplate ( RestTemplate restTemplate ) : void | ||
restTemplate | RestTemplate | The RestTemplate to configure. |
Результат | void |