Class LDAPExtendedResponse
java.lang.Object
com.unboundid.ldap.sdk.migrate.ldapjdk.LDAPResponse
com.unboundid.ldap.sdk.migrate.ldapjdk.LDAPExtendedResponse
- All Implemented Interfaces:
Serializable
@Extensible
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public class LDAPExtendedResponse
extends LDAPResponse
This class provides a data structure which represents an LDAP extended
response.
This class is primarily intended to be used in the process of updating applications which use the Netscape Directory SDK for Java to switch to or coexist with the UnboundID LDAP SDK for Java. For applications not written using the Netscape Directory SDK for Java, the
This class is primarily intended to be used in the process of updating applications which use the Netscape Directory SDK for Java to switch to or coexist with the UnboundID LDAP SDK for Java. For applications not written using the Netscape Directory SDK for Java, the
ExtendedResult class
should be used instead.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLDAPExtendedResponse(ExtendedResult extendedResult) Creates a new LDAP extended response from the providedExtendedResultobject. -
Method Summary
Modifier and TypeMethodDescriptiongetID()Retrieves the OID for this LDAP extended response, if any.byte[]getValue()Retrieves the value for this LDAP extended response, if any.final ExtendedResultRetrieves anExtendedResultobject that is the equivalent of this LDAP extended response.toString()Retrieves a string representation of this LDAP extended response.Methods inherited from class com.unboundid.ldap.sdk.migrate.ldapjdk.LDAPResponse
getControls, getErrorMessage, getMatchedDN, getMessageID, getReferrals, getResultCode, toLDAPResult
-
Constructor Details
-
LDAPExtendedResponse
Creates a new LDAP extended response from the providedExtendedResultobject.- Parameters:
extendedResult- TheExtendedResultto use to create this LDAP extended response.
-
-
Method Details
-
getID
Retrieves the OID for this LDAP extended response, if any.- Returns:
- The OID for this LDAP extended response, or
nullif there is none.
-
getValue
Retrieves the value for this LDAP extended response, if any.- Returns:
- The value for this LDAP extended response, or
nullif there is none.
-
toExtendedResult
Retrieves anExtendedResultobject that is the equivalent of this LDAP extended response.- Returns:
- An
ExtendedResultobject that is the equivalent of this LDAP extended response.
-
toString
Retrieves a string representation of this LDAP extended response.- Overrides:
toStringin classLDAPResponse- Returns:
- A string representation of this LDAP extended response.
-