Uses of Class
org.forgerock.opendj.ldap.DecodeOptions
Package
Description
Classes and interfaces providing I/O functionality.
Classes and interfaces for core types including connections, entries, and
attributes.
Classes and interfaces for common LDAP controls.
Classes and interfaces for core LDAP requests/responses.
-
Uses of DecodeOptions in org.forgerock.opendj.io
Modifier and TypeMethodDescriptionstatic LdapReader
Ldap.getReader
(Asn1Reader asn1Reader, DecodeOptions options) Creates a new LDAP reader which will read LDAP messages from an ASN.1 reader using the provided decoding options.static Attribute
Ldap.readAttribute
(Asn1Reader reader, DecodeOptions options, Schema schema) Reads the next ASN.1 element from the providedASN1Reader
as anAttribute
.static Entry
Ldap.readEntry
(Asn1Reader reader, DecodeOptions options) Reads the next ASN.1 element from the providedASN1Reader
as anEntry
.static Modification
Ldap.readModification
(Asn1Reader reader, DecodeOptions options, Schema schema) Reads the next ASN.1 element from the providedASN1Reader
as aModification
. -
Uses of DecodeOptions in org.forgerock.opendj.ldap
Modifier and TypeFieldDescriptionstatic final Option<DecodeOptions>
CommonLdapOptions.DECODE_OPTIONS
Sets the decoding options which will be used to control how requests and responses are decoded.static final Option<DecodeOptions>
CommonLdapOptions.DECODE_OPTIONS
Sets the decoding options which will be used to control how requests and responses are decoded.static final Option<DecodeOptions>
CommonLdapOptions.DECODE_OPTIONS
Sets the decoding options which will be used to control how requests and responses are decoded.Modifier and TypeMethodDescriptionDecodeOptions.setAttributeFactory
(Function<AttributeDescription, Attribute> factory) Sets the function which will be used for creating newAttribute
instances when decoding attributes.DecodeOptions.setEntryFactory
(Function<Dn, Entry> factory) Sets the function which will be used for creating newEntry
instances when decoding entries.Sets theSchema
which will be used for decoding distinguished names, attribute descriptions, and other objects which require a schema in order to be decoded.DecodeOptions.setSchemaResolver
(SchemaResolver resolver) Sets the strategy for selecting whichSchema
should be used for decoding distinguished names, attribute descriptions, and other objects which require aSchema
in order to be decoded.ModifierConstructorDescriptionDecodeOptions
(DecodeOptions options) Creates a new set of decode options having the same initial set of options as the provided set of decode options. -
Uses of DecodeOptions in org.forgerock.opendj.ldap.controls
Modifier and TypeMethodDescriptionControlDecoder.decodeControl
(Control control, DecodeOptions options) Decodes the provided control as aControl
of typeC
.Modifier and TypeMethodDescriptionstatic <C extends Control>
ControlDecoder<C>Controls.newRequestControlDecoderWithValue
(Class<C> controlClass, String oid, String alias, BiFunction<Control, DecodeOptions, C, IOException> decoder) Creates a new control decoder for request controls which expects to find a value for the decoded control.static <C extends Control>
ControlDecoder<C>Controls.newResponseControlDecoderWithValue
(Class<C> controlClass, String oid, String alias, BiFunction<Control, DecodeOptions, C, IOException> decoder) Creates a new control decoder for response controls which expects to find a value for the decoded control. -
Uses of DecodeOptions in org.forgerock.opendj.ldap.messages
Modifier and TypeMethodDescriptionExtendedRequestDecoder.decodeExtendedRequest
(ExtendedRequest<?> request, DecodeOptions options) Decodes the provided extended operation request as anExtendedRequest
of typeR
.abstract S
AbstractExtendedResultDecoder.decodeExtendedResult
(ExtendedResult result, DecodeOptions options) ExtendedResultDecoder.decodeExtendedResult
(ExtendedResult result, DecodeOptions options) Decodes the provided extended operation result as aResult
of typeS
.<C extends Control>
CBindResult.getControl
(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CCompareResult.getControl
(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CExtendedRequest.getControl
(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CExtendedResult.getControl
(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CGenericExtendedResult.getControl
(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CGenericIntermediateResponse.getControl
(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CIntermediateResponse.getControl
(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CInvalidRequest.getControl
(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CPasswordModifyExtendedResult.getControl
(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CProtocolOp.getControl
(ControlDecoder<C> decoder, DecodeOptions options) Decodes and returns the first control in this protocol-op having an OID corresponding to the provided control decoder.<C extends Control>
CResult.getControl
(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CSearchResultReference.getControl
(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CWhoAmIExtendedResult.getControl
(ControlDecoder<C> decoder, DecodeOptions options)