@InternalUseOnly @NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class DeleteResponseProtocolOp extends GenericResponseProtocolOp
TYPE_REFERRALS
Constructor and Description |
---|
DeleteResponseProtocolOp(int resultCode,
java.lang.String matchedDN,
java.lang.String diagnosticMessage,
java.util.List<java.lang.String> referralURLs)
Creates a new instance of this delete response protocol op with the
provided information.
|
DeleteResponseProtocolOp(LDAPResult result)
Creates a new delete response protocol op from the provided LDAP result
object.
|
Modifier and Type | Method and Description |
---|---|
static DeleteResponseProtocolOp |
decodeProtocolOp(ASN1Element element)
Decodes the provided ASN.1 element as a delete response protocol op.
|
ASN1Element |
encodeProtocolOp()
Encodes this protocol op to an ASN.1 element suitable for inclusion in an
encoded LDAP message.
|
getDiagnosticMessage, getMatchedDN, getProtocolOpType, getReferralURLs, getResultCode, toLDAPResult, toString, toString, writeTo
public DeleteResponseProtocolOp(int resultCode, @Nullable java.lang.String matchedDN, @Nullable java.lang.String diagnosticMessage, @Nullable java.util.List<java.lang.String> referralURLs)
resultCode
- The result code for this response.matchedDN
- The matched DN for this response, if available.diagnosticMessage
- The diagnostic message for this response, if
any.referralURLs
- The list of referral URLs for this response, if
any.public DeleteResponseProtocolOp(@NotNull LDAPResult result)
result
- The LDAP result object to use to create this protocol op.@NotNull public ASN1Element encodeProtocolOp()
@NotNull public static DeleteResponseProtocolOp decodeProtocolOp(@NotNull ASN1Element element) throws LDAPException
element
- The ASN.1 element to be decoded.LDAPException
- If the provided ASN.1 element cannot be decoded as
a delete response protocol op.