Interface Response
- All Superinterfaces:
ProtocolOp
- All Known Subinterfaces:
BindResult,CompareResult,ExtendedResult,GenericExtendedResult,GenericIntermediateResponse,IntermediateResponse,PasswordModifyExtendedResult,Result,SearchResultEntry,SearchResultReference,StartTlsExtendedResult,WhoAmIExtendedResult
- All Known Implementing Classes:
AbstractExtendedResult,AbstractIntermediateResponse
The base class of all Responses provides methods for querying and
manipulating the set of Controls included with a Response.
-
Method Summary
Modifier and TypeMethodDescriptionaddControl(Control control) Adds the provided control to this protocol-op.addControls(Iterable<? extends Control> control) Adds the provided controls to this protocol-op.removeControls(String oid) Removes all the controls having the specified OID.Methods inherited from interface org.forgerock.opendj.ldap.messages.ProtocolOp
containsControl, getControl, getControl, getControls
-
Method Details
-
addControl
Description copied from interface:ProtocolOpAdds the provided control to this protocol-op.- Specified by:
addControlin interfaceProtocolOp- Parameters:
control- The control to be added to this protocol-op.- Returns:
- This protocol-op.
-
addControls
Description copied from interface:ProtocolOpAdds the provided controls to this protocol-op.- Specified by:
addControlsin interfaceProtocolOp- Parameters:
control- The controls to be added to this protocol-op.- Returns:
- This protocol-op.
-
removeControls
Description copied from interface:ProtocolOpRemoves all the controls having the specified OID.- Specified by:
removeControlsin interfaceProtocolOp- Parameters:
oid- The numeric OID of the protocol-op control to remove.- Returns:
- This protocol-op.
-