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
public interface Response extends ProtocolOp
The base class of all Responses provides methods for querying and manipulating the set of Controls included with a Response. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponseaddControl(Control control)Adds the provided control to this protocol-op.ResponseaddControls(Iterable<? extends Control> control)Adds the provided controls to this protocol-op.- 
Methods inherited from interface org.forgerock.opendj.ldap.messages.ProtocolOp
containsControl, getControl, getControl, getControls 
 - 
 
 - 
 
- 
- 
Method Detail
- 
addControl
Response addControl(Control control)
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
Response addControls(Iterable<? extends Control> control)
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.
 
 
 - 
 
 -