Modifier and Type | Method and Description |
---|---|
ByteBuffer |
AbstractAsn1Object.encode(ByteBuffer buffer)
Encode the object to a PDU.
|
ByteBuffer |
Asn1Object.encode(ByteBuffer buffer)
Encode the object to a PDU.
|
Modifier and Type | Method and Description |
---|---|
static void |
Value.encode(ByteBuffer buffer,
BitString bitString)
Encode a BIT STRING value
|
static void |
Value.encode(ByteBuffer buffer,
boolean bool)
Encode a boolean value
|
static void |
Value.encode(ByteBuffer buffer,
byte[] bytes)
Encode an OctetString value
|
static void |
Value.encode(ByteBuffer buffer,
byte tag,
int value)
Encode an integer value
|
static void |
Value.encode(ByteBuffer buffer,
int value)
Encode an integer value
|
static void |
Value.encode(ByteBuffer buffer,
long value)
Encode a long value
|
static void |
Value.encode(ByteBuffer buffer,
OID oid)
Encode an OID value
|
static void |
Value.encode(ByteBuffer buffer,
String string)
Encode a String value
|
static void |
Value.encodeEnumerated(ByteBuffer buffer,
int value)
Encode an enumerated value
|
Modifier and Type | Method and Description |
---|---|
byte[] |
BinaryEncoder.encode(byte[] pArray)
Encodes a byte array and return the encoded data as a byte array.
|
void |
Asn1CodecEncoder.encode(org.apache.mina.core.session.IoSession session,
Object message,
org.apache.mina.filter.codec.ProtocolEncoderOutput out) |
Object |
Encoder.encode(Object pObject)
Encodes an "Object" and returns the encoded content as an Object.
|
Modifier and Type | Method and Description |
---|---|
Object |
Hex.encode(Object object)
Converts a String or an array of bytes into an array of characters
representing the hexidecimal values of each byte in order.
|
Object |
BinaryCodec.encode(Object raw)
Converts an array of raw binary data into an array of ascii 0 and 1
chars.
|
Modifier and Type | Method and Description |
---|---|
void |
StatefulEncoder.encode(Object obj)
Encodes a Message object piece by piece often emitting chunks of the
final PDU to the callback if present.
|
Modifier and Type | Method and Description |
---|---|
void |
HexEncoder.encode(Object obj)
Transforms a decoded ByteArray of binary data into a stream of ASCII hex
characters.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
LdapMessageDecorator.encode(ByteBuffer buffer) |
void |
LdapMessageDecorator.encodeProtocolOp(ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
protected void |
ErrorResponse.encodeProtocolOp(ByteBuffer buffer) |
protected void |
SearchResponse.encodeProtocolOp(ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
LdapMessageCodec.encode()
Generate the PDU which contains the encoded object.
|
ByteBuffer |
LdapResponseCodec.encode(ByteBuffer buffer)
Encode the AddResponse message to a PDU.
|
ByteBuffer |
LdapResultCodec.encode(ByteBuffer buffer)
Encode the LdapResult message to a PDU.
|
void |
LdapEncoder.encode(Object obj)
Encodes a LdapMessage, and calls the callback
|
protected abstract void |
LdapMessageCodec.encodeProtocolOp(ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbandonRequestCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the Abandon protocolOp part
|
Modifier and Type | Method and Description |
---|---|
protected void |
AddRequestCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the AddRequest message to a PDU.
|
protected void |
AddResponseCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the AddResponse message to a PDU.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
SimpleAuthentication.encode(ByteBuffer buffer)
Encode the simple authentication to a PDU.
|
ByteBuffer |
SaslCredentials.encode(ByteBuffer buffer)
Encode the sasl authentication to a PDU.
|
protected void |
BindRequestCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the BindRequest message to a PDU.
|
protected void |
BindResponseCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the BindResponse message to a PDU.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CompareRequestCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the CompareRequest message to a PDU.
|
protected void |
CompareResponseCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the CompareResponse message to a PDU.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
AbstractControl.encode(ByteBuffer buffer)
Encode the object to a PDU.
|
ByteBuffer |
CodecControl.encode(ByteBuffer buffer)
Generate the PDU which contains the Control.
|
ByteBuffer |
ControlImpl.encode(ByteBuffer buffer)
Encode the object to a PDU.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
SyncDoneValueControl.encode(ByteBuffer buffer)
Encode the SyncDoneValue control
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
SyncInfoValueControl.encode(ByteBuffer buffer)
Encode the SyncInfoValue control
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
SyncRequestValueControl.encode(ByteBuffer buffer)
Encode the SyncRequestValue control
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
SyncStateValueControl.encode(ByteBuffer buffer)
Encode the SyncStateValue control
|
Modifier and Type | Method and Description |
---|---|
protected void |
DelRequestCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the DelRequest message to a PDU.
|
protected void |
DelResponseCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the DelResponse message to a PDU.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ExtendedRequestCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the ExtendedRequest message to a PDU.
|
protected void |
ExtendedResponseCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the ExtendedResponse message to a PDU.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
Cancel.encode()
Encodes the cancel extended operation.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
CertGenerationObject.encode() |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
GracefulDisconnect.encode()
Encodes the gracefulDisconnect extended operation.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
GracefulShutdown.encode()
Encodes the gracefulShutdown extended operation.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
StoredProcedure.encode()
Encode the StoredProcedure message to a PDU.
|
Modifier and Type | Method and Description |
---|---|
protected void |
IntermediateResponseCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the IntermediateResponse message to a PDU.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ModifyRequestCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the ModifyRequest message to a PDU.
|
protected void |
ModifyResponseCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the ModifyResponse message to a PDU.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ModifyDNRequestCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the ModifyDNRequest message to a PDU.
|
protected void |
ModifyDNResponseCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the ModifyDNResponse message to a PDU.
|
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 |
OrFilter.encode(ByteBuffer buffer)
Encode the OrFilter message to a PDU.
|
ByteBuffer |
AttributeValueAssertionFilter.encode(ByteBuffer buffer)
Encode the AttributeValueAssertion Filters 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 |
AndFilter.encode(ByteBuffer buffer)
Encode the AndFilter message to a PDU.
|
ByteBuffer |
PresentFilter.encode(ByteBuffer buffer)
Encode the PresentFilter message to a PDU.
|
protected void |
SearchRequestCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the SearchRequest message to a PDU.
|
protected void |
SearchResultEntryCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the SearchResultEntry message to a PDU.
|
protected void |
SearchResultReferenceCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the SearchResultReference message to a PDU.
|
protected void |
SearchResultDoneCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the SearchResultDone message to a PDU.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
EntryChangeControl.encode(ByteBuffer buffer)
Encodes the entry change control.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
PagedResultsControl.encode(ByteBuffer buffer)
Encodes the paged search control.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
PersistentSearchControl.encode(ByteBuffer buffer)
Encodes the persistent search control.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
SubentriesControl.encode(ByteBuffer buffer)
Encodes the Subentries control.
|
Modifier and Type | Method and Description |
---|---|
protected void |
UnBindRequestCodec.encodeProtocolOp(ByteBuffer buffer)
Encode the Unbind protocolOp part
|
Modifier and Type | Method and Description |
---|---|
void |
MessageEncoder.encode(Object obj)
Encodes a Message object piece by piece often emitting chunks of the
final PDU to the callback if present.
|
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.