Interface ScxHttpServerResponse
- All Superinterfaces:
ScxHttpHeadersReadHelper,ScxHttpHeadersWriteHelper<ScxHttpServerResponse>,ScxHttpSender<Void>
public interface ScxHttpServerResponse
extends ScxHttpSender<Void>, ScxHttpHeadersWriteHelper<ScxHttpServerResponse>
ScxHttpServerResponse
- Version:
- 0.0.1
- Author:
- scx567888
-
Method Summary
Modifier and TypeMethodDescriptionheaders()headers(ScxHttpHeaders headers) booleanisSent()request()send(MediaWriter writer) status()default ScxHttpServerResponsestatus(int code) status(ScxHttpStatus code) Methods 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, setHeader
-
Method Details
-
request
ScxHttpServerRequest request() -
status
ScxHttpStatus status() -
headers
ScxHttpHeadersWritable headers()- Specified by:
headersin interfaceScxHttpHeadersReadHelper- Specified by:
headersin interfaceScxHttpHeadersWriteHelper<ScxHttpServerResponse>
-
status
-
headers
-
isSent
boolean isSent() -
send
- Specified by:
sendin interfaceScxHttpSender<Void>- Throws:
BodyAlreadySentException
-
status
-