oauth.signpost.basic
クラス HttpURLConnectionRequestAdapter
java.lang.Object
oauth.signpost.basic.HttpURLConnectionRequestAdapter
- すべての実装されたインタフェース:
- HttpRequest
public class HttpURLConnectionRequestAdapter
- extends Object
- implements HttpRequest
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
protected HttpURLConnection connection
HttpURLConnectionRequestAdapter
public HttpURLConnectionRequestAdapter(HttpURLConnection connection)
getMethod
public String getMethod()
- 定義:
- インタフェース
HttpRequest 内の getMethod
getRequestUrl
public String getRequestUrl()
- 定義:
- インタフェース
HttpRequest 内の getRequestUrl
setRequestUrl
public void setRequestUrl(String url)
- 定義:
- インタフェース
HttpRequest 内の setRequestUrl
setHeader
public void setHeader(String name,
String value)
- 定義:
- インタフェース
HttpRequest 内の setHeader
getHeader
public String getHeader(String name)
- 定義:
- インタフェース
HttpRequest 内の getHeader
getAllHeaders
public Map<String,String> getAllHeaders()
- 定義:
- インタフェース
HttpRequest 内の getAllHeaders
getMessagePayload
public InputStream getMessagePayload()
throws IOException
- 定義:
- インタフェース
HttpRequest 内の getMessagePayload
- 例外:
IOException
getContentType
public String getContentType()
- 定義:
- インタフェース
HttpRequest 内の getContentType
unwrap
public HttpURLConnection unwrap()
- インタフェース
HttpRequest の記述:
- Returns the wrapped request object, in case you must work directly on it.
- 定義:
- インタフェース
HttpRequest 内の unwrap
- 戻り値:
- the wrapped request object
Copyright © 2012. All Rights Reserved.