public class NettyStreamFactoryFactory extends java.lang.Object implements StreamFactoryFactory
StreamFactoryFactory
implementation for Netty-based streams.Modifier and Type | Class and Description |
---|---|
static class |
NettyStreamFactoryFactory.Builder
A builder for an instance of
NettyStreamFactoryFactory . |
Constructor and 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 and 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. |
java.lang.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 settingspublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved