org.apache.directory.shared.ldap.codec.controls
Class CascadeControlDecoder
java.lang.Object
org.apache.directory.shared.ldap.codec.controls.CascadeControlDecoder
- All Implemented Interfaces:
- ControlDecoder
public class CascadeControlDecoder
- extends Object
- implements ControlDecoder
A decoder for CascadeControls.
- Version:
- $Rev$, $Date$,
- Author:
- Apache Directory Project
|
Method Summary |
Asn1Object |
decode(byte[] controlBytes,
Control control)
Decodes raw ASN.1 encoded bytes into an Asn1Object for the control. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CascadeControlDecoder
public CascadeControlDecoder()
decode
public Asn1Object decode(byte[] controlBytes,
Control control)
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 bytescontrol - The control to feed
- Returns:
- the decoded Asn1Object for the control
- Throws:
DecoderException - if anything goes wrong
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.