@Extensible @NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public class LDAPExtendedResponse extends LDAPResponse
ExtendedResult
class
should be used instead.Constructor and Description |
---|
LDAPExtendedResponse(ExtendedResult extendedResult)
Creates a new LDAP extended response from the provided
ExtendedResult object. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getID()
Retrieves the OID for this LDAP extended response, if any.
|
byte[] |
getValue()
Retrieves the value for this LDAP extended response, if any.
|
ExtendedResult |
toExtendedResult()
Retrieves an
ExtendedResult object that is the equivalent of this
LDAP extended response. |
java.lang.String |
toString()
Retrieves a string representation of this LDAP extended response.
|
getControls, getErrorMessage, getMatchedDN, getMessageID, getReferrals, getResultCode, toLDAPResult
public LDAPExtendedResponse(@NotNull ExtendedResult extendedResult)
ExtendedResult
object.extendedResult
- The ExtendedResult
to use to create this
LDAP extended response.@Nullable public java.lang.String getID()
null
if there
is none.@Nullable public byte[] getValue()
null
if
there is none.@NotNull public final ExtendedResult toExtendedResult()
ExtendedResult
object that is the equivalent of this
LDAP extended response.ExtendedResult
object that is the equivalent of this
LDAP extended response.@NotNull public java.lang.String toString()
toString
in class LDAPResponse