oauth.signpost.basic
クラス HttpURLConnectionResponseAdapter

java.lang.Object
  上位を拡張 oauth.signpost.basic.HttpURLConnectionResponseAdapter
すべての実装されたインタフェース:
HttpResponse

public class HttpURLConnectionResponseAdapter
extends Object
implements HttpResponse


コンストラクタの概要
HttpURLConnectionResponseAdapter(HttpURLConnection connection)
           
 
メソッドの概要
 InputStream getContent()
           
 String getReasonPhrase()
           
 int getStatusCode()
           
 Object unwrap()
          Returns the underlying response object, in case you need to work on it directly.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

HttpURLConnectionResponseAdapter

public HttpURLConnectionResponseAdapter(HttpURLConnection connection)
メソッドの詳細

getContent

public InputStream getContent()
                       throws IOException
定義:
インタフェース HttpResponse 内の getContent
例外:
IOException

getStatusCode

public int getStatusCode()
                  throws IOException
定義:
インタフェース HttpResponse 内の getStatusCode
例外:
IOException

getReasonPhrase

public String getReasonPhrase()
                       throws Exception
定義:
インタフェース HttpResponse 内の getReasonPhrase
例外:
Exception

unwrap

public Object unwrap()
インタフェース HttpResponse の記述:
Returns the underlying response object, in case you need to work on it directly.

定義:
インタフェース HttpResponse 内の unwrap
戻り値:
the wrapped response object


Copyright © 2012. All Rights Reserved.