public final class SSLPlugin extends AbstractPlugin
| 限定符和类型 | 字段和说明 |
|---|---|
private static org.slf4j.Logger |
LOGGER |
private cn.starboot.socket.utils.pool.memory.MemoryPool |
memoryPool |
private SslService |
sslService |
| 构造器和说明 |
|---|
SSLPlugin(ClientSSLContextFactory factory) |
SSLPlugin(ClientSSLContextFactory factory,
cn.starboot.socket.utils.pool.memory.MemoryPool memoryPool) |
SSLPlugin(ServerSSLContextFactory factory,
ClientAuth clientAuth) |
SSLPlugin(ServerSSLContextFactory factory,
ClientAuth clientAuth,
cn.starboot.socket.utils.pool.memory.MemoryPool memoryPool) |
SSLPlugin(SSLContextFactory factory,
java.util.function.Consumer<SSLEngine> consumer) |
SSLPlugin(SSLContextFactory factory,
java.util.function.Consumer<SSLEngine> consumer,
cn.starboot.socket.utils.pool.memory.MemoryPool memoryPool) |
| 限定符和类型 | 方法和说明 |
|---|---|
AsynchronousSocketChannel |
shouldAccept(AsynchronousSocketChannel channel) |
afterDecode, afterRead, afterWrite, beforeEncode, beforeProcess, beforeRead, beforeWrite, stateEventprivate static final org.slf4j.Logger LOGGER
private final SslService sslService
private final cn.starboot.socket.utils.pool.memory.MemoryPool memoryPool
public SSLPlugin(SSLContextFactory factory, java.util.function.Consumer<SSLEngine> consumer) throws Exception
Exceptionpublic SSLPlugin(SSLContextFactory factory, java.util.function.Consumer<SSLEngine> consumer, cn.starboot.socket.utils.pool.memory.MemoryPool memoryPool) throws Exception
Exceptionpublic SSLPlugin(ClientSSLContextFactory factory) throws Exception
Exceptionpublic SSLPlugin(ClientSSLContextFactory factory, cn.starboot.socket.utils.pool.memory.MemoryPool memoryPool) throws Exception
Exceptionpublic SSLPlugin(ServerSSLContextFactory factory, ClientAuth clientAuth) throws Exception
Exceptionpublic SSLPlugin(ServerSSLContextFactory factory, ClientAuth clientAuth, cn.starboot.socket.utils.pool.memory.MemoryPool memoryPool) throws Exception
Exceptionpublic AsynchronousSocketChannel shouldAccept(AsynchronousSocketChannel channel)
shouldAccept 在接口中 MonitorshouldAccept 在类中 AbstractPluginCopyright © 2023. All rights reserved.