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
ConstructorDescriptionSslEngineFrameBuilder
(SSLEngine sslEngine, ByteBuffer plainIn, ByteBuffer cipherIn, ReadableByteChannel channel, int maxPayloadSize) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected boolean
Tells 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:FrameBuilder
Tells whether there's something to read in the application buffer or not. Tries to read from the network if necessary.- Overrides:
somethingToRead
in classFrameBuilder
- Returns:
- true if there's something to read in the application buffer
- Throws:
IOException
-
isUnderflowHandlingEnabled
public boolean isUnderflowHandlingEnabled()- Overrides:
isUnderflowHandlingEnabled
in classFrameBuilder
-