Class Http1ServerResponse
java.lang.Object
cool.scx.http.x.http1.Http1ServerResponse
- All Implemented Interfaces:
ScxHttpHeadersReadHelper,ScxHttpHeadersWriteHelper<ScxHttpServerResponse>,ScxHttpServerResponse,ScxHttpSender<Void>
Http1ServerResponse
- Version:
- 0.0.1
- Author:
- scx567888
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionheaders()headers(ScxHttpHeaders headers) booleanisSent()reasonPhrase(String reasonPhrase) request()send(MediaWriter writer) status()status(ScxHttpStatus code) 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.headers.ScxHttpHeadersWriteHelper
addCookie, addHeader, addHeader, addSetCookie, contentEncoding, contentLength, contentType, removeCookie, removeHeader, removeHeader, removeSetCookie, setHeader, setHeaderMethods inherited from interface cool.scx.http.sender.ScxHttpSender
send, send, send, send, send, send, send, send, send, send, send, sendEventStream, sendGzipMethods inherited from interface cool.scx.http.ScxHttpServerResponse
status
-
Field Details
-
connection
-
-
Method Details
-
request
- Specified by:
requestin interfaceScxHttpServerResponse
-
status
- Specified by:
statusin interfaceScxHttpServerResponse
-
reasonPhrase
-
reasonPhrase
-
headers
- Specified by:
headersin interfaceScxHttpHeadersReadHelper- Specified by:
headersin interfaceScxHttpHeadersWriteHelper<ScxHttpServerResponse>- Specified by:
headersin interfaceScxHttpServerResponse
-
headers
- Specified by:
headersin interfaceScxHttpServerResponse
-
status
- Specified by:
statusin interfaceScxHttpServerResponse
-
send
- Specified by:
sendin interfaceScxHttpSender<Void>- Specified by:
sendin interfaceScxHttpServerResponse- Throws:
BodyAlreadySentException
-
isSent
public boolean isSent()- Specified by:
isSentin interfaceScxHttpServerResponse
-
createReasonPhrase
-