Class AddRequestFactory
- java.lang.Object
-
- org.apache.directory.api.ldap.codec.factory.AddRequestFactory
-
- All Implemented Interfaces:
Messagefactory
public final class AddRequestFactory extends Object implements Messagefactory
The AddRequest factory.- Author:
- Apache Directory Project
-
-
Field Summary
Fields Modifier and Type Field Description static AddRequestFactory
INSTANCE
The static instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encodeReverse(LdapApiService codec, Asn1Buffer buffer, Message message)
Encode the AddRequest message to a PDU.
-
-
-
Field Detail
-
INSTANCE
public static final AddRequestFactory INSTANCE
The static instance
-
-
Method Detail
-
encodeReverse
public void encodeReverse(LdapApiService codec, Asn1Buffer buffer, Message message)
Encode the AddRequest message to a PDU.
AddRequest :0x68 LL 0x04 LL entry 0x30 LL attributesList 0x30 LL attribute 0x04 LL attributeDescription 0x31 LL attributeValues 0x04 LL attributeValue ... 0x04 LL attributeValue ... 0x30 LL attribute 0x04 LL attributeDescription 0x31 LL attributeValue 0x04 LL attributeValue ... 0x04 LL attributeValue
- Specified by:
encodeReverse
in interfaceMessagefactory
- Parameters:
codec
- The LdapApiService instancebuffer
- The buffer where to put the PDUmessage
- the AbandonRequest to encode
-
-