Uses of Class
org.forgerock.opendj.ldap.DecodeException
Packages that use DecodeException
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.
Classes and interfaces for core LDAP responses.
Classes and interfaces for constructing and querying LDAP schemas.
Interfaces and classes for service providers.
Classes and interfaces for reading and writing LDIF.
-
Uses of DecodeException in org.forgerock.opendj.io
Methods in org.forgerock.opendj.io that return DecodeExceptionModifier and TypeMethodDescriptionprotected DecodeExceptionAbstractLDAPMessageHandler.newUnexpectedRequestException(int messageID, Request request) Returns a decoding exception suitable for use when an unexpected LDAP request is received.protected DecodeExceptionAbstractLDAPMessageHandler.newUnexpectedResponseException(int messageID, Response response) Returns a decoding exception suitable for use when an unexpected LDAP response is received.protected DecodeExceptionAbstractLDAPMessageHandler.newUnsupportedMessageException(int messageID, byte messageTag, ByteString messageBytes) Returns a decoding exception suitable for use when an unsupported LDAP message is received.Methods in org.forgerock.opendj.io that throw DecodeExceptionModifier and TypeMethodDescriptionvoidAbstractLDAPMessageHandler.abandonRequest(int messageID, AbandonRequest request) voidLDAPMessageHandler.abandonRequest(int messageID, AbandonRequest request) Handles an LDAP abandon request message.voidAbstractLDAPMessageHandler.addRequest(int messageID, AddRequest request) voidLDAPMessageHandler.addRequest(int messageID, AddRequest request) Handles an LDAP add request message.voidvoidHandles an LDAP add result message.voidAbstractLDAPMessageHandler.bindRequest(int messageID, int version, GenericBindRequest request) voidLDAPMessageHandler.bindRequest(int messageID, int version, GenericBindRequest request) Handles an LDAP bind request message.voidAbstractLDAPMessageHandler.bindResult(int messageID, BindResult result) voidLDAPMessageHandler.bindResult(int messageID, BindResult result) Handles an LDAP bind result message.voidAbstractLDAPMessageHandler.compareRequest(int messageID, CompareRequest request) voidLDAPMessageHandler.compareRequest(int messageID, CompareRequest request) Handles an LDAP compare request message.voidAbstractLDAPMessageHandler.compareResult(int messageID, CompareResult result) voidLDAPMessageHandler.compareResult(int messageID, CompareResult result) Handles an LDAP compare result message.voidAbstractLDAPMessageHandler.deleteRequest(int messageID, DeleteRequest request) voidLDAPMessageHandler.deleteRequest(int messageID, DeleteRequest request) Handles an LDAP delete request message.voidAbstractLDAPMessageHandler.deleteResult(int messageID, Result result) voidLDAPMessageHandler.deleteResult(int messageID, Result result) Handles an LDAP delete result message.booleanASN1Reader.elementAvailable()Indicates whether the next element can be read without blocking.<R extends ExtendedResult>
voidAbstractLDAPMessageHandler.extendedRequest(int messageID, ExtendedRequest<R> request) <R extends ExtendedResult>
voidLDAPMessageHandler.extendedRequest(int messageID, ExtendedRequest<R> request) Handles an LDAP extended request message.voidAbstractLDAPMessageHandler.extendedResult(int messageID, ExtendedResult result) voidLDAPMessageHandler.extendedResult(int messageID, ExtendedResult result) Handles an LDAP extended result message.booleanLDAPReader.hasMessageAvailable()Returnstrueif the next LDAP message can be read without blocking.booleanASN1Reader.hasNextElement()Indicates whether the current stream, sequence, or set contains another element.voidAbstractLDAPMessageHandler.intermediateResponse(int messageID, IntermediateResponse response) voidLDAPMessageHandler.intermediateResponse(int messageID, IntermediateResponse response) Handles an LDAP intermediate response message.voidAbstractLDAPMessageHandler.modifyDNRequest(int messageID, ModifyDNRequest request) voidLDAPMessageHandler.modifyDNRequest(int messageID, ModifyDNRequest request) Handles an LDAP modify DN request message.voidAbstractLDAPMessageHandler.modifyDNResult(int messageID, Result result) voidLDAPMessageHandler.modifyDNResult(int messageID, Result result) Handles an LDAP modify DN result message.voidAbstractLDAPMessageHandler.modifyRequest(int messageID, ModifyRequest request) voidLDAPMessageHandler.modifyRequest(int messageID, ModifyRequest request) Handles an LDAP modify request message.voidAbstractLDAPMessageHandler.modifyResult(int messageID, Result result) voidLDAPMessageHandler.modifyResult(int messageID, Result result) Handles an LDAP modify result message.intASN1Reader.peekLength()Returns the data length of the next element without actually reading it.byteASN1Reader.peekType()Returns the type of the next element without actually reading it.booleanASN1Reader.readBoolean()Reads the next element as a boolean having the Universal Boolean ASN.1 type tag.booleanASN1Reader.readBoolean(byte type) Reads the next element as a boolean having the provided type tag.voidASN1Reader.readEndExplicitTag()Finishes reading an explicit tag and discards any unread elements.voidASN1Reader.readEndSequence()Finishes reading a sequence and discards any unread elements.voidASN1Reader.readEndSet()Finishes reading a set and discards any unread elements.intASN1Reader.readEnumerated()Reads the next element as an enumerated having the Universal Enumerated ASN.1 type tag.intASN1Reader.readEnumerated(byte type) Reads the next element as an enumerated having the provided type tag.longASN1Reader.readInteger()Reads the next element as an integer having the Universal Integer ASN.1 type tag.longASN1Reader.readInteger(byte type) Reads the next element as an integer having the provided type tag.voidLDAPReader.readMessage(LDAPMessageHandler handler) Reads the next LDAP message from the underlying ASN.1 reader.voidASN1Reader.readNull()Reads the next element as a null element having the Universal Null ASN.1 type tag.voidASN1Reader.readNull(byte type) Reads the next element as a null element having the provided type tag.ASN1Reader.readOctetString()Reads the next element as an octet string having the Universal Octet String ASN.1 type tag.ASN1Reader.readOctetString(byte type) Reads the next element as an octet string having the provided type tag.ASN1Reader.readOctetString(byte type, ByteStringBuilder builder) Reads the next element as an octet string having the provided type tag and appends it to the providedByteStringBuilder.ASN1Reader.readOctetString(ByteStringBuilder builder) Reads the next element as an octet string having the Universal Octet String ASN.1 type tag and appends it to the providedByteStringBuilder.ASN1Reader.readOctetStringAsString()Reads the next element as an octet string having the Universal Octet String ASN.1 type tag and decodes the value as a UTF-8 encoded string.ASN1Reader.readOctetStringAsString(byte type) Reads the next element as an octet string having the provided type tag and decodes the value as a UTF-8 encoded string.voidASN1Reader.readStartExplicitTag()Reads the next element as an explicit ignoring the ASN.1 type tag.voidASN1Reader.readStartExplicitTag(byte type) Reads the next element as an explicit tag having the provided tag type.voidASN1Reader.readStartSequence()Reads the next element as a sequence having the Universal Sequence ASN.1 type tag.voidASN1Reader.readStartSequence(byte type) Reads the next element as a sequence having the provided type tag.voidASN1Reader.readStartSet()Reads the next element as a set having the Universal Set ASN.1 type tag.voidASN1Reader.readStartSet(byte type) Reads the next element as a set having the provided type tag.voidAbstractLDAPMessageHandler.searchRequest(int messageID, SearchRequest request) voidLDAPMessageHandler.searchRequest(int messageID, SearchRequest request) Handles an LDAP search request message.voidAbstractLDAPMessageHandler.searchResult(int messageID, Result result) voidLDAPMessageHandler.searchResult(int messageID, Result result) Handles an LDAP search result message.voidAbstractLDAPMessageHandler.searchResultEntry(int messageID, SearchResultEntry entry) voidLDAPMessageHandler.searchResultEntry(int messageID, SearchResultEntry entry) Handles an LDAP search result entry message.voidAbstractLDAPMessageHandler.searchResultReference(int messageID, SearchResultReference reference) voidLDAPMessageHandler.searchResultReference(int messageID, SearchResultReference reference) Handles an LDAP search result reference message.ASN1Reader.skipElement()Skips the next element without decoding it.ASN1Reader.skipElement(byte type) Skips the next element having the provided type tag without decoding it.voidAbstractLDAPMessageHandler.unbindRequest(int messageID, UnbindRequest request) voidLDAPMessageHandler.unbindRequest(int messageID, UnbindRequest request) Handles an LDAP unbind request message.voidAbstractLDAPMessageHandler.unrecognizedMessage(int messageID, byte messageTag, ByteString messageBytes) voidLDAPMessageHandler.unrecognizedMessage(int messageID, byte messageTag, ByteString messageBytes) Handles an unrecognized LDAP message. -
Uses of DecodeException in org.forgerock.opendj.ldap
Methods in org.forgerock.opendj.ldap that return DecodeExceptionModifier and TypeMethodDescriptionstatic DecodeExceptionDecodeException.error(org.forgerock.i18n.LocalizableMessage message) Creates a new non-fatal decode exception with the provided message.static DecodeExceptionCreates a new non-fatal decode exception with the provided message and root cause.static DecodeExceptionDecodeException.fatalError(org.forgerock.i18n.LocalizableMessage message) Creates a new fatal decode exception with the provided message.static DecodeExceptionDecodeException.fatalError(org.forgerock.i18n.LocalizableMessage message, Throwable cause) Creates a new fatal decode exception with the provided message and root cause.Methods in org.forgerock.opendj.ldap that throw DecodeExceptionModifier and TypeMethodDescription<T> TAssertion.createIndexQuery(IndexQueryFactory<T> factory) Returns an index query appropriate for the provided attribute value assertion.GSERParser.nextBigInteger()Returns the next element as a BigInteger.GSERParser.nextChoiceValueIdentifier()Return the identifier of the next IdentifiedChoiceValue element.intGSERParser.nextInteger()Returns the next element as an Integer.GSERParser.nextNamedValueIdentifier()Returns the identifier of the next NamedValue element.GSERParser.nextString()Returns the next element as a String.GSERParser.readEndSequence()Skips the input matching the end of a sequence and preceding space characters.GSERParser.readStartSequence()Skips the input matching the start of a sequence and subsequent space characters.GSERParser.skipMSP()Skips the input matching one or more space characters.GSERParser.skipSeparator()Skips the input matching the separator pattern (",") and subsequenct space characters.GSERParser.skipSP()Skips the input matching zero, one or more space characters. -
Uses of DecodeException in org.forgerock.opendj.ldap.controls
Methods in org.forgerock.opendj.ldap.controls that throw DecodeExceptionModifier and TypeMethodDescriptionControlDecoder.decodeControl(Control control, DecodeOptions options) Decodes the provided control as aControlof typeC. -
Uses of DecodeException in org.forgerock.opendj.ldap.requests
Methods in org.forgerock.opendj.ldap.requests that throw DecodeExceptionModifier and TypeMethodDescriptionExtendedRequestDecoder.decodeExtendedRequest(ExtendedRequest<?> request, DecodeOptions options) Decodes the provided extended operation request as anExtendedRequestof typeR.<C extends Control>
CAbandonRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CAddRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CAnonymousSASLBindRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CBindRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CCancelExtendedRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CCompareRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CCRAMMD5SASLBindRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CDeleteRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CDigestMD5SASLBindRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CExtendedRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CExternalSASLBindRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CGenericBindRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CGenericExtendedRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CGSSAPISASLBindRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CModifyDNRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CModifyRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CPasswordModifyExtendedRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CPlainSASLBindRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) Decodes and returns the first control in this request having an OID corresponding to the provided control decoder.<C extends Control>
CSASLBindRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CSearchRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CSimpleBindRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CStartTLSExtendedRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CUnbindRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CWhoAmIExtendedRequest.getControl(ControlDecoder<C> decoder, DecodeOptions options) -
Uses of DecodeException in org.forgerock.opendj.ldap.responses
Methods in org.forgerock.opendj.ldap.responses with parameters of type DecodeExceptionModifier and TypeMethodDescriptionAbstractExtendedResultDecoder.adaptDecodeException(DecodeException exception) ExtendedResultDecoder.adaptDecodeException(DecodeException exception) Creates a new extended operation error result using the provided decoding exception.Methods in org.forgerock.opendj.ldap.responses that throw DecodeExceptionModifier and TypeMethodDescriptionabstract SAbstractExtendedResultDecoder.decodeExtendedResult(ExtendedResult result, DecodeOptions options) ExtendedResultDecoder.decodeExtendedResult(ExtendedResult result, DecodeOptions options) Decodes the provided extended operation result as aResultof typeS.<C extends Control>
CBindResult.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CCompareResult.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>
CPasswordModifyExtendedResult.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CResponse.getControl(ControlDecoder<C> decoder, DecodeOptions options) Decodes and returns the first control in this response having an OID corresponding to the provided control decoder.<C extends Control>
CResult.getControl(ControlDecoder<C> decoder, DecodeOptions options) <C extends Control>
CSearchResultEntry.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) -
Uses of DecodeException in org.forgerock.opendj.ldap.schema
Methods in org.forgerock.opendj.ldap.schema that throw DecodeExceptionModifier and TypeMethodDescriptionMatchingRule.getAssertion(ByteSequence value) Returns the normalized form of the provided assertion value, which is best suited for efficiently performing matching operations on that value.MatchingRuleImpl.getAssertion(Schema schema, ByteSequence assertionValue) Retrieves the normalized form of the provided assertion value, which is best suited for efficiently performing less than matching operations on that value.MatchingRule.getGreaterOrEqualAssertion(ByteSequence value) Returns the normalized form of the provided assertion value, which is best suited for efficiently performing greater than or equal ordering matching operations on that value.MatchingRuleImpl.getGreaterOrEqualAssertion(Schema schema, ByteSequence value) Retrieves the normalized form of the provided assertion value, which is best suited for efficiently performing greater than or equal matching operations on that value.MatchingRule.getLessOrEqualAssertion(ByteSequence value) Returns the normalized form of the provided assertion value, which is best suited for efficiently performing greater than or equal ordering matching operations on that value.MatchingRuleImpl.getLessOrEqualAssertion(Schema schema, ByteSequence value) Retrieves the normalized form of the provided assertion value, which is best suited for efficiently performing less than or equal matching operations on that value.MatchingRule.getSubstringAssertion(ByteSequence subInitial, List<? extends ByteSequence> subAnyElements, ByteSequence subFinal) Returns the normalized form of the provided assertion substring values, which is best suited for efficiently performing matching operations on that value.MatchingRuleImpl.getSubstringAssertion(Schema schema, ByteSequence subInitial, List<? extends ByteSequence> subAnyElements, ByteSequence subFinal) Retrieves the normalized form of the provided assertion substring values, which is best suited for efficiently performing matching operations on that value.MatchingRule.normalizeAttributeValue(ByteSequence value) Returns the normalized form of the provided attribute value, which is best suited for efficiently performing matching operations on that value.MatchingRuleImpl.normalizeAttributeValue(Schema schema, ByteSequence value) Retrieves the normalized form of the provided attribute value, which is best suited for efficiently performing matching operations on that value. -
Uses of DecodeException in org.forgerock.opendj.ldap.spi
Methods in org.forgerock.opendj.ldap.spi that throw DecodeExceptionModifier and TypeMethodDescriptionvoidIndexer.createKeys(Schema schema, ByteSequence value, Collection<ByteString> keys) Generates the set of index keys for an attribute.ExtendedResultLdapPromiseImpl.decodeResult(ExtendedResult result, DecodeOptions options) Decode an extended result. -
Uses of DecodeException in org.forgerock.opendj.ldif
Methods in org.forgerock.opendj.ldif that throw DecodeExceptionModifier and TypeMethodDescriptionRejectedChangeRecordListener.handleDuplicateEntry(AddRequest change, Entry existingEntry) Invoked when an attempt was made to add an entry which already exists.RejectedChangeRecordListener.handleDuplicateEntry(ModifyDNRequest change, Entry existingEntry, Entry renamedEntry) Invoked when an attempt was made to rename an entry which already exists.voidRejectedLDIFListener.handleMalformedRecord(long lineNumber, List<String> lines, org.forgerock.i18n.LocalizableMessage reason) Invoked when a record was rejected because it was malformed in some way and could not be decoded.voidRejectedChangeRecordListener.handleRejectedChangeRecord(AddRequest change, org.forgerock.i18n.LocalizableMessage reason) Invoked when an attempt to add an entry was rejected.voidRejectedChangeRecordListener.handleRejectedChangeRecord(DeleteRequest change, org.forgerock.i18n.LocalizableMessage reason) Invoked when an attempt to delete an entry was rejected.voidRejectedChangeRecordListener.handleRejectedChangeRecord(ModifyDNRequest change, org.forgerock.i18n.LocalizableMessage reason) Invoked when an attempt to rename an entry was rejected.voidRejectedChangeRecordListener.handleRejectedChangeRecord(ModifyRequest change, org.forgerock.i18n.LocalizableMessage reason) Invoked when an attempt to modify an entry was rejected.voidRejectedLDIFListener.handleSchemaValidationFailure(long lineNumber, List<String> lines, List<org.forgerock.i18n.LocalizableMessage> reasons) Invoked when a record was rejected because it does not conform to the schema and schema validation is enabled.voidRejectedLDIFListener.handleSchemaValidationWarning(long lineNumber, List<String> lines, List<org.forgerock.i18n.LocalizableMessage> reasons) Invoked when a record was not rejected but contained one or more schema validation warnings.voidRejectedLDIFListener.handleSkippedRecord(long lineNumber, List<String> lines, org.forgerock.i18n.LocalizableMessage reason) Invoked when a record was skipped because it did not match filter criteria defined by the reader.booleanLDIFChangeRecordReader.hasNext()Returnstrueif this reader contains another change record, blocking if necessary until either the next change record is available or the end of the stream is reached.booleanLDIFEntryReader.hasNext()Returnstrueif this reader contains another entry, blocking if necessary until either the next entry is available or the end of the stream is reached.LDIFChangeRecordReader.readChangeRecord()Reads the next change record, blocking if necessary until a change record is available.LDIFEntryReader.readEntry()Reads the next entry, blocking if necessary until an entry is available.