类 HttpInitializer
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.ChannelInitializer<Channel>
-
- cn.mcres.karlatemp.mxlib.network.HttpInitializer
-
- 所有已实现的接口:
ChannelHandler
,ChannelInboundHandler
public class HttpInitializer extends ChannelInitializer<Channel>
Create at 2019/12/21 19:21 Copyright Karlatemp MXBukkitLibRebuild $ cn.mcres.karlatemp.mxlib.network
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
-
构造器概要
构造器 构造器 说明 HttpInitializer(HttpCallback callback, URI url, boolean ssl, int port, int connect_timeout, long read_timeout, TimeUnit readTimeoutUnit, int depth, int maxDepth)
-
方法概要
修饰符和类型 方法 说明 protected void
initChannel(Channel ch)
-
从类继承的方法 io.netty.channel.ChannelInitializer
channelRegistered
-
从类继承的方法 io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
-
从类继承的方法 io.netty.channel.ChannelHandlerAdapter
handlerAdded, handlerRemoved, isSharable
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
-
-
-
构造器详细资料
-
HttpInitializer
public HttpInitializer(@NotNull HttpCallback callback, @NotNull URI url, boolean ssl, int port, int connect_timeout, long read_timeout, @NotNull TimeUnit readTimeoutUnit, int depth, int maxDepth)
-
-
方法详细资料
-
initChannel
protected void initChannel(Channel ch) throws Exception
- 指定者:
initChannel
在类中ChannelInitializer<Channel>
- 抛出:
Exception
-
-