|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.codec.api.LdapDecoder
public class LdapDecoder
The LdapDecoder decodes ASN.1 BER encoded PDUs into LDAP messages
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
LdapDecoder()
Creates an instance of a Ldap Decoder implementation. |
|
| Method Summary | |
|---|---|
Message |
decode(InputStream in,
LdapMessageContainer<MessageDecorator<? extends Message>> container)
Decodes a PDU from an input stream into a Ldap message container. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MESSAGE_CONTAINER_ATTR
public static final String MAX_PDU_SIZE_ATTR
| Constructor Detail |
|---|
public LdapDecoder()
| Method Detail |
|---|
public Message decode(InputStream in,
LdapMessageContainer<MessageDecorator<? extends Message>> container)
throws DecoderException
in - The input stream to read and decode PDU bytes from
DecoderException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||