org.apache.directory.shared.ldap.codec.search.controls.pagedSearch
Class PagedResultsControlDecoder
java.lang.Object
org.apache.directory.shared.asn1.ber.Asn1Decoder
org.apache.directory.shared.ldap.codec.search.controls.pagedSearch.PagedResultsControlDecoder
- All Implemented Interfaces:
- ITLVBerDecoderMBean, ControlDecoder
public class PagedResultsControlDecoder
- extends Asn1Decoder
- implements ControlDecoder
A decoder for PagedSearchControls.
- Version:
- $Rev: 664290 $, $Date: 2008-06-07 08:28:06 +0200 (Sat, 07 Jun 2008) $,
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PagedResultsControlDecoder
public PagedResultsControlDecoder()
decode
public Asn1Object decode(byte[] controlBytes,
Control control)
throws DecoderException
- Decode the paged search control
- Specified by:
decode in interface ControlDecoder
- Parameters:
controlBytes - The bytes array which contains the encoded paged searchcontrol - The control to feed
- Returns:
- A valid PagedSearch 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.