|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ning.http.client.HttpContent com.ning.http.client.HttpResponseStatus com.ning.http.client.providers.netty.ResponseStatus
public class ResponseStatus
A class that represent the HTTP response' status line (code + text)
Field Summary |
---|
Fields inherited from class com.ning.http.client.HttpContent |
---|
provider, uri |
Constructor Summary | |
---|---|
ResponseStatus(URI uri,
org.jboss.netty.handler.codec.http.HttpResponse response,
AsyncHttpProvider provider)
|
Method Summary | |
---|---|
int |
getProtocolMajorVersion()
Protocol major version. |
int |
getProtocolMinorVersion()
Protocol minor version. |
String |
getProtocolName()
Protocol name from status line. |
String |
getProtocolText()
Full protocol name + version |
int |
getStatusCode()
Return the response status code |
String |
getStatusText()
Return the response status text |
Methods inherited from class com.ning.http.client.HttpContent |
---|
getUrl, provider |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResponseStatus(URI uri, org.jboss.netty.handler.codec.http.HttpResponse response, AsyncHttpProvider provider)
Method Detail |
---|
public int getStatusCode()
getStatusCode
in class HttpResponseStatus
public String getStatusText()
getStatusText
in class HttpResponseStatus
public String getProtocolName()
HttpResponseStatus
getProtocolName
in class HttpResponseStatus
public int getProtocolMajorVersion()
HttpResponseStatus
getProtocolMajorVersion
in class HttpResponseStatus
public int getProtocolMinorVersion()
HttpResponseStatus
getProtocolMinorVersion
in class HttpResponseStatus
public String getProtocolText()
HttpResponseStatus
getProtocolText
in class HttpResponseStatus
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |