Package | Description |
---|---|
org.apache.directory.shared.ldap.codec | |
org.apache.directory.shared.ldap.message | |
org.apache.directory.shared.ldap.message.spi |
Modifier and Type | Method and Description |
---|---|
Object |
LdapDecoder.decode(Object lock,
InputStream in)
Decodes a PDU from an input stream into a Snickers compiler generated
stub envelope.
|
ByteBuffer |
LdapEncoder.encodeBlocking(Object obj)
Encodes a LdapMessage, and return a ByteBuffer containing the resulting
PDU
|
void |
LdapEncoder.encodeBlocking(Object lock,
OutputStream out,
Object obj)
Encodes a LdapMessage, and calls the callback.
|
byte[] |
LdapEncoder.encodeToArray(Object obj)
Encodes a LdapMessage, and return a byte array containing the resulting
PDU
|
ProviderDecoder |
LdapProvider.getDecoder(BinaryAttributeDetector binaryAttributeDetector,
int maxPDUSize)
Gets the decoder associated with this provider.
|
ProviderEncoder |
LdapProvider.getEncoder()
Gets the encoder associated with this provider.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
MessageEncoder.encodeBlocking(Object obj) |
void |
MessageEncoder.encodeBlocking(Object lock,
OutputStream out,
Object obj) |
Modifier and Type | Method and Description |
---|---|
Object |
ProviderDecoder.decode(Object lock,
InputStream in)
Decodes a BER encoded LDAPv3 ASN.1 message envelope from a binary input
stream into an in memory containment tree using stub's generated by a
provider's ASN.1 stub compiler and associated runtime BER libraries.
|
ByteBuffer |
ProviderEncoder.encodeBlocking(Object obj)
Encodes a compiler stub specific ASN.1 message envelope containment tree
into byte array.
|
void |
ProviderEncoder.encodeBlocking(Object lock,
OutputStream out,
Object obj)
Encodes a compiler stub specific ASN.1 message envelope containment tree
onto an output stream.
|
abstract ProviderDecoder |
Provider.getDecoder(BinaryAttributeDetector binaryAttributeDetector,
int maxPDUSize)
Gets the decoder associated with this provider.
|
abstract ProviderEncoder |
Provider.getEncoder()
Gets the encoder associated with this provider.
|
static Provider |
Provider.getProvider()
Gets an instance of the configured Provider.
|
static Provider |
Provider.getProvider(Hashtable<Object,Object> env)
Gets an instance of the Provider specified by the
asn.1.berlib.provider
property value. |
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.