public class LdapDecoder extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MAX_PDU_SIZE_ATTR
The maximum PDU size, stored into the LDAPSession's attribute
|
static String |
MESSAGE_CONTAINER_ATTR
The name of the LdapSession's attribute for the LDAP container used during the decoding
|
Constructor and Description |
---|
LdapDecoder()
Creates an instance of a Ldap Decoder implementation.
|
Modifier and Type | Method and Description |
---|---|
Message |
decode(InputStream in,
LdapMessageContainer<? extends Message> container)
Decodes a PDU from an input stream into a Ldap message container.
|
public static final String MESSAGE_CONTAINER_ATTR
public static final String MAX_PDU_SIZE_ATTR
public LdapDecoder()
public Message decode(InputStream in, LdapMessageContainer<? extends Message> container) throws DecoderException
in
- The input stream to read and decode PDU bytes fromcontainer
- The LdapMessageContainer containing the message to decodeDecoderException
- If the decoding failedCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.