public abstract class AbstractJsseEndpoint<S,U> extends AbstractEndpoint<S,U>
AbstractEndpoint.BindState, AbstractEndpoint.Handler<S>acceptor, acceptorThreadCount, acceptorThreadPriority, attributes, connections, internalExecutor, negotiableProtocols, paused, processorCache, running, sm, socketProperties, sslHostConfigs, threadPriority| Constructor and Description |
|---|
AbstractJsseEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createSSLContext(SSLHostConfig sslHostConfig)
Create the SSLContext for the given SSLHostConfig.
|
protected javax.net.ssl.SSLEngine |
createSSLEngine(java.lang.String sniHostName,
java.util.List<Cipher> clientRequestedCiphers,
java.util.List<java.lang.String> clientRequestedApplicationProtocols) |
protected java.net.InetSocketAddress |
getLocalAddress()
Obtain the network address the server socket is bound to.
|
protected abstract java.nio.channels.NetworkChannel |
getServerSocket() |
int |
getSniParseLimit() |
SSLImplementation |
getSslImplementation() |
java.lang.String |
getSslImplementationName() |
protected void |
initialiseSsl() |
boolean |
isAlpnSupported()
Identifies if the endpoint supports ALPN.
|
protected void |
setDefaultSslHostConfig(SSLHostConfig sslHostConfig) |
void |
setSniParseLimit(int sniParseLimit) |
void |
setSslImplementationName(java.lang.String s) |
void |
unbind() |
addNegotiatedProtocol, addSslHostConfig, addSslHostConfig, awaitConnectionsClose, bind, closeServerSocketGraceful, closeSocket, countDownConnection, countUpOrAwaitConnection, createExecutor, createSocketProcessor, destroy, destroySocket, destroySsl, doCloseServerSocket, findSslHostConfigs, generateCertificateDebug, getAcceptCount, getAcceptorThreadCount, getAcceptorThreadPriority, getAddress, getAttribute, getBindOnInit, getBindState, getConnectionCount, getConnectionLinger, getConnections, getConnectionTimeout, getCurrentThreadCount, getCurrentThreadsBusy, getDaemon, getDefaultSSLHostConfigName, getDeferAccept, getDomain, getExecutor, getExecutorTerminationTimeoutMillis, getHandler, getId, getKeepAliveTimeout, getLocalPort, getLog, getLogCertificate, getMaxConnections, getMaxKeepAliveRequests, getMaxThreads, getMinSpareThreads, getName, getPort, getPortOffset, getPortWithOffset, getProperty, getSocketProperties, getSSLHostConfig, getTcpNoDelay, getThreadPriority, getUseAsyncIO, getUseSendfile, getUseVirtualThreads, getUtilityExecutor, hasNegotiableProtocols, init, initializeConnectionLatch, isPaused, isRunning, isSSLEnabled, logCertificate, pause, processSocket, releaseSSLContext, reloadSslHostConfig, reloadSslHostConfigs, removeSslHostConfig, resume, serverSocketAccept, setAcceptCount, setAcceptorThreadCount, setAcceptorThreadPriority, setAddress, setAttribute, setBindOnInit, setConnectionLinger, setConnectionTimeout, setDaemon, setDefaultSSLHostConfigName, setDomain, setExecutor, setExecutorTerminationTimeoutMillis, setHandler, setKeepAliveTimeout, setMaxConnections, setMaxKeepAliveRequests, setMaxThreads, setMinSpareThreads, setName, setPort, setPortOffset, setProperty, setSocketOptions, setSSLEnabled, setTcpNoDelay, setThreadPriority, setUseAsyncIO, setUseSendfile, setUseVirtualThreads, setUtilityExecutor, shutdownExecutor, start, startAcceptorThread, startInternal, stop, stopInternal, toTimeout, unlockAcceptpublic java.lang.String getSslImplementationName()
public void setSslImplementationName(java.lang.String s)
public SSLImplementation getSslImplementation()
public int getSniParseLimit()
public void setSniParseLimit(int sniParseLimit)
protected void initialiseSsl()
throws java.lang.Exception
java.lang.Exceptionprotected void createSSLContext(SSLHostConfig sslHostConfig) throws java.lang.IllegalArgumentException
AbstractEndpointcreateSSLContext in class AbstractEndpoint<S,U>sslHostConfig - The SSLHostConfig for which the SSLContext should be
createdjava.lang.IllegalArgumentExceptionprotected javax.net.ssl.SSLEngine createSSLEngine(java.lang.String sniHostName,
java.util.List<Cipher> clientRequestedCiphers,
java.util.List<java.lang.String> clientRequestedApplicationProtocols)
public boolean isAlpnSupported()
AbstractEndpointtrue implies that AbstractEndpoint.isSSLEnabled() will also return
true.isAlpnSupported in class AbstractEndpoint<S,U>true if the endpoint supports ALPN in its current
configuration, otherwise false.public void unbind()
throws java.lang.Exception
unbind in class AbstractEndpoint<S,U>java.lang.Exceptionprotected abstract java.nio.channels.NetworkChannel getServerSocket()
protected final java.net.InetSocketAddress getLocalAddress()
throws java.io.IOException
AbstractEndpointgetLocalAddress in class AbstractEndpoint<S,U>java.io.IOException - If there is a problem determining the currently bound
socketprotected void setDefaultSslHostConfig(SSLHostConfig sslHostConfig)
setDefaultSslHostConfig in class AbstractEndpoint<S,U>Copyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.