Class Http1ServerWebSocketHandshakeRequest

java.lang.Object
cool.scx.websocket.x.Http1ServerWebSocketHandshakeRequest
All Implemented Interfaces:
cool.scx.http.headers.ScxHttpHeadersReadHelper, cool.scx.http.ScxHttpServerRequest, ScxServerWebSocketHandshakeRequest

public class Http1ServerWebSocketHandshakeRequest extends Object implements ScxServerWebSocketHandshakeRequest
基于 http1 的 websocket 握手请求
Version:
0.0.1
Author:
scx567888
  • Constructor Details

  • Method Details

    • response

      Specified by:
      response in interface cool.scx.http.ScxHttpServerRequest
      Specified by:
      response in interface ScxServerWebSocketHandshakeRequest
    • method

      public cool.scx.http.method.ScxHttpMethod method()
      Specified by:
      method in interface cool.scx.http.ScxHttpServerRequest
    • uri

      public cool.scx.http.uri.ScxURI uri()
      Specified by:
      uri in interface cool.scx.http.ScxHttpServerRequest
    • version

      public cool.scx.http.version.HttpVersion version()
      Specified by:
      version in interface cool.scx.http.ScxHttpServerRequest
    • headers

      public cool.scx.http.headers.ScxHttpHeaders headers()
      Specified by:
      headers in interface cool.scx.http.headers.ScxHttpHeadersReadHelper
      Specified by:
      headers in interface cool.scx.http.ScxHttpServerRequest
    • body

      public cool.scx.http.body.ScxHttpBody body()
      Specified by:
      body in interface cool.scx.http.ScxHttpServerRequest
    • remotePeer

      public cool.scx.http.peer_info.PeerInfo remotePeer()
      Specified by:
      remotePeer in interface cool.scx.http.ScxHttpServerRequest
    • localPeer

      public cool.scx.http.peer_info.PeerInfo localPeer()
      Specified by:
      localPeer in interface cool.scx.http.ScxHttpServerRequest