com.jdroid.java.http.apache
Class ApacheHttpResponseWrapper

java.lang.Object
  extended by com.jdroid.java.http.HttpResponseWrapper
      extended by com.jdroid.java.http.apache.ApacheHttpResponseWrapper

public class ApacheHttpResponseWrapper
extends HttpResponseWrapper


Constructor Summary
ApacheHttpResponseWrapper(org.apache.http.HttpResponse httpResponse)
           
 
Method Summary
 String getContent()
           
 String getHeader(String name)
           
 int getStatusCode()
           
 String getStatusReason()
           
 
Methods inherited from class com.jdroid.java.http.HttpResponseWrapper
isClientError, isServerError, isSuccess, logStatusCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheHttpResponseWrapper

public ApacheHttpResponseWrapper(org.apache.http.HttpResponse httpResponse)
Method Detail

getContent

public String getContent()
Specified by:
getContent in class HttpResponseWrapper
See Also:
HttpResponseWrapper.getContent()

getStatusCode

public int getStatusCode()
Specified by:
getStatusCode in class HttpResponseWrapper
See Also:
HttpResponseWrapper.getStatusCode()

getStatusReason

public String getStatusReason()
Specified by:
getStatusReason in class HttpResponseWrapper
See Also:
HttpResponseWrapper.getStatusReason()

getHeader

public String getHeader(String name)
Specified by:
getHeader in class HttpResponseWrapper
See Also:
HttpResponseWrapper.getHeader(java.lang.String)


Copyright © 2014. All rights reserved.