org.apache.directory.shared.ldap.codec
Class ManageDsaITControlDecoder
java.lang.Object
org.apache.directory.shared.ldap.codec.ManageDsaITControlDecoder
- All Implemented Interfaces:
- ControlDecoder
public class ManageDsaITControlDecoder
- extends Object
- implements ControlDecoder
A decoder for EntryChangeControls.
- Author:
- Apache Directory Project
Method Summary |
Asn1Object |
decode(byte[] controlBytes)
Decodes raw ASN.1 encoded bytes into an Asn1Object for the control. |
String |
getControlType()
The control type this decoder decodes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManageDsaITControlDecoder
public ManageDsaITControlDecoder()
getControlType
public String getControlType()
- Description copied from interface:
ControlDecoder
- The control type this decoder decodes.
- Specified by:
getControlType
in interface ControlDecoder
- Returns:
- the control type (an OID string)
decode
public Asn1Object decode(byte[] controlBytes)
throws DecoderException
- Description copied from interface:
ControlDecoder
- Decodes raw ASN.1 encoded bytes into an Asn1Object for the control.
- Specified by:
decode
in interface ControlDecoder
- Parameters:
controlBytes
- the encoded control bytes
- Returns:
- the decoded Asn1Object for the control
- Throws:
DecoderException
- if anything goes wrong
Copyright © 2004-2012. All Rights Reserved.