@NotExtensible @NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public class LDAPExtendedOperation extends java.lang.Object implements java.io.Serializable
ExtendedRequest class
should be used instead.| Constructor and Description |
|---|
LDAPExtendedOperation(ExtendedRequest extendedRequest)
Creates a new LDAP extended operation from the provided extended request.
|
LDAPExtendedOperation(java.lang.String id,
byte[] vals)
Creates a new LDAP extended operation with the provided OID and value.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getID()
Retrieves the OID for this LDAP extended operation.
|
byte[] |
getValue()
Retrieves the encoded value for this LDAP extended operation, if
available.
|
ExtendedRequest |
toExtendedRequest()
Converts this LDAP extended operation to an
ExtendedRequest. |
java.lang.String |
toString()
Retrieves a string representation of this extended operation.
|
public LDAPExtendedOperation(@NotNull java.lang.String id, @Nullable byte[] vals)
id - The OID for this extended request.vals - The encoded value for this extended request, or null
if there is none.public LDAPExtendedOperation(@NotNull ExtendedRequest extendedRequest)
extendedRequest - The extended request to use to create this LDAP
extended operation.@NotNull public java.lang.String getID()
@Nullable public byte[] getValue()
null if there is none.@NotNull public final ExtendedRequest toExtendedRequest()
ExtendedRequest.ExtendedRequest object that is the equivalent of this
LDAP extended response.