Uses of Class
io.netty.channel.embedded.EmbeddedChannel.Builder
Packages that use EmbeddedChannel.Builder
Package
Description
A virtual
Channel that helps wrapping a series of handlers to
unit test the handlers or use them in non-I/O context.-
Uses of EmbeddedChannel.Builder in io.netty.channel.embedded
Methods in io.netty.channel.embedded that return EmbeddedChannel.BuilderModifier and TypeMethodDescriptionstatic EmbeddedChannel.BuilderEmbeddedChannel.builder()TheChannelIdthat will be used to identify this channel.EmbeddedChannel.Builder.config(ChannelConfig config) TheChannelConfigwhich will be returned byEmbeddedChannel.config().EmbeddedChannel.Builder.handlers(ChannelHandler handler) TheChannelHandlerwhich will be added to theChannelPipeline.EmbeddedChannel.Builder.handlers(ChannelHandler... handlers) TheChannelHandlers which will be added to theChannelPipeline.EmbeddedChannel.Builder.hasDisconnect(boolean hasDisconnect) falseif thisChannelwill delegateEmbeddedChannel.disconnect()toEmbeddedChannel.close(),trueotherwise.The parentChannelof thisEmbeddedChannel.EmbeddedChannel.Builder.register(boolean register) Configure a custom ticker for this event loop.Constructors in io.netty.channel.embedded with parameters of type EmbeddedChannel.BuilderModifierConstructorDescriptionprotectedEmbeddedChannel(EmbeddedChannel.Builder builder) Create a new instance with the configuration from the given builder.