Package com.rabbitmq.client.impl.nio
Class SslEngineFrameBuilder
java.lang.Object
com.rabbitmq.client.impl.nio.FrameBuilder
com.rabbitmq.client.impl.nio.SslEngineFrameBuilder
Sub-class of
FrameBuilder that unwraps crypted data from the network.- Since:
- 4.4.0
-
Field Summary
Fields inherited from class com.rabbitmq.client.impl.nio.FrameBuilder
applicationBuffer, channel -
Constructor Summary
ConstructorsConstructorDescriptionSslEngineFrameBuilder(SSLEngine sslEngine, ByteBuffer plainIn, ByteBuffer cipherIn, ReadableByteChannel channel, int maxPayloadSize) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected booleanTells whether there's something to read in the application buffer or not.Methods inherited from class com.rabbitmq.client.impl.nio.FrameBuilder
readFrame
-
Constructor Details
-
SslEngineFrameBuilder
public SslEngineFrameBuilder(SSLEngine sslEngine, ByteBuffer plainIn, ByteBuffer cipherIn, ReadableByteChannel channel, int maxPayloadSize)
-
-
Method Details
-
somethingToRead
Description copied from class:FrameBuilderTells whether there's something to read in the application buffer or not. Tries to read from the network if necessary.- Overrides:
somethingToReadin classFrameBuilder- Returns:
- true if there's something to read in the application buffer
- Throws:
IOException
-
isUnderflowHandlingEnabled
public boolean isUnderflowHandlingEnabled()- Overrides:
isUnderflowHandlingEnabledin classFrameBuilder
-