org.ektorp.http
Class StdHttpResponse
java.lang.Object
org.ektorp.http.StdHttpResponse
- All Implemented Interfaces:
- HttpResponse
public class StdHttpResponse
- extends java.lang.Object
- implements HttpResponse
- Author:
- henriklundgren
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
of
public static StdHttpResponse of(org.apache.http.HttpResponse rsp,
java.lang.String requestURI)
getCode
public int getCode()
- Specified by:
getCode in interface HttpResponse
getReason
public java.lang.String getReason()
getRequestURI
public java.lang.String getRequestURI()
- Specified by:
getRequestURI in interface HttpResponse
getContentLength
public int getContentLength()
- Specified by:
getContentLength in interface HttpResponse
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType in interface HttpResponse
getContent
public java.io.InputStream getContent()
- Specified by:
getContent in interface HttpResponse
isSuccessful
public boolean isSuccessful()
- Specified by:
isSuccessful in interface HttpResponse
releaseConnection
public void releaseConnection()
- Specified by:
releaseConnection in interface HttpResponse
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2011. All Rights Reserved.