Class BindRequestFactory
- java.lang.Object
-
- org.apache.directory.api.ldap.codec.factory.BindRequestFactory
-
- All Implemented Interfaces:
Messagefactory
public final class BindRequestFactory extends Object implements Messagefactory
The BindRequest factory.- Author:
- Apache Directory Project
-
-
Field Summary
Fields Modifier and Type Field Description static BindRequestFactoryINSTANCEThe static instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencodeReverse(LdapApiService codec, Asn1Buffer buffer, Message message)Encode the BindRequest message to a PDU.
-
-
-
Field Detail
-
INSTANCE
public static final BindRequestFactory INSTANCE
The static instance
-
-
Method Detail
-
encodeReverse
public void encodeReverse(LdapApiService codec, Asn1Buffer buffer, Message message)
Encode the BindRequest message to a PDU.
BindRequest :0x60 LL 0x02 LL version 0x80 LL simple 0x04 LL name / authentication.encode() \ 0x83 LL 0x04 LL mechanism [0x04 LL credential]- Specified by:
encodeReversein interfaceMessagefactory- Parameters:
codec- The LdapApiService instancebuffer- The buffer where to put the PDUmessage- the BindRequest to encode
-
-