|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectoauth.signpost.AbstractOAuthProvider
oauth.signpost.basic.DefaultOAuthProvider
public class DefaultOAuthProvider
This default implementation uses HttpURLConnection type GET
requests to receive tokens from a service provider.
| コンストラクタの概要 | |
|---|---|
DefaultOAuthProvider(String requestTokenEndpointUrl,
String accessTokenEndpointUrl,
String authorizationWebsiteUrl)
|
|
| メソッドの概要 | |
|---|---|
protected void |
closeConnection(HttpRequest request,
HttpResponse response)
Called when the connection is being finalized after receiving the response. |
protected HttpRequest |
createRequest(String endpointUrl)
Overrride this method if you want to customize the logic for building a request object for the given endpoint URL. |
protected HttpResponse |
sendRequest(HttpRequest request)
Override this method if you want to customize the logic for how the given request is sent to the server. |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public DefaultOAuthProvider(String requestTokenEndpointUrl,
String accessTokenEndpointUrl,
String authorizationWebsiteUrl)
| メソッドの詳細 |
|---|
protected HttpRequest createRequest(String endpointUrl)
throws MalformedURLException,
IOException
AbstractOAuthProvider の記述:
AbstractOAuthProvider 内の createRequestendpointUrl - the URL to which the request will go
MalformedURLException
IOException
protected HttpResponse sendRequest(HttpRequest request)
throws IOException
AbstractOAuthProvider の記述:
AbstractOAuthProvider 内の sendRequestrequest - the request to send
IOException
protected void closeConnection(HttpRequest request,
HttpResponse response)
AbstractOAuthProvider の記述:
AbstractOAuthProvider 内の closeConnectionrequest - the request that has been sentresponse - the response that has been received
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||