|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoauth.signpost.basic.HttpURLConnectionResponseAdapter
public class HttpURLConnectionResponseAdapter
| Constructor Summary | |
|---|---|
HttpURLConnectionResponseAdapter(java.net.HttpURLConnection connection)
|
|
| Method Summary | |
|---|---|
java.io.InputStream |
getContent()
|
java.lang.String |
getReasonPhrase()
|
int |
getStatusCode()
|
java.lang.Object |
unwrap()
Returns the underlying response object, in case you need to work on it directly. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpURLConnectionResponseAdapter(java.net.HttpURLConnection connection)
| Method Detail |
|---|
public java.io.InputStream getContent()
throws java.io.IOException
getContent in interface HttpResponsejava.io.IOException
public int getStatusCode()
throws java.io.IOException
getStatusCode in interface HttpResponsejava.io.IOException
public java.lang.String getReasonPhrase()
throws java.lang.Exception
getReasonPhrase in interface HttpResponsejava.lang.Exceptionpublic java.lang.Object unwrap()
HttpResponse
unwrap in interface HttpResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||