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