Package | Description |
---|---|
org.apache.directory.api.asn1 |
Provides the fundamental stateful codec interfaces.
|
org.apache.directory.api.asn1.ber.tlv | |
org.apache.directory.api.dsmlv2.request | |
org.apache.directory.api.ldap.codec | |
org.apache.directory.api.ldap.codec.api | |
org.apache.directory.api.ldap.codec.osgi | |
org.apache.directory.api.ldap.codec.search | |
org.apache.directory.api.ldap.util |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
Asn1Object.encode(ByteBuffer buffer)
Encode the object to a PDU.
|
Object |
Encoder.encode(Object object)
Encodes an "Object" and returns the encoded content as an Object.
|
Modifier and Type | Method and Description |
---|---|
static void |
BerValue.encode(ByteBuffer buffer,
BitString bitString)
Encode a BIT STRING value
|
static void |
BerValue.encode(ByteBuffer buffer,
boolean bool)
Encode a boolean value
|
static void |
BerValue.encode(ByteBuffer buffer,
byte[] bytes)
Encode an OctetString value
|
static void |
BerValue.encode(ByteBuffer buffer,
byte tag,
int value)
Encode an integer value
|
static void |
BerValue.encode(ByteBuffer buffer,
int value)
Encode an integer value
|
static void |
BerValue.encode(ByteBuffer buffer,
long value)
Encode a long value
|
static void |
BerValue.encode(ByteBuffer buffer,
Oid oid)
Encode an OID value
|
static void |
BerValue.encode(ByteBuffer buffer,
String string)
Encode a String value
|
static void |
BerValue.encodeEnumerated(ByteBuffer buffer,
int value)
Encode an enumerated value
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
AbstractResultResponseRequestDsml.encode(ByteBuffer buffer)
Encode the request.
|
ByteBuffer |
AbstractRequestDsml.encode(ByteBuffer buffer)
Encode the request.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
BasicControlDecorator.encode(ByteBuffer buffer)
Encode the object to a PDU.
|
Modifier and Type | Class and Description |
---|---|
class |
MessageEncoderException
Create an exception containing the messageId
|
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
LdapEncoder.encodeMessage(Asn1Buffer buffer,
LdapApiService codec,
Message message)
Generate the PDU which contains the encoded object.
|
ExtendedRequest |
LdapApiService.toJndi(ExtendedRequest modelRequest)
Creates a JNDI
ExtendedRequest from the model
ExtendedRequest . |
ExtendedResponse |
LdapApiService.toJndi(ExtendedResponse modelResponse)
Creates a JNDI
ExtendedResponse from the model
ExtendedResponse . |
Control |
LdapApiService.toJndiControl(Control modelControl)
Creates a JNDI control from the ldap model's control.
|
Modifier and Type | Method and Description |
---|---|
ExtendedRequest |
DefaultLdapCodecService.toJndi(ExtendedRequest modelRequest)
Creates a JNDI
ExtendedRequest from the model
ExtendedRequest . |
ExtendedResponse |
DefaultLdapCodecService.toJndi(ExtendedResponse modelResponse)
Creates a JNDI
ExtendedResponse from the model
ExtendedResponse . |
Control |
DefaultLdapCodecService.toJndiControl(Control control)
Creates a JNDI control from the ldap model's control.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
NotFilter.encode(ByteBuffer buffer)
Encode the NotFilter message to a PDU.
|
ByteBuffer |
ConnectorFilter.encode(ByteBuffer buffer)
Encode the ConnectorFilter message to a PDU.
|
ByteBuffer |
SubstringFilter.encode(ByteBuffer buffer)
Encode the Substrings Filter to a PDU.
|
ByteBuffer |
ExtensibleMatchFilter.encode(ByteBuffer buffer)
Encode the ExtensibleMatch Filters to a PDU.
|
ByteBuffer |
OrFilter.encode(ByteBuffer buffer)
Encode the OrFilter message to a PDU.
|
abstract ByteBuffer |
Filter.encode(ByteBuffer buffer)
Encode the Filter message to a PDU.
|
ByteBuffer |
PresentFilter.encode(ByteBuffer buffer)
Encode the PresentFilter message to a PDU.
|
ByteBuffer |
AndFilter.encode(ByteBuffer buffer)
Encode the AndFilter message to a PDU.
|
ByteBuffer |
AttributeValueAssertionFilter.encode(ByteBuffer buffer)
Encode the AttributeValueAssertion Filters to a PDU.
|
Modifier and Type | Method and Description |
---|---|
static Control |
JndiUtils.toJndiControl(LdapApiService codec,
Control control)
Deprecated.
We don't use JNDI anymore
|
static Control[] |
JndiUtils.toJndiControls(LdapApiService codec,
Control... controls)
Deprecated.
We don't use JNDI anymore
|
Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.