Class SortResponseContainer
- java.lang.Object
-
- org.apache.directory.api.asn1.ber.AbstractContainer
-
- org.apache.directory.api.ldap.codec.controls.sort.SortResponseContainer
-
- All Implemented Interfaces:
Asn1Container
public class SortResponseContainer extends AbstractContainer
Container for SortResponseControl.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description SortResponseContainer(LdapApiService codec)
Creates a new instance of SortResponseContainer.SortResponseContainer(LdapApiService codec, SortResponse control)
Creates a new instance of SortResponseContainer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
Clean the containervoid
decorate(SortResponse control)
Decorate the SortResponse controlSortResponseDecorator
getControl()
void
setControl(SortResponseDecorator control)
-
Methods inherited from class org.apache.directory.api.asn1.ber.AbstractContainer
getCurrentTLV, getDecodedBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStream, getTlvId, getTransition, incrementDecodedBytes, isGathering, isGrammarEndAllowed, rewind, setCurrentTLV, setDecodedBytes, setGathering, setGrammar, setGrammarEndAllowed, setMaxPDUSize, setParentTLV, setState, setStream, setTransition, updateParent
-
-
-
-
Constructor Detail
-
SortResponseContainer
public SortResponseContainer(LdapApiService codec)
Creates a new instance of SortResponseContainer.- Parameters:
codec
- the LDAP codec
-
SortResponseContainer
public SortResponseContainer(LdapApiService codec, SortResponse control)
Creates a new instance of SortResponseContainer.- Parameters:
codec
- the LDAP codeccontrol
- the sort response control
-
-
Method Detail
-
decorate
public void decorate(SortResponse control)
Decorate the SortResponse control- Parameters:
control
- The Sort Response control to decorate
-
getControl
public SortResponseDecorator getControl()
- Returns:
- the control
-
setControl
public void setControl(SortResponseDecorator control)
- Parameters:
control
- the control to set
-
clean
public void clean()
Clean the container- Overrides:
clean
in classAbstractContainer
-
-