Class SearchResultEntryFactory
- java.lang.Object
-
- org.apache.directory.api.ldap.codec.factory.ResponseFactory
-
- org.apache.directory.api.ldap.codec.factory.SearchResultEntryFactory
-
- All Implemented Interfaces:
Messagefactory
public final class SearchResultEntryFactory extends ResponseFactory
The SearchResultEntry factory.- Author:
- Apache Directory Project
-
-
Field Summary
Fields Modifier and Type Field Description static SearchResultEntryFactoryINSTANCEThe static instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencodeReverse(LdapApiService codec, Asn1Buffer buffer, Message message)Encode the SearchResultEntry message to a PDU.-
Methods inherited from class org.apache.directory.api.ldap.codec.factory.ResponseFactory
encodeLdapResultReverse, encodeReferralUrls, encodeReverse
-
-
-
-
Field Detail
-
INSTANCE
public static final SearchResultEntryFactory INSTANCE
The static instance
-
-
Method Detail
-
encodeReverse
public void encodeReverse(LdapApiService codec, Asn1Buffer buffer, Message message)
Encode the SearchResultEntry message to a PDU.
SearchResultEntry :0x64 LL 0x04 LL objectName 0x30 LL attributes 0x30 LL partialAttributeList 0x04 LL type 0x31 LL vals 0x04 LL attributeValue ... 0x04 LL attributeValue ... 0x30 LL partialAttributeList 0x04 LL type 0x31 LL vals 0x04 LL attributeValue ... 0x04 LL attributeValue- Parameters:
buffer- The buffer where to put the PDUmessage- the SearchResultEntry to encodecodec- The LdapApiService instance
-
-