public class ControlsContainer
extends org.apache.directory.api.asn1.ber.AbstractContainer
| Modifier and Type | Field and Description |
|---|---|
private org.apache.directory.api.ldap.codec.api.LdapApiService |
codec
The codec service
|
private List<org.apache.directory.api.ldap.model.message.Control> |
controls
The list of decoded controls
|
private org.apache.directory.api.ldap.model.message.Control |
currentControl
The current control
|
private org.apache.directory.api.ldap.codec.api.ControlFactory<?> |
factory
The control factory
|
| Constructor and Description |
|---|
ControlsContainer()
A constructor for this container
|
| Modifier and Type | Method and Description |
|---|---|
void |
addControl(org.apache.directory.api.ldap.model.message.Control control) |
List<org.apache.directory.api.ldap.model.message.Control> |
getControls() |
org.apache.directory.api.ldap.model.message.Control |
getCurrentControl() |
org.apache.directory.api.ldap.codec.api.ControlFactory<?> |
getFactory() |
org.apache.directory.api.ldap.codec.api.LdapApiService |
getLdapCodecService()
Gets the
LdapApiService associated with this Container. |
void |
setCurrentControl(org.apache.directory.api.ldap.model.message.Control currentControl) |
void |
setFactory(org.apache.directory.api.ldap.codec.api.ControlFactory<?> factory) |
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, updateParentprivate List<org.apache.directory.api.ldap.model.message.Control> controls
private org.apache.directory.api.ldap.model.message.Control currentControl
private org.apache.directory.api.ldap.codec.api.ControlFactory<?> factory
private final org.apache.directory.api.ldap.codec.api.LdapApiService codec
public org.apache.directory.api.ldap.codec.api.LdapApiService getLdapCodecService()
LdapApiService associated with this Container.public org.apache.directory.api.ldap.model.message.Control getCurrentControl()
public void setCurrentControl(org.apache.directory.api.ldap.model.message.Control currentControl)
currentControl - the currentControl to setpublic List<org.apache.directory.api.ldap.model.message.Control> getControls()
public void addControl(org.apache.directory.api.ldap.model.message.Control control)
control - the controls to add to the list of controlspublic org.apache.directory.api.ldap.codec.api.ControlFactory<?> getFactory()
public void setFactory(org.apache.directory.api.ldap.codec.api.ControlFactory<?> factory)
factory - the factory to setCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.