Class SASLInitialResponse
java.lang.Object
io.r2dbc.postgresql.message.frontend.SASLInitialResponse
- All Implemented Interfaces:
FrontendMessage
The SASLInitialResponse Message.
-
Nested Class Summary
Nested classes/interfaces inherited from interface FrontendMessage
FrontendMessage.DirectEncoder -
Constructor Summary
ConstructorsConstructorDescriptionSASLInitialResponse(ByteBuffer initialResponse, String name) Create a new message. -
Method Summary
-
Constructor Details
-
SASLInitialResponse
Create a new message.- Parameters:
initialResponse- SASL mechanism specific "Initial Response"name- name of the SASL authentication mechanism that the client selected- Throws:
IllegalArgumentException- ifnameisnull
-
-
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
-