com.unboundid.directory.sdk.common.operation
Interface UpdatableRequest

All Superinterfaces:
Request
All Known Subinterfaces:
UpdatableAbandonRequest, UpdatableAddRequest, UpdatableBindRequest, UpdatableCompareRequest, UpdatableDeleteRequest, UpdatableExtendedRequest, UpdatableModifyDNRequest, UpdatableModifyRequest, UpdatableSASLBindRequest, UpdatableSearchRequest, UpdatableSimpleBindRequest, UpdatableUnbindRequest

@NotExtensible
@ThreadSafety(level=INTERFACE_NOT_THREADSAFE)
public interface UpdatableRequest
extends Request

This interface defines a set of methods which may be used to update the contents of operation requests.


Method Summary
 void addRequestControl(com.unboundid.ldap.sdk.Control control)
          Adds the provided control to the set of request controls for this request.
 void setRequestControls(java.util.List<com.unboundid.ldap.sdk.Control> controls)
          Updates the set of request controls for this request.
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Request
getOperationType, getRequestControls
 

Method Detail

setRequestControls

void setRequestControls(java.util.List<com.unboundid.ldap.sdk.Control> controls)
Updates the set of request controls for this request.

Parameters:
controls - The set of controls to use for this request. It may be null or empty if there should not be any controls.

addRequestControl

void addRequestControl(com.unboundid.ldap.sdk.Control control)
Adds the provided control to the set of request controls for this request.

Parameters:
control - The control to be added to the set of request controls for this request. It must not be null.