public class LdapDecoder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private Asn1Decoder |
asn1Decoder
The ASN 1 decoder instance
|
private static boolean |
IS_DEBUG
A speedup for logger
|
private static org.slf4j.Logger |
LOG
The logger
|
static java.lang.String |
MAX_PDU_SIZE_ATTR
The maximum PDU size, stored into the LDAPSession's attribute
|
static java.lang.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(java.io.InputStream in,
LdapMessageContainer<MessageDecorator<? extends Message>> container)
Decodes a PDU from an input stream into a Ldap message container.
|
private static final org.slf4j.Logger LOG
private static final boolean IS_DEBUG
private Asn1Decoder asn1Decoder
public static final java.lang.String MESSAGE_CONTAINER_ATTR
public static final java.lang.String MAX_PDU_SIZE_ATTR
public LdapDecoder()
public Message decode(java.io.InputStream in, LdapMessageContainer<MessageDecorator<? extends Message>> container) throws DecoderException
in - The input stream to read and decode PDU bytes fromDecoderException