public class PagedResultsFactory extends AbstractControlFactory<PagedResults>
ControlFactory
for PagedResults
controls.Constructor and Description |
---|
PagedResultsFactory(LdapApiService codec)
Creates a new instance of PagedResultsFactory.
|
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.
|
PagedResults |
newControl()
Creates and returns a version of the Control.
|
decodeValue, getOid
public PagedResultsFactory(LdapApiService codec)
codec
- The LDAP codec.public PagedResults newControl()
CodecControl
decorated version of the Control.public void encodeValue(Asn1Buffer buffer, Control control)
encodeValue
in interface ControlFactory<PagedResults>
encodeValue
in class AbstractControlFactory<PagedResults>
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<PagedResults>
decodeValue
in class AbstractControlFactory<PagedResults>
control
- The control to feedcontrolBytes
- The data to decodeDecoderException
- If the value can't be decodedCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.