|
||||||||||
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
public abstract class HttpResponseStatus
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 | |
---|---|
HttpResponseStatus(URI uri,
AsyncHttpProvider provider)
|
Method Summary | |
---|---|
abstract int |
getProtocolMajorVersion()
Protocol major version. |
abstract int |
getProtocolMinorVersion()
Protocol minor version. |
abstract String |
getProtocolName()
Protocol name from status line. |
abstract String |
getProtocolText()
Full protocol name + version |
abstract int |
getStatusCode()
Return the response status code |
abstract 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 HttpResponseStatus(URI uri, AsyncHttpProvider provider)
Method Detail |
---|
public abstract int getStatusCode()
public abstract String getStatusText()
public abstract String getProtocolName()
public abstract int getProtocolMajorVersion()
public abstract int getProtocolMinorVersion()
public abstract String getProtocolText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |