类 Http7WebSocketBackendHandler

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
cn.hserver.plugin.gateway.handler.http7.Http7WebSocketBackendHandler
所有已实现的接口:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public class Http7WebSocketBackendHandler extends io.netty.channel.ChannelInboundHandlerAdapter
  • 嵌套类概要

    从接口继承的嵌套类/接口 io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • 构造器概要

    构造器
    构造器
    说明
    Http7WebSocketBackendHandler(io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker handshaker, io.netty.channel.Channel inboundChannel, BusinessHttp7 businessHttp7)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    channelActive(io.netty.channel.ChannelHandlerContext ctx)
     
    void
    channelInactive(io.netty.channel.ChannelHandlerContext ctx)
     
    void
    channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)
     
    void
    channelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx)
     
    void
    exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
     
    void
    handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
     
    io.netty.channel.ChannelFuture
     

    从类继承的方法 io.netty.channel.ChannelInboundHandlerAdapter

    channelReadComplete, channelRegistered, channelUnregistered, userEventTriggered

    从类继承的方法 io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, handlerRemoved, isSharable

    从类继承的方法 java.lang.Object

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

    从接口继承的方法 io.netty.channel.ChannelHandler

    handlerRemoved
  • 构造器详细资料

    • Http7WebSocketBackendHandler

      public Http7WebSocketBackendHandler(io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker handshaker, io.netty.channel.Channel inboundChannel, BusinessHttp7 businessHttp7)
  • 方法详细资料

    • channelWritabilityChanged

      public void channelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx) throws Exception
      指定者:
      channelWritabilityChanged 在接口中 io.netty.channel.ChannelInboundHandler
      覆盖:
      channelWritabilityChanged 在类中 io.netty.channel.ChannelInboundHandlerAdapter
      抛出:
      Exception
    • handlerAdded

      public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
      指定者:
      handlerAdded 在接口中 io.netty.channel.ChannelHandler
      覆盖:
      handlerAdded 在类中 io.netty.channel.ChannelHandlerAdapter
    • handshakeFuture

      public io.netty.channel.ChannelFuture handshakeFuture()
    • channelActive

      public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
      指定者:
      channelActive 在接口中 io.netty.channel.ChannelInboundHandler
      覆盖:
      channelActive 在类中 io.netty.channel.ChannelInboundHandlerAdapter
    • channelRead

      public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)
      指定者:
      channelRead 在接口中 io.netty.channel.ChannelInboundHandler
      覆盖:
      channelRead 在类中 io.netty.channel.ChannelInboundHandlerAdapter
    • channelInactive

      public void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
      指定者:
      channelInactive 在接口中 io.netty.channel.ChannelInboundHandler
      覆盖:
      channelInactive 在类中 io.netty.channel.ChannelInboundHandlerAdapter
    • exceptionCaught

      public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
      指定者:
      exceptionCaught 在接口中 io.netty.channel.ChannelHandler
      指定者:
      exceptionCaught 在接口中 io.netty.channel.ChannelInboundHandler
      覆盖:
      exceptionCaught 在类中 io.netty.channel.ChannelInboundHandlerAdapter