public class VirtualListViewRequestDecorator extends ControlDecorator<VirtualListViewRequest> implements VirtualListViewRequest
value, valueLengthOID| Constructor and Description |
|---|
VirtualListViewRequestDecorator(LdapApiService codec) |
VirtualListViewRequestDecorator(LdapApiService codec,
VirtualListViewRequest vlvRequest) |
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength()
Compute the object length, which is the sum of all inner 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.
|
int |
getAfterCount() |
byte[] |
getAssertionValue() |
int |
getBeforeCount() |
int |
getContentCount() |
byte[] |
getContextId() |
int |
getOffset() |
byte[] |
getValue()
Get the control value
|
boolean |
hasAssertionValue() |
boolean |
hasOffset() |
void |
setAfterCount(int afterCount) |
void |
setAssertionValue(byte[] assertionValue) |
void |
setBeforeCount(int beforeCount) |
void |
setContentCount(int contentCount) |
void |
setContextId(byte[] contextId) |
void |
setOffset(int offset) |
equals, getCodecService, getDecorated, getOid, hashCode, hasValue, isCritical, setCritical, setDecorated, setValue, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetOid, isCritical, setCriticalpublic VirtualListViewRequestDecorator(LdapApiService codec)
public VirtualListViewRequestDecorator(LdapApiService codec, VirtualListViewRequest vlvRequest)
public int computeLength()
computeLength in interface Asn1ObjectcomputeLength in interface Decorator<VirtualListViewRequest>computeLength in class ControlDecorator<VirtualListViewRequest>public ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode in interface Asn1Objectencode in interface Decorator<VirtualListViewRequest>buffer - The buffer where to put the PDUEncoderException - if the buffer can't be encodedpublic byte[] getValue()
getValue in interface CodecControl<VirtualListViewRequest>getValue in class ControlDecorator<VirtualListViewRequest>public Asn1Object decode(byte[] controlBytes) throws DecoderException
decode in interface CodecControl<VirtualListViewRequest>controlBytes - the encoded control bytesDecoderException - if anything goes wrongpublic int getBeforeCount()
getBeforeCount in interface VirtualListViewRequestpublic void setBeforeCount(int beforeCount)
setBeforeCount in interface VirtualListViewRequestbeforeCount - Set the number of entries to be returned before the target entrypublic int getAfterCount()
getAfterCount in interface VirtualListViewRequestpublic void setAfterCount(int afterCount)
setAfterCount in interface VirtualListViewRequestpublic int getOffset()
getOffset in interface VirtualListViewRequestpublic void setOffset(int offset)
setOffset in interface VirtualListViewRequestpublic int getContentCount()
getContentCount in interface VirtualListViewRequestpublic void setContentCount(int contentCount)
setContentCount in interface VirtualListViewRequestcontentCount - The number of entriespublic byte[] getContextId()
getContextId in interface VirtualListViewRequestpublic void setContextId(byte[] contextId)
setContextId in interface VirtualListViewRequestcontextId - Set the context IDpublic byte[] getAssertionValue()
getAssertionValue in interface VirtualListViewRequestpublic void setAssertionValue(byte[] assertionValue)
setAssertionValue in interface VirtualListViewRequestassertionValue - Set the AssertionValuepublic boolean hasOffset()
hasOffset in interface VirtualListViewRequesttrue if the VLV target is an offset, false otherwisepublic boolean hasAssertionValue()
hasAssertionValue in interface VirtualListViewRequesttrue if the VLV target is an assertionValue, false otherwiseCopyright © 2021. All rights reserved.