Class NettyWebSocketRegistry

java.lang.Object
services.moleculer.web.WebSocketRegistry
services.moleculer.web.netty.NettyWebSocketRegistry
All Implemented Interfaces:
Runnable

public class NettyWebSocketRegistry extends WebSocketRegistry
  • Constructor Details

    • NettyWebSocketRegistry

      public NettyWebSocketRegistry(services.moleculer.ServiceBroker broker, long cleanupSeconds)
  • Method Details

    • register

      public void register(String path, io.netty.channel.ChannelHandlerContext ctx)
    • deregister

      public void deregister(String path, io.netty.channel.ChannelHandlerContext ctx)
    • toEnpoint

      protected Endpoint toEnpoint(io.netty.channel.ChannelHandlerContext ctx)
    • isRefused

      public io.datatree.Promise isRefused(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpRequest req, io.netty.handler.codec.http.HttpHeaders headers, services.moleculer.ServiceBroker broker, String path) throws IOException
      Throws:
      IOException