| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
Asn1Object.encode(java.nio.ByteBuffer buffer)
Encode the object to a PDU.
|
java.lang.Object |
Encoder.encode(java.lang.Object object)
Encodes an "Object" and returns the encoded content as an Object.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
BerValue.encode(java.nio.ByteBuffer buffer,
BitString bitString)
Encode a BIT STRING value
|
static void |
BerValue.encode(java.nio.ByteBuffer buffer,
boolean bool)
Encode a boolean value
|
static void |
BerValue.encode(java.nio.ByteBuffer buffer,
byte[] bytes)
Encode an OctetString value
|
static void |
BerValue.encode(java.nio.ByteBuffer buffer,
byte tag,
int value)
Encode an integer value
|
static void |
BerValue.encode(java.nio.ByteBuffer buffer,
int value)
Encode an integer value
|
static void |
BerValue.encode(java.nio.ByteBuffer buffer,
long value)
Encode a long value
|
static void |
BerValue.encode(java.nio.ByteBuffer buffer,
Oid oid)
Encode an OID value
|
static void |
BerValue.encode(java.nio.ByteBuffer buffer,
java.lang.String string)
Encode a String value
|
static void |
BerValue.encodeEnumerated(java.nio.ByteBuffer buffer,
int value)
Encode an enumerated value
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Dsmlv2Engine.bind(int messageId)
Binds to the ldap server
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
AbstractRequestDsml.encode(java.nio.ByteBuffer buffer) |
java.nio.ByteBuffer |
AbstractResultResponseRequestDsml.encode(java.nio.ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
BasicControlDecorator.encode(java.nio.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 |
|---|---|
java.nio.ByteBuffer |
ExtendedResponseDecorator.encode(java.nio.ByteBuffer buffer)
Encode the ExtendedResponse message to a PDU.
|
java.nio.ByteBuffer |
Decorator.encode(java.nio.ByteBuffer buffer)
Encode the object to a PDU.
|
java.nio.ByteBuffer |
ExtendedRequestDecorator.encode(java.nio.ByteBuffer buffer)
Encode the ExtendedRequest message to a PDU.
|
private java.nio.ByteBuffer |
LdapEncoder.encodeControl(java.nio.ByteBuffer buffer,
Control control)
Encode a control to a byte[]
|
java.nio.ByteBuffer |
LdapEncoder.encodeMessage(Message message)
Generate the PDU which contains the encoded object.
|
static void |
LdapEncoder.encodeReferral(java.nio.ByteBuffer buffer,
Referral referral)
Encode the Referral message to a PDU.
|
javax.naming.ldap.ExtendedRequest |
LdapApiService.toJndi(ExtendedRequest modelRequest)
Creates a JNDI
ExtendedResponse from the model
ExtendedResponse. |
javax.naming.ldap.ExtendedResponse |
LdapApiService.toJndi(ExtendedResponse modelResponse)
Creates a JNDI
ExtendedResponse from the model
ExtendedResponse. |
javax.naming.ldap.Control |
LdapApiService.toJndiControl(Control modelControl)
Creates a JNDI control from the ldap model's control.
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
CascadeDecorator.encode(java.nio.ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
ManageDsaITDecorator.encode(java.nio.ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
ProxiedAuthzDecorator.encode(java.nio.ByteBuffer buffer)
Encodes the ProxiedAuthz control.
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
EntryChangeDecorator.encode(java.nio.ByteBuffer buffer)
Encodes the entry change control.
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
PagedResultsDecorator.encode(java.nio.ByteBuffer buffer)
Encodes the paged search control.
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
PersistentSearchDecorator.encode(java.nio.ByteBuffer buffer)
Encodes the persistent search control.
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
SubentriesDecorator.encode(java.nio.ByteBuffer buffer)
Encodes the Subentries control.
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
SortResponseDecorator.encode(java.nio.ByteBuffer buffer) |
java.nio.ByteBuffer |
SortRequestDecorator.encode(java.nio.ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
ModifyDnRequestDecorator.encode(java.nio.ByteBuffer buffer)
Encode the ModifyDNRequest message to a PDU.
|
java.nio.ByteBuffer |
AddResponseDecorator.encode(java.nio.ByteBuffer buffer)
Encode the AddResponse message to a PDU.
|
java.nio.ByteBuffer |
ModifyResponseDecorator.encode(java.nio.ByteBuffer buffer)
Encode the ModifyResponse message to a PDU.
|
java.nio.ByteBuffer |
SearchRequestDecorator.encode(java.nio.ByteBuffer buffer)
Encode the SearchRequest message to a PDU.
|
java.nio.ByteBuffer |
DeleteResponseDecorator.encode(java.nio.ByteBuffer buffer)
Encode the DelResponse message to a PDU.
|
java.nio.ByteBuffer |
BindRequestDecorator.encode(java.nio.ByteBuffer buffer)
Encode the BindRequest message to a PDU.
|
java.nio.ByteBuffer |
AddRequestDecorator.encode(java.nio.ByteBuffer buffer)
Encode the AddRequest message to a PDU.
|
java.nio.ByteBuffer |
CompareRequestDecorator.encode(java.nio.ByteBuffer buffer)
Encode the CompareRequest message to a PDU.
|
java.nio.ByteBuffer |
BindResponseDecorator.encode(java.nio.ByteBuffer buffer)
Encode the BindResponse message to a PDU.
|
java.nio.ByteBuffer |
SearchResultEntryDecorator.encode(java.nio.ByteBuffer buffer)
Encode the SearchResultEntry message to a PDU.
|
java.nio.ByteBuffer |
SearchResultDoneDecorator.encode(java.nio.ByteBuffer buffer)
Encode the SearchResultDone message to a PDU.
|
java.nio.ByteBuffer |
DeleteRequestDecorator.encode(java.nio.ByteBuffer buffer)
Encode the DelRequest message to a PDU.
|
java.nio.ByteBuffer |
IntermediateResponseDecorator.encode(java.nio.ByteBuffer buffer)
Encode the IntermediateResponse message to a PDU.
|
java.nio.ByteBuffer |
CompareResponseDecorator.encode(java.nio.ByteBuffer buffer)
Encode the CompareResponse message to a PDU.
|
java.nio.ByteBuffer |
ModifyDnResponseDecorator.encode(java.nio.ByteBuffer buffer)
Encode the ModifyDnResponse message to a PDU.
|
java.nio.ByteBuffer |
AbandonRequestDecorator.encode(java.nio.ByteBuffer buffer)
Encode the Abandon protocolOp part
|
java.nio.ByteBuffer |
LdapResultDecorator.encode(java.nio.ByteBuffer buffer)
Encode the LdapResult message to a PDU.
|
java.nio.ByteBuffer |
ModifyRequestDecorator.encode(java.nio.ByteBuffer buffer)
Encode the ModifyRequest message to a PDU.
|
java.nio.ByteBuffer |
UnbindRequestDecorator.encode(java.nio.ByteBuffer buffer)
Encode the Unbind protocolOp part
|
java.nio.ByteBuffer |
SearchResultReferenceDecorator.encode(java.nio.ByteBuffer buffer)
Encode the SearchResultReference message to a PDU.
|
| Modifier and Type | Method and Description |
|---|---|
javax.naming.ldap.ExtendedRequest |
DefaultLdapCodecService.toJndi(ExtendedRequest modelRequest)
Creates a JNDI
ExtendedResponse from the model
ExtendedResponse. |
javax.naming.ldap.ExtendedResponse |
DefaultLdapCodecService.toJndi(ExtendedResponse modelResponse)
Creates a JNDI
ExtendedResponse from the model
ExtendedResponse. |
javax.naming.ldap.Control |
DefaultLdapCodecService.toJndiControl(Control control)
Creates a JNDI control from the ldap model's control.
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
ExtensibleMatchFilter.encode(java.nio.ByteBuffer buffer)
Encode the ExtensibleMatch Filters to a PDU.
|
java.nio.ByteBuffer |
ConnectorFilter.encode(java.nio.ByteBuffer buffer)
Encode the ConnectorFilter message to a PDU.
|
java.nio.ByteBuffer |
AndFilter.encode(java.nio.ByteBuffer buffer)
Encode the AndFilter message to a PDU.
|
java.nio.ByteBuffer |
PresentFilter.encode(java.nio.ByteBuffer buffer)
Encode the PresentFilter message to a PDU.
|
java.nio.ByteBuffer |
AttributeValueAssertionFilter.encode(java.nio.ByteBuffer buffer)
Encode the AttributeValueAssertion Filters to a PDU.
|
java.nio.ByteBuffer |
SubstringFilter.encode(java.nio.ByteBuffer buffer)
Encode the Substrings Filter to a PDU.
|
java.nio.ByteBuffer |
NotFilter.encode(java.nio.ByteBuffer buffer)
Encode the NotFilter message to a PDU.
|
java.nio.ByteBuffer |
OrFilter.encode(java.nio.ByteBuffer buffer)
Encode the OrFilter message to a PDU.
|
abstract java.nio.ByteBuffer |
Filter.encode(java.nio.ByteBuffer buffer)
Encode the Filter message to a PDU.
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
AdShowDeletedDecorator.encode(java.nio.ByteBuffer buffer)
Encode the object to a PDU.
|
java.nio.ByteBuffer |
AdDirSyncDecorator.encode(java.nio.ByteBuffer buffer)
Encode the AdDirSync control.
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
PasswordPolicyDecorator.encode(java.nio.ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
SyncRequestValueDecorator.encode(java.nio.ByteBuffer buffer)
Encode the SyncRequestValue control
|
java.nio.ByteBuffer |
SyncStateValueDecorator.encode(java.nio.ByteBuffer buffer)
Encode the SyncStateValue control
|
java.nio.ByteBuffer |
SyncDoneValueDecorator.encode(java.nio.ByteBuffer buffer)
Encode the SyncDoneValue control
|
java.nio.ByteBuffer |
SyncInfoValueDecorator.encode(java.nio.ByteBuffer buffer)
Encode the SyncInfoValue control
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
VirtualListViewRequestDecorator.encode(java.nio.ByteBuffer buffer)
Encode the object to a PDU.
|
java.nio.ByteBuffer |
VirtualListViewResponseDecorator.encode(java.nio.ByteBuffer buffer)
Encode the object to a PDU.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) java.nio.ByteBuffer |
CancelRequestDecorator.encodeInternal()
Encodes the cancel extended operation.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) java.nio.ByteBuffer |
CertGenerationRequestDecorator.encodeInternal()
Encodes the CertGenerationRequest extended operation.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) java.nio.ByteBuffer |
GracefulDisconnectResponseDecorator.encodeInternal()
Encodes the gracefulDisconnect extended operation.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) java.nio.ByteBuffer |
GracefulShutdownRequestDecorator.encodeInternal()
Encodes the gracefulShutdown extended operation.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) java.nio.ByteBuffer |
PasswordModifyResponseDecorator.encodeInternal()
Encodes the PasswordModifyResponse extended operation.
|
(package private) java.nio.ByteBuffer |
PasswordModifyRequestDecorator.encodeInternal()
Encodes the PasswordModifyRequest extended operation.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) java.nio.ByteBuffer |
StoredProcedureRequestDecorator.encodeInternal()
Encodes the StoredProcedure extended operation.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) java.nio.ByteBuffer |
WhoAmIResponseDecorator.encodeInternal()
Encodes the WhoAmIResponse extended operation.
|
| Modifier and Type | Method and Description |
|---|---|
static javax.naming.ldap.Control |
JndiUtils.toJndiControl(LdapApiService codec,
Control control) |
static javax.naming.ldap.Control[] |
JndiUtils.toJndiControls(LdapApiService codec,
Control... controls) |