oauth.signpost.commonshttp
Class HttpResponseAdapter
java.lang.Object
oauth.signpost.commonshttp.HttpResponseAdapter
- All Implemented Interfaces:
- HttpResponse
public class HttpResponseAdapter
- extends Object
- implements HttpResponse
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpResponseAdapter
public HttpResponseAdapter(org.apache.http.HttpResponse response)
getContent
public InputStream getContent()
throws IOException
- Specified by:
getContent in interface HttpResponse
- Throws:
IOException
getStatusCode
public int getStatusCode()
throws IOException
- Specified by:
getStatusCode in interface HttpResponse
- Throws:
IOException
getReasonPhrase
public String getReasonPhrase()
throws Exception
- Specified by:
getReasonPhrase in interface HttpResponse
- Throws:
Exception
unwrap
public Object unwrap()
- Specified by:
unwrap in interface HttpResponse
Copyright © 2010. All Rights Reserved.