|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.ldap.sdk.migrate.ldapjdk.LDAPExtendedOperation
@NotExtensible @NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public class LDAPExtendedOperation
This class provides a data structure that represents an LDAP extended
request.
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 ExtendedRequest
class
should be used instead.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LDAPExtendedOperation(java.lang.String id, 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(ExtendedRequest extendedRequest)
extendedRequest
- The extended request to use to create this LDAP
extended operation.Method Detail |
---|
public java.lang.String getID()
public byte[] getValue()
null
if there is none.public final ExtendedRequest toExtendedRequest()
ExtendedRequest
.
ExtendedRequest
object that is the equivalent of this
LDAP extended response.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |