Class Http1ServerWebSocketHandshakeResponse
java.lang.Object
cool.scx.websocket.x.Http1ServerWebSocketHandshakeResponse
- All Implemented Interfaces:
cool.scx.http.headers.ScxHttpHeadersReadHelper,cool.scx.http.headers.ScxHttpHeadersWriteHelper<cool.scx.http.ScxHttpServerResponse>,cool.scx.http.ScxHttpServerResponse,cool.scx.http.sender.ScxHttpSender<Void>,ScxServerWebSocketHandshakeResponse
public class Http1ServerWebSocketHandshakeResponse
extends Object
implements ScxServerWebSocketHandshakeResponse
-
Constructor Summary
ConstructorsConstructorDescriptionHttp1ServerWebSocketHandshakeResponse(Http1ServerConnection connection, Http1ServerWebSocketHandshakeRequest request, Http1ServerResponse _response, WebSocketOptions webSocketOptions) -
Method Summary
Modifier and TypeMethodDescriptioncool.scx.http.headers.ScxHttpHeadersWritableheaders()cool.scx.http.ScxHttpServerResponseheaders(cool.scx.http.headers.ScxHttpHeaders headers) booleanisSent()request()send(cool.scx.http.media.MediaWriter writer) cool.scx.http.status.ScxHttpStatusstatus()cool.scx.http.ScxHttpServerResponsestatus(cool.scx.http.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
-
Constructor Details
-
Http1ServerWebSocketHandshakeResponse
public Http1ServerWebSocketHandshakeResponse(Http1ServerConnection connection, Http1ServerWebSocketHandshakeRequest request, Http1ServerResponse _response, WebSocketOptions webSocketOptions)
-
-
Method Details
-
webSocket
- Specified by:
webSocketin interfaceScxServerWebSocketHandshakeResponse
-
request
- Specified by:
requestin interfacecool.scx.http.ScxHttpServerResponse- Specified by:
requestin interfaceScxServerWebSocketHandshakeResponse
-
status
public cool.scx.http.status.ScxHttpStatus status()- Specified by:
statusin interfacecool.scx.http.ScxHttpServerResponse
-
headers
public cool.scx.http.headers.ScxHttpHeadersWritable headers()- Specified by:
headersin interfacecool.scx.http.headers.ScxHttpHeadersReadHelper- Specified by:
headersin interfacecool.scx.http.headers.ScxHttpHeadersWriteHelper<cool.scx.http.ScxHttpServerResponse>- Specified by:
headersin interfacecool.scx.http.ScxHttpServerResponse
-
status
public cool.scx.http.ScxHttpServerResponse status(cool.scx.http.status.ScxHttpStatus code) - Specified by:
statusin interfacecool.scx.http.ScxHttpServerResponse
-
headers
public cool.scx.http.ScxHttpServerResponse headers(cool.scx.http.headers.ScxHttpHeaders headers) - Specified by:
headersin interfacecool.scx.http.ScxHttpServerResponse
-
send
-
isSent
public boolean isSent()- Specified by:
isSentin interfacecool.scx.http.ScxHttpServerResponse
-