oauth.signpost.http
インタフェース HttpRequest
- 既知の実装クラスの一覧:
- HttpURLConnectionRequestAdapter, UrlStringRequestAdapter
public interface HttpRequest
A concise description of an HTTP request. Contains methods to access all
those parts of an HTTP request which Signpost needs to sign a message. If you
want to extend Signpost to sign a different kind of HTTP request than those
currently supported, you'll have to write an adapter which implements this
interface and a custom OAuthConsumer which performs the wrapping.
- 作成者:
- Matthias Kaeppler
- 関連項目:
HttpURLConnectionRequestAdapter
getMethod
String getMethod()
getRequestUrl
String getRequestUrl()
setRequestUrl
void setRequestUrl(String url)
setHeader
void setHeader(String name,
String value)
getHeader
String getHeader(String name)
getAllHeaders
Map<String,String> getAllHeaders()
getMessagePayload
InputStream getMessagePayload()
throws IOException
- 例外:
IOException
getContentType
String getContentType()
unwrap
Object unwrap()
- Returns the wrapped request object, in case you must work directly on it.
- 戻り値:
- the wrapped request object
Copyright © 2012. All Rights Reserved.