public class PersistentSearchFactory extends AbstractControlFactory<PersistentSearch>
Constructor and Description |
---|
PersistentSearchFactory(LdapApiService codec)
Create a new PersistentSearchFactory instance
|
Modifier and Type | Method and Description |
---|---|
void |
decodeValue(Control control,
byte[] controlBytes)
Decode a Control's value.
|
void |
encodeValue(Asn1Buffer buffer,
Control control)
Encode the value part of the control.
|
PersistentSearch |
newControl()
Creates and returns a version of the Control.
|
decodeValue, getOid
public PersistentSearchFactory(LdapApiService codec)
codec
- The LdapApiService instancepublic PersistentSearch newControl()
CodecControl
decorated version of the Control.public void encodeValue(Asn1Buffer buffer, Control control)
encodeValue
in interface ControlFactory<PersistentSearch>
encodeValue
in class AbstractControlFactory<PersistentSearch>
buffer
- The buffer into which to put the encoded valuecontrol
- The control to encodepublic void decodeValue(Control control, byte[] controlBytes) throws DecoderException
decodeValue
in interface ControlFactory<PersistentSearch>
decodeValue
in class AbstractControlFactory<PersistentSearch>
control
- The control to feedcontrolBytes
- The data to decodeDecoderException
- If the value can't be decodedCopyright © 2003–2023 The Apache Software Foundation. All rights reserved.