Class EchoServer

    • Constructor Detail

      • EchoServer

        public EchoServer​(boolean secure)
    • Method Detail

      • stop

        public void stop()
        Specified by:
        stop in interface Stoppable
      • getPort

        public Integer getPort()
      • withNextResponse

        public void withNextResponse​(HttpResponse... httpResponses)
      • clearNextResponse

        public void clearNextResponse()
      • getRegisteredClients

        public List<String> getRegisteredClients()
      • getWebsocketChannels

        public List<io.netty.channel.Channel> getWebsocketChannels()
      • getTextWebSocketFrames

        public List<io.netty.handler.codec.http.websocketx.TextWebSocketFrame> getTextWebSocketFrames()