Package com.unboundid.ldap.listener
Class InMemoryExtendedOperationHandler
java.lang.Object
com.unboundid.ldap.listener.InMemoryExtendedOperationHandler
- Direct Known Subclasses:
PasswordModifyExtendedOperationHandler,TransactionExtendedOperationHandler,WhoAmIExtendedOperationHandler
@Extensible
@ThreadSafety(level=INTERFACE_NOT_THREADSAFE)
public abstract class InMemoryExtendedOperationHandler
extends Object
This class defines an API that may be used to provide support for one or
more types of extended operations in the in-memory directory server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringRetrieves the name that should be used for this extended operation handler.Retrieves a list of the extended request OIDs supported by this extended operation handler.abstract ExtendedResultprocessExtendedOperation(InMemoryRequestHandler handler, int messageID, ExtendedRequest request) Performs the appropriate processing for the provided extended request.toString()Retrieves a string representation of this extended operation handler.
-
Constructor Details
-
InMemoryExtendedOperationHandler
public InMemoryExtendedOperationHandler()
-
-
Method Details
-
getExtendedOperationHandlerName
Retrieves the name that should be used for this extended operation handler.- Returns:
- The name that should be used for this extended operation handler.
-
getSupportedExtendedRequestOIDs
Retrieves a list of the extended request OIDs supported by this extended operation handler.- Returns:
- A list of the extended request OIDs supported by this extended operation handler.
-
processExtendedOperation
@NotNull public abstract ExtendedResult processExtendedOperation(@NotNull InMemoryRequestHandler handler, int messageID, @NotNull ExtendedRequest request) Performs the appropriate processing for the provided extended request. This method is completely responsible for any controls associated with the provided request.- Parameters:
handler- The in-memory request handler that accepted the extended request.messageID- The message ID for the LDAP message that the client used to send the request.request- The extended request to process, which will have a request OID which matches one of the OIDs in the list returned byt thegetSupportedExtendedRequestOIDs()method.- Returns:
- The result that should be returned to the client in response to the provided request.
-
toString
Retrieves a string representation of this extended operation handler.
-