public interface ExtendedOperationHandler<R extends org.apache.directory.api.ldap.model.message.ExtendedRequest,P extends org.apache.directory.api.ldap.model.message.ExtendedResponse>
Modifier and Type | Method and Description |
---|---|
Set<String> |
getExtensionOids()
The OIDs of the extensions supported by this handler.
|
String |
getOid() |
void |
handleExtendedOperation(LdapSession session,
R req)
Handles the specified extended operation.
|
void |
setLdapServer(LdapServer ldapServer)
Sets the LDAP server for this extendedOperation handler.
|
Set<String> getExtensionOids()
void handleExtendedOperation(LdapSession session, R req) throws Exception
session
- the session object related with current connectionreq
- the LDAP Extended operation requestException
- if failed to handle the operationvoid setLdapServer(LdapServer ldapServer)
ldapServer
- the ldap protocol serverCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.