Package com.rabbitmq.client
Interface SslEngineConfigurator
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SslEngineConfigurator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SslEngineConfigurator
andThen(SslEngineConfigurator after)
Returns a composed configurator that performs, in sequence, this operation followed by theafter
operation.void
configure(SSLEngine sslEngine)
Provides a hook to insert custom configuration of theSSLEngine
s used to connect to an AMQP server before they connect.
-
-
-
Method Detail
-
configure
void configure(SSLEngine sslEngine) throws IOException
Provides a hook to insert custom configuration of theSSLEngine
s used to connect to an AMQP server before they connect. Note this is used only when NIO are in use.- Throws:
IOException
-
andThen
default SslEngineConfigurator andThen(SslEngineConfigurator after)
Returns a composed configurator that performs, in sequence, this operation followed by theafter
operation.- Parameters:
after
- the operation to perform after this operation- Returns:
- a composed configurator that performs in sequence this
operation followed by the
after
operation - Throws:
NullPointerException
- ifafter
is null
-
-