org.apache.directory.shared.ldap.codec.controls
Interface ControlDecoder<E extends Control>


public interface ControlDecoder<E extends Control>

An interface for decoders of controls.

Author:
Apache Directory Project

Method Summary
 Asn1Object decode(byte[] controlBytes)
          Decodes raw ASN.1 encoded bytes into an Asn1Object for the control.
 

Method Detail

decode

Asn1Object decode(byte[] controlBytes)
                  throws DecoderException
Decodes raw ASN.1 encoded bytes into an Asn1Object for the control.

Parameters:
controlBytes - the encoded control bytes
Returns:
the decoded Asn1Object for the control
Throws:
DecoderException - if anything goes wrong


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.