| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final ByteBufferPool | |
| private static final ByteBufferPool | |
| private final Executor | |
| private volatile SSLContext |
| Access | Constructor and Description |
|---|---|
| public | UndertowXnioSsl(final Xnio
the XNIO instance to associate with xnio, final OptionMap the options for this provider optionMap)Construct a new instance. |
| public | UndertowXnioSsl(final Xnio
the XNIO instance to associate with xnio, final OptionMap the options for this provider optionMap, final SSLContext the SSL context to use for this instance sslContext)Construct a new instance. |
| public | UndertowXnioSsl(final Xnio
the XNIO instance to associate with xnio, final OptionMap the options for this provider optionMap, final SSLContext the SSL context to use for this instance sslContext, final Executor Executor instance used to run delegatedTaskExecutor)delegated tasks.Construct a new instance. |
| public | UndertowXnioSsl(final Xnio
the XNIO instance to associate with xnio, final OptionMap the options for this provider optionMap, ByteBufferPool bufferPool)Construct a new instance. |
| public | UndertowXnioSsl(final Xnio
the XNIO instance to associate with xnio, final OptionMap the options for this provider optionMap, ByteBufferPool bufferPool, final SSLContext the SSL context to use for this instance sslContext)Construct a new instance. |
| public | UndertowXnioSsl(final Xnio
the XNIO instance to associate with xnio, final OptionMap the options for this provider optionMap, ByteBufferPool bufferPool, final SSLContext the SSL context to use for this instance sslContext, final Executor Executor instance used to run delegatedTaskExecutor)delegated tasks.Construct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public IoFuture | connectSsl(final XnioWorker
the worker to use worker, final InetSocketAddress the local bind address bindAddress, final InetSocketAddress the destination connection address destination, final ChannelListener<? super ConnectedSslStreamChannel> the initial open-connection listener openListener, final ChannelListener<? super BoundChannel> the bind listener bindListener, final OptionMap the option map optionMap)Implements abstract org. Create an SSL connection to a remote host. |
| public AcceptingChannel | createSslConnectionServer(final XnioWorker
the worker to use worker, final InetSocketAddress the address to bind to bindAddress, final ChannelListener<? super AcceptingChannel<SslConnection>> the initial accept listener acceptListener, final OptionMap the initial configuration for the server optionMap)Implements abstract org. Create a bound TCP SSL server. |
| private static SSLEngine | Returns: the configured SSL enginethe SSL context sslContext, OptionMap the SSL options optionMap, InetSocketAddress the peer address of the connection peerAddress, boolean whether this SSL connection is run in client mode client)Create a new SSL engine, configured from an option map. |
| public AcceptingChannel | createSslTcpServer(final XnioWorker
the worker to use worker, final InetSocketAddress the address to bind to bindAddress, final ChannelListener<? super AcceptingChannel<ConnectedSslStreamChannel>> the initial accept listener acceptListener, final OptionMap the initial configuration for the server optionMap)Implements abstract org. Create a bound TCP SSL server. |
| pack-priv Executor | Returns: the delegated task executor or nullGet the |
| private InetSocketAddress | |
| public static SslConduit | |
| public SSLContext | |
| public static SSLEngine | Returns: the SSL engineGet the SSL engine for a given connection. |
| public IoFuture | openSslConnection(final XnioWorker
the worker to use worker, final InetSocketAddress the local bind address bindAddress, final InetSocketAddress the destination connection address destination, final ChannelListener<? super SslConnection> the initial open-connection listener openListener, final ChannelListener<? super BoundChannel> the bind listener bindListener, final OptionMap the option map optionMap)Implements abstract org. Create an SSL connection to a remote host. |
| public IoFuture | openSslConnection(final XnioIoThread
the IO Thread to use ioThread, final InetSocketAddress the local bind address bindAddress, final InetSocketAddress the destination connection address destination, final ChannelListener<? super SslConnection> the initial open-connection listener openListener, final ChannelListener<? super BoundChannel> the bind listener bindListener, final OptionMap the option map optionMap)Implements abstract org. Create an SSL connection to a remote host. |
| private void | |
| private IoFuture | |
| public void | |
| public SslConnection | |
| public SslConnection | |
| public SslConnection |
| bufferPool | back to summary |
|---|---|
| private final ByteBufferPool bufferPool | |
| DEFAULT_BUFFER_POOL | back to summary |
|---|---|
| private static final ByteBufferPool DEFAULT_BUFFER_POOL | |
| delegatedTaskExecutor | back to summary |
|---|---|
| private final Executor delegatedTaskExecutor | |
| sslContext | back to summary |
|---|---|
| private volatile SSLContext sslContext | |
| UndertowXnioSsl | back to summary |
|---|---|
| public UndertowXnioSsl(final Xnio xnio, final OptionMap optionMap) throws NoSuchProviderException, NoSuchAlgorithmException, KeyManagementException Construct a new instance.
| |
| UndertowXnioSsl | back to summary |
|---|---|
| public UndertowXnioSsl(final Xnio xnio, final OptionMap optionMap, final SSLContext sslContext) Construct a new instance.
| |
| UndertowXnioSsl | back to summary |
|---|---|
| public UndertowXnioSsl(final Xnio xnio, final OptionMap optionMap, final SSLContext sslContext, final Executor delegatedTaskExecutor) Construct a new instance.
| |
| UndertowXnioSsl | back to summary |
|---|---|
| public UndertowXnioSsl(final Xnio xnio, final OptionMap optionMap, ByteBufferPool bufferPool) throws NoSuchProviderException, NoSuchAlgorithmException, KeyManagementException Construct a new instance.
| |
| UndertowXnioSsl | back to summary |
|---|---|
| public UndertowXnioSsl(final Xnio xnio, final OptionMap optionMap, ByteBufferPool bufferPool, final SSLContext sslContext) Construct a new instance.
| |
| UndertowXnioSsl | back to summary |
|---|---|
| public UndertowXnioSsl(final Xnio xnio, final OptionMap optionMap, ByteBufferPool bufferPool, final SSLContext sslContext, final Executor delegatedTaskExecutor) Construct a new instance.
| |
| connectSsl | back to summary |
|---|---|
| public IoFuture Implements abstract org. Doc from org. Create an SSL connection to a remote host.
| |
| createSslConnectionServer | back to summary |
|---|---|
| public AcceptingChannel Implements abstract org. Doc from org. Create a bound TCP SSL server.
| |
| createSSLEngine | back to summary |
|---|---|
| private static SSLEngine createSSLEngine(SSLContext sslContext, OptionMap optionMap, InetSocketAddress peerAddress, boolean client) Create a new SSL engine, configured from an option map.
| |
| createSslTcpServer | back to summary |
|---|---|
| public AcceptingChannel Implements abstract org. Doc from org. Create a bound TCP SSL server.
| |
| getDelegatedTaskExecutor | back to summary |
|---|---|
| pack-priv Executor getDelegatedTaskExecutor() Get the
| |
| getPeerAddress | back to summary |
|---|---|
| private InetSocketAddress getPeerAddress(URI destinationURI) | |
| getSslConduit | back to summary |
|---|---|
| public static SslConduit getSslConduit(SslConnection connection) | |
| getSslContext | back to summary |
|---|---|
| public SSLContext getSslContext() Get the JSSE SSL context for this provider instance.
| |
| getSslEngine | back to summary |
|---|---|
| public static SSLEngine getSslEngine(SslConnection connection) Get the SSL engine for a given connection.
| |
| openSslConnection | back to summary |
|---|---|
| public IoFuture Implements abstract org. Doc from org. Create an SSL connection to a remote host.
| |
| openSslConnection | back to summary |
|---|---|
| public IoFuture Implements abstract org. Doc from org. Create an SSL connection to a remote host.
| |
| setSNIHostName | back to summary |
|---|---|
| private void setSNIHostName(InetSocketAddress destination, OptionMap optionMap, SSLParameters params) | |
| setupSslConnection | back to summary |
|---|---|
| private IoFuture | |
| updateSSLContext | back to summary |
|---|---|
| public void updateSSLContext(SSLContext context) Updates the SSLContext that is in use. All new connections will use this new context, however established connections will not be affected.
| |
| wrapExistingConnection | back to summary |
|---|---|
| public SslConnection wrapExistingConnection(StreamConnection connection, OptionMap optionMap) | |
| wrapExistingConnection | back to summary |
|---|---|
| public SslConnection wrapExistingConnection(StreamConnection connection, OptionMap optionMap, boolean clientMode) | |
| wrapExistingConnection | back to summary |
|---|---|
| public SslConnection wrapExistingConnection(StreamConnection connection, OptionMap optionMap, URI destinationURI) | |
| Modifier and Type | Field and Description |
|---|---|
| private final InetSocketAddress | |
| private final FutureResult | |
| private final ChannelListener | |
| private final OptionMap |
| Access | Constructor and Description |
|---|---|
| pack-priv | StreamConnectionChannelListener(OptionMap optionMap, InetSocketAddress destination, FutureResult<SslConnection> futureResult, ChannelListener<? super SslConnection> openListener)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | handleEvent(final StreamConnection
the channel event connection)Implements org. Handle the event on this channel. |
| destination | back to summary |
|---|---|
| private final InetSocketAddress destination | |
| futureResult | back to summary |
|---|---|
| private final FutureResult<SslConnection> futureResult | |
| openListener | back to summary |
|---|---|
| private final ChannelListener<? super SslConnection> openListener | |
| optionMap | back to summary |
|---|---|
| private final OptionMap optionMap | |
| StreamConnectionChannelListener | back to summary |
|---|---|
| pack-priv StreamConnectionChannelListener(OptionMap optionMap, InetSocketAddress destination, FutureResult<SslConnection> futureResult, ChannelListener<? super SslConnection> openListener) | |
| handleEvent | back to summary |
|---|---|
| public void handleEvent(final StreamConnection connection) Implements org. Doc from org. Handle the event on this channel.
| |