Class Http1ClientResponse
java.lang.Object
cool.scx.http.x.http1.Http1ClientResponse
- All Implemented Interfaces:
cool.scx.http.headers.ScxHttpHeadersReadHelper, cool.scx.http.ScxHttpClientResponse
HTTP/1.1 ClientResponse
- Version:
- 0.0.1
- Author:
- scx567888
-
Constructor Summary
ConstructorsConstructorDescriptionHttp1ClientResponse(Http1StatusLine statusLine, Http1Headers headers, InputStream bodyInputStream) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cool.scx.http.headers.ScxHttpHeadersReadHelper
contentEncoding, contentLength, contentType, cookies, getCookie, getHeader, getHeader, getSetCookie, setCookies
-
Constructor Details
-
Http1ClientResponse
public Http1ClientResponse(Http1StatusLine statusLine, Http1Headers headers, InputStream bodyInputStream)
-
-
Method Details
-
status
public cool.scx.http.status.ScxHttpStatus status()- Specified by:
statusin interfacecool.scx.http.ScxHttpClientResponse
-
reasonPhrase
-
headers
public cool.scx.http.headers.ScxHttpHeaders headers()- Specified by:
headersin interfacecool.scx.http.ScxHttpClientResponse- Specified by:
headersin interfacecool.scx.http.headers.ScxHttpHeadersReadHelper
-
body
public cool.scx.http.body.ScxHttpBody body()- Specified by:
bodyin interfacecool.scx.http.ScxHttpClientResponse
-