org.apache.directory.shared.ldap.codec.search.controls.persistentSearch
Class PersistentSearchControlDecoder
java.lang.Object
org.apache.directory.shared.asn1.ber.Asn1Decoder
org.apache.directory.shared.ldap.codec.search.controls.persistentSearch.PersistentSearchControlDecoder
- All Implemented Interfaces:
- ITLVBerDecoderMBean, ControlDecoder
public class PersistentSearchControlDecoder
- extends Asn1Decoder
- implements ControlDecoder
A decoder for PSearchControls.
- Version:
- $Rev: 905338 $, $Date: 2010-02-01 18:07:13 +0100 (Lun, 01 fév 2010) $,
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentSearchControlDecoder
public PersistentSearchControlDecoder()
decode
public Asn1Object decode(byte[] controlBytes,
Control control)
throws DecoderException
- Decode the persistence search control
- Specified by:
decode in interface ControlDecoder
- Parameters:
controlBytes - The bytes array which contains the encoded persistence searchcontrol - The control to feed
- Returns:
- A valid PersistenceSearch object
- Throws:
DecoderException - If the decoding found an error
NamingException - It will never be throw by this method
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.