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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    cool.scx.http.headers.ScxHttpHeadersWritable
     
    cool.scx.http.ScxHttpServerResponse
    headers(cool.scx.http.headers.ScxHttpHeaders headers)
     
    boolean
     
     
    send(cool.scx.http.media.MediaWriter writer)
     
    cool.scx.http.status.ScxHttpStatus
     
    cool.scx.http.ScxHttpServerResponse
    status(cool.scx.http.status.ScxHttpStatus code)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface cool.scx.http.headers.ScxHttpHeadersReadHelper

    contentEncoding, contentLength, contentType, cookies, getCookie, getHeader, getHeader, getSetCookie, setCookies

    Methods inherited from interface cool.scx.http.headers.ScxHttpHeadersWriteHelper

    addCookie, addHeader, addHeader, addSetCookie, contentEncoding, contentLength, contentType, removeCookie, removeHeader, removeHeader, removeSetCookie, setHeader, setHeader

    Methods inherited from interface cool.scx.http.sender.ScxHttpSender

    send, send, send, send, send, send, send, send, send, send, send, sendEventStream, sendGzip

    Methods inherited from interface cool.scx.http.ScxHttpServerResponse

    status
  • Constructor Details

  • Method Details

    • webSocket

      public ScxWebSocket webSocket()
      Specified by:
      webSocket in interface ScxServerWebSocketHandshakeResponse
    • request

      Specified by:
      request in interface cool.scx.http.ScxHttpServerResponse
      Specified by:
      request in interface ScxServerWebSocketHandshakeResponse
    • status

      public cool.scx.http.status.ScxHttpStatus status()
      Specified by:
      status in interface cool.scx.http.ScxHttpServerResponse
    • headers

      public cool.scx.http.headers.ScxHttpHeadersWritable headers()
      Specified by:
      headers in interface cool.scx.http.headers.ScxHttpHeadersReadHelper
      Specified by:
      headers in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper<cool.scx.http.ScxHttpServerResponse>
      Specified by:
      headers in interface cool.scx.http.ScxHttpServerResponse
    • status

      public cool.scx.http.ScxHttpServerResponse status(cool.scx.http.status.ScxHttpStatus code)
      Specified by:
      status in interface cool.scx.http.ScxHttpServerResponse
    • headers

      public cool.scx.http.ScxHttpServerResponse headers(cool.scx.http.headers.ScxHttpHeaders headers)
      Specified by:
      headers in interface cool.scx.http.ScxHttpServerResponse
    • send

      public Void send(cool.scx.http.media.MediaWriter writer)
      Specified by:
      send in interface cool.scx.http.sender.ScxHttpSender<Void>
      Specified by:
      send in interface cool.scx.http.ScxHttpServerResponse
    • isSent

      public boolean isSent()
      Specified by:
      isSent in interface cool.scx.http.ScxHttpServerResponse