Class EndTransactionResponseContainer
- java.lang.Object
-
- org.apache.directory.api.asn1.ber.AbstractContainer
-
- org.apache.directory.api.ldap.extras.extended.ads_impl.endTransaction.EndTransactionResponseContainer
-
- All Implemented Interfaces:
Asn1Container
public class EndTransactionResponseContainer extends AbstractContainer
A container for EndTransactionResponse codec.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description EndTransactionResponseContainer()Creates a new EndTransactionResponseContainer object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclean()Clean the container for the next decoding.static List<Control>decode(byte[] controlsBytes)Decodes raw ASN.1 encoded bytes into an Asn1Object for the controls.UpdateControlsgetCurrentUpdateControls()EndTransactionResponsegetEndTransactionResponse()voidsetCurrentControls(UpdateControls currentUpdateControls)voidsetEndTransactionResponse(EndTransactionResponse endTransactionResponse)Set a EndTransactionResponse Object into the container.-
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
-
-
-
-
Method Detail
-
getEndTransactionResponse
public EndTransactionResponse getEndTransactionResponse()
- Returns:
- Returns the EndTransactionResponse instance.
-
setEndTransactionResponse
public void setEndTransactionResponse(EndTransactionResponse endTransactionResponse)
Set a EndTransactionResponse Object into the container. It will be completed by the ldapDecoder.- Parameters:
endTransactionResponse- the EndTransactionResponse to set.
-
getCurrentUpdateControls
public UpdateControls getCurrentUpdateControls()
- Returns:
- the currentUpdateControls
-
setCurrentControls
public void setCurrentControls(UpdateControls currentUpdateControls)
- Parameters:
currentUpdateControls- the currentUpdateControls to set
-
clean
public void clean()
Clean the container for the next decoding.- Overrides:
cleanin classAbstractContainer
-
decode
public static List<Control> decode(byte[] controlsBytes) throws DecoderException
Decodes raw ASN.1 encoded bytes into an Asn1Object for the controls.- Parameters:
controlsBytes- the encoded controls bytes- Returns:
- the decoded controls
- Throws:
DecoderException- if anything goes wrong
-
-