StreamFactoryFactory
public class NettyStreamFactoryFactory extends Object implements StreamFactoryFactory
StreamFactoryFactory
implementation for Netty-based streams.Modifier and Type | Class | Description |
---|---|---|
static class |
NettyStreamFactoryFactory.Builder |
A builder for an instance of
NettyStreamFactoryFactory . |
Constructor | Description |
---|---|
NettyStreamFactoryFactory() |
Deprecated.
Use
builder() instead to construct the NettyStreamFactoryFactory . |
NettyStreamFactoryFactory(io.netty.channel.EventLoopGroup eventLoopGroup,
io.netty.buffer.ByteBufAllocator allocator) |
Deprecated.
Use
builder() instead to construct the NettyStreamFactoryFactory . |
Modifier and Type | Method | Description |
---|---|---|
static NettyStreamFactoryFactory.Builder |
builder() |
Gets a builder for an instance of
NettyStreamFactoryFactory . |
StreamFactory |
create(SocketSettings socketSettings,
SslSettings sslSettings) |
Create a
StreamFactory with the given settings. |
String |
toString() |
@Deprecated public NettyStreamFactoryFactory()
builder()
instead to construct the NettyStreamFactoryFactory
.EventLoopGroup
and ByteBufAllocator
.@Deprecated public NettyStreamFactoryFactory(io.netty.channel.EventLoopGroup eventLoopGroup, io.netty.buffer.ByteBufAllocator allocator)
builder()
instead to construct the NettyStreamFactoryFactory
.EventLoopGroup
and ByteBufAllocator
.eventLoopGroup
- the non-null event loop groupallocator
- the non-null byte buf allocatorpublic static NettyStreamFactoryFactory.Builder builder()
NettyStreamFactoryFactory
.public StreamFactory create(SocketSettings socketSettings, SslSettings sslSettings)
StreamFactoryFactory
StreamFactory
with the given settings.create
in interface StreamFactoryFactory
socketSettings
- the socket settingssslSettings
- the SSL settings