Class ControlsContainer
- java.lang.Object
-
- org.apache.directory.api.asn1.ber.AbstractContainer
-
- org.apache.directory.api.ldap.extras.extended.ads_impl.endTransaction.controls.ControlsContainer
-
- All Implemented Interfaces:
Asn1Container
public class ControlsContainer extends AbstractContainer
A container storing decoded controls for a EndTransactionResponse extended operation- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description ControlsContainer()
A constructor for this container
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addControl(Control control)
List<Control>
getControls()
Control
getCurrentControl()
ControlFactory<?>
getFactory()
LdapApiService
getLdapCodecService()
Gets theLdapApiService
associated with this Container.void
setCurrentControl(Control currentControl)
void
setFactory(ControlFactory<?> factory)
-
Methods inherited from class org.apache.directory.api.asn1.ber.AbstractContainer
clean, 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
-
ControlsContainer
public ControlsContainer()
A constructor for this container
-
-
Method Detail
-
getLdapCodecService
public LdapApiService getLdapCodecService()
Gets theLdapApiService
associated with this Container.- Returns:
- The LDAP service instance
-
getCurrentControl
public Control getCurrentControl()
- Returns:
- the currentControl
-
setCurrentControl
public void setCurrentControl(Control currentControl)
- Parameters:
currentControl
- the currentControl to set
-
getControls
public List<Control> getControls()
- Returns:
- the controls
-
addControl
public void addControl(Control control)
- Parameters:
control
- the controls to add to the list of controls
-
getFactory
public ControlFactory<?> getFactory()
- Returns:
- the factory
-
setFactory
public void setFactory(ControlFactory<?> factory)
- Parameters:
factory
- the factory to set
-
-