public class NettyStreamFactoryFactory extends java.lang.Object implements StreamFactoryFactory
StreamFactoryFactory implementation for Netty-based streams.| 限定符和类型 | 类和说明 |
|---|---|
static class |
NettyStreamFactoryFactory.Builder
A builder for an instance of
NettyStreamFactoryFactory. |
| 构造器和说明 |
|---|
NettyStreamFactoryFactory()
已过时。
Use
builder() instead to construct the NettyStreamFactoryFactory. |
NettyStreamFactoryFactory(io.netty.channel.EventLoopGroup eventLoopGroup,
io.netty.buffer.ByteBufAllocator allocator)
已过时。
Use
builder() instead to construct the NettyStreamFactoryFactory. |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
StreamFactoryFactoryStreamFactory with the given settings.create 在接口中 StreamFactoryFactorysocketSettings - the socket settingssslSettings - the SSL settingspublic java.lang.String toString()
toString 在类中 java.lang.Object