Class CopyDone
java.lang.Object
io.r2dbc.postgresql.message.frontend.CopyDone
- All Implemented Interfaces:
FrontendMessage, FrontendMessage.DirectEncoder
public final class CopyDone
extends Object
implements FrontendMessage, FrontendMessage.DirectEncoder
The CopyDone message.
-
Nested Class Summary
Nested classes/interfaces inherited from interface FrontendMessage
FrontendMessage.DirectEncoder -
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
A static singleton instance that should always be used.
-
-
Method Details
-
encode
Description copied from interface:FrontendMessageEncode a message into aByteBuf.- Specified by:
encodein interfaceFrontendMessage- Parameters:
byteBufAllocator- the byteBufAllocator to use to get aByteBufto write into- Returns:
- a
Publisherthat produces theByteBufcontaining the encoded message
-
encode
public void encode(io.netty.buffer.ByteBuf byteBuf) Description copied from interface:FrontendMessage.DirectEncoderEncode a message directly by writing its content to aByteBuf.- Specified by:
encodein interfaceFrontendMessage.DirectEncoder- Parameters:
byteBuf- the targetByteBufto write into
-
toString
-