@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface ActiveOperationContext extends OperationContext
Modifier and Type | Method and Description |
---|---|
void |
sendIntermediateResponse(com.unboundid.ldap.sdk.IntermediateResponse r)
Attempts to send an intermediate response message to the client.
|
void |
setAttachment(java.lang.String name,
java.lang.Object value)
Sets an attachment for the associated operation.
|
addCustomLogElement, deregisterOperationCompletedListener, getAttachment, getAuthorizationDN, getClientContext, getConnectionID, getCustomLogElements, getInternalRootConnection, getInternalRootConnection, getInternalUserConnection, getInternalUserConnection, getMessageID, getOperationID, getOperationType, getRequest, getServerContext, isAdministrativeOperation, isInternalOperation, isReplicationOperation, isSecure, registerOperationCompletedListener, toString
void sendIntermediateResponse(com.unboundid.ldap.sdk.IntermediateResponse r) throws com.unboundid.ldap.sdk.LDAPException
r
- The intermediate response to be sent. It must not be
null
.com.unboundid.ldap.sdk.LDAPException
- If a problem occurs while attempting to send the
intermediate response message and processing on the
associated operation should be aborted.void setAttachment(java.lang.String name, java.lang.Object value)
setAttachment
in interface OperationContext
name
- The name of the attachment to set. It must not be
null
.value
- The value to set for the attachment. It may be null
if any existing attachment with the specified name should be
removed.