public class SslPlugin<T> extends AbstractPlugin<T>
| Constructor and Description |
|---|
SslPlugin() |
SslPlugin(org.aoju.bus.core.io.ByteBuffer bufferPool) |
| Modifier and Type | Method and Description |
|---|---|
void |
initForClient() |
void |
initForClient(InputStream trustInputStream,
String trustPassword) |
void |
initForServer(InputStream keyStoreInputStream,
String keyStorePassword,
String keyPassword,
ClientAuth clientAuth) |
AsynchronousSocketChannel |
shouldAccept(AsynchronousSocketChannel channel)
监控已接收到的连接
|
afterRead, afterWrite, beforeRead, beforeWrite, preProcess, stateEventpublic SslPlugin()
public SslPlugin(org.aoju.bus.core.io.ByteBuffer bufferPool)
public void initForServer(InputStream keyStoreInputStream, String keyStorePassword, String keyPassword, ClientAuth clientAuth)
public void initForClient()
public void initForClient(InputStream trustInputStream, String trustPassword)
public final AsynchronousSocketChannel shouldAccept(AsynchronousSocketChannel channel)
NetMonitorshouldAccept in interface NetMonitorshouldAccept in class AbstractPlugin<T>channel - 当前已经建立连接的通道对象Copyright © 2021. All rights reserved.