public class AdShowDeletedDecorator extends ControlDecorator<AdShowDeleted> implements CodecControl<AdShowDeleted>, AdShowDeleted
value, valueLengthOID| Constructor and Description |
|---|
AdShowDeletedDecorator(LdapApiService codec,
AdShowDeleted control)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength()
Returns the default control length.
|
Asn1Object |
decode(byte[] controlBytes)
Decodes raw ASN.1 encoded bytes into an Asn1Object for the control.
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the object to a PDU.
|
equals, getCodecService, getDecorated, getOid, getValue, hashCode, hasValue, isCritical, setCritical, setDecorated, setValue, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetValue, hasValue, setValuegetCodecService, getDecoratedgetOid, isCritical, setCriticalpublic AdShowDeletedDecorator(LdapApiService codec, AdShowDeleted control)
public int computeLength()
computeLength in interface Asn1ObjectcomputeLength in interface Decorator<AdShowDeleted>computeLength in class ControlDecorator<AdShowDeleted>public Asn1Object decode(byte[] controlBytes) throws DecoderException
decode in interface CodecControl<AdShowDeleted>controlBytes - the encoded control bytesDecoderException - if anything goes wrongpublic ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode in interface Asn1Objectencode in interface Decorator<AdShowDeleted>buffer - The buffer where to put the PDUEncoderException - if the buffer can't be encodedCopyright © 2021. All rights reserved.