Class CopyFail
java.lang.Object
io.r2dbc.postgresql.message.frontend.CopyFail
- All Implemented Interfaces:
FrontendMessage
The CopyFail message.
-
Nested Class Summary
Nested classes/interfaces inherited from interface FrontendMessage
FrontendMessage.DirectEncoder -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CopyFail
Create a new message.- Parameters:
message- an error message to report as the cause of failure- Throws:
IllegalArgumentException- ifmessageisnull
-
-
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
-
equals
-
hashCode
-
toString
-