Class Http1ServerRequest
java.lang.Object
cool.scx.http.x.http1.Http1ServerRequest
- All Implemented Interfaces:
cool.scx.http.headers.ScxHttpHeadersReadHelper, cool.scx.http.ScxHttpServerRequest
HTTP/1.1 ServerRequest
- Version:
- 0.0.1
- Author:
- scx567888
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHttp1ServerRequest(Http1ServerConnection connection, Http1RequestLine requestLine, 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, setCookiesMethods inherited from interface cool.scx.http.ScxHttpServerRequest
getQuery, path, query
-
Field Details
-
connection
-
-
Constructor Details
-
Http1ServerRequest
public Http1ServerRequest(Http1ServerConnection connection, Http1RequestLine requestLine, Http1Headers headers, InputStream bodyInputStream)
-
-
Method Details
-
response
- Specified by:
responsein interfacecool.scx.http.ScxHttpServerRequest
-
method
public cool.scx.http.method.ScxHttpMethod method()- Specified by:
methodin interfacecool.scx.http.ScxHttpServerRequest
-
uri
public cool.scx.http.uri.ScxURI uri()- Specified by:
uriin interfacecool.scx.http.ScxHttpServerRequest
-
version
public cool.scx.http.version.HttpVersion version()- Specified by:
versionin interfacecool.scx.http.ScxHttpServerRequest
-
headers
- Specified by:
headersin interfacecool.scx.http.headers.ScxHttpHeadersReadHelper- Specified by:
headersin interfacecool.scx.http.ScxHttpServerRequest
-
body
public cool.scx.http.body.ScxHttpBody body()- Specified by:
bodyin interfacecool.scx.http.ScxHttpServerRequest
-
remotePeer
public cool.scx.http.peer_info.PeerInfo remotePeer()- Specified by:
remotePeerin interfacecool.scx.http.ScxHttpServerRequest
-
localPeer
public cool.scx.http.peer_info.PeerInfo localPeer()- Specified by:
localPeerin interfacecool.scx.http.ScxHttpServerRequest
-
isKeepAlive
public boolean isKeepAlive()
-