Class Http1ServerRequest
java.lang.Object
cool.scx.http.x.http1.Http1ServerRequest
- All Implemented Interfaces:
ScxHttpHeadersReadHelper,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 java.lang.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 interfaceScxHttpServerRequest
-
method
- Specified by:
methodin interfaceScxHttpServerRequest
-
uri
- Specified by:
uriin interfaceScxHttpServerRequest
-
version
- Specified by:
versionin interfaceScxHttpServerRequest
-
headers
- Specified by:
headersin interfaceScxHttpHeadersReadHelper- Specified by:
headersin interfaceScxHttpServerRequest
-
body
- Specified by:
bodyin interfaceScxHttpServerRequest
-
remotePeer
- Specified by:
remotePeerin interfaceScxHttpServerRequest
-
localPeer
- Specified by:
localPeerin interfaceScxHttpServerRequest
-
isKeepAlive
public boolean isKeepAlive()
-