|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LdapCodecService
The service interface for the LDAP codec.
| Method Summary | |
|---|---|
Control |
fromJndiControl(Control jndiControl)
Creates a model control from the JNDI control. |
CodecControl<? extends Control> |
newControl(Control control)
Creates a new codec control decorator for the provided control. |
CodecControl<? extends Control> |
newControl(String oid)
Creates a new codec control decorator of the specified type. |
Asn1Container |
newMessageContainer()
|
org.apache.mina.filter.codec.ProtocolCodecFactory |
newProtocolCodecFactory(boolean client)
Creates a new LDAP ProtocolCodecFactory. |
void |
registerControl(ControlFactory<?,?> factory)
Registers an ControlFactory with this service. |
Iterator<String> |
registeredControls()
Returns an Iterator over the OID Strings of registered controls. |
Iterator<String> |
registeredExtendedRequests()
Returns an Iterator over the OID Strings of registered extended requests. |
Iterator<String> |
registeredExtendedResponses()
Returns an Iterator over the OID Strings of registered extended responses. |
void |
registerExtendedOp(ExtendedOpFactory<?,?> factory)
Registers an ExtendedOpFactory for generating extended request
response pairs. |
Control |
toJndiControl(Control modelControl)
Creates a JNDI control from the ldap model's control. |
| Method Detail |
|---|
Iterator<String> registeredControls()
Iterator<String> registeredExtendedRequests()
Iterator<String> registeredExtendedResponses()
void registerControl(ControlFactory<?,?> factory)
ControlFactory with this service.
factory - The control factoryvoid registerExtendedOp(ExtendedOpFactory<?,?> factory)
ExtendedOpFactory for generating extended request
response pairs.
factory - The extended operation factoryCodecControl<? extends Control> newControl(String oid)
oid - The OID of the new control to create.
CodecControl<? extends Control> newControl(Control control)
control - The control the codec control is generated for.
org.apache.mina.filter.codec.ProtocolCodecFactory newProtocolCodecFactory(boolean client)
ProtocolCodecFactory.
client - if true a factory designed for clients is returned,
otherwise one for servers is returned.
ProtocolCodecFactory
Control toJndiControl(Control modelControl)
throws EncoderException
modelControl - The model's control.
EncoderException - if there are problems encoding the modelControl.
Control fromJndiControl(Control jndiControl)
throws DecoderException
jndiControl - The JNDI control.
DecoderException - if there are problems decoding the value of the JNDI control.Asn1Container newMessageContainer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||