public class ModifyRequestProtocolOp extends ProtocolOp
Constructor and Description |
---|
ModifyRequestProtocolOp(ByteString dn)
Creates a new LDAP modify request protocol op with the specified DN and no modifications.
|
ModifyRequestProtocolOp(ByteString dn,
List<RawModification> modifications)
Creates a new LDAP modify request protocol op with the specified DN and set of modifications.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
getDN()
Retrieves the DN for this modify request.
|
List<RawModification> |
getModifications()
Retrieves the set of modifications for this modify request.
|
String |
getProtocolOpName()
Retrieves the name for this protocol op type.
|
byte |
getType()
Retrieves the BER type for this protocol op.
|
void |
toString(StringBuilder buffer)
Appends a string representation of this LDAP protocol op to the provided buffer.
|
void |
write(Asn1Writer stream)
Writes this protocol op to an ASN.1 output stream.
|
toString
public ModifyRequestProtocolOp(ByteString dn)
dn
- The DN for this modify request.public ModifyRequestProtocolOp(ByteString dn, List<RawModification> modifications)
dn
- The DN for this modify request.modifications
- The set of modifications for this modify request.public ByteString getDN()
public List<RawModification> getModifications()
public byte getType()
ProtocolOp
getType
in class ProtocolOp
public String getProtocolOpName()
ProtocolOp
getProtocolOpName
in class ProtocolOp
public void write(Asn1Writer stream) throws IOException
ProtocolOp
write
in class ProtocolOp
stream
- The ASN.1 output stream to write to.IOException
- If a problem occurs while writing to the stream.public void toString(StringBuilder buffer)
ProtocolOp
toString
in class ProtocolOp
buffer
- The buffer to which the string should be appended.Copyright 2010-2018 ForgeRock AS.