Class AddResponseImpl
java.lang.Object
org.apache.directory.api.ldap.model.message.AbstractMessage
org.apache.directory.api.ldap.model.message.AbstractResponse
org.apache.directory.api.ldap.model.message.AbstractResultResponse
org.apache.directory.api.ldap.model.message.AddResponseImpl
- All Implemented Interfaces:
AddResponse, Message, Response, ResultResponse
- Direct Known Subclasses:
AddNoDResponse
AddResponse implementation.
- Author:
- Apache Directory Project
-
Field Summary
Fields inherited from class AbstractResultResponse
ldapResultFields inherited from class AbstractMessage
controls -
Constructor Summary
ConstructorsConstructorDescriptionCreates an AddResponse as a reply to an AddRequest.AddResponseImpl(int id) Creates an AddResponse as a reply to an AddRequest. -
Method Summary
Methods inherited from class AbstractResultResponse
equals, getLdapResult, hashCodeMethods inherited from class AbstractMessage
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toStringMethods inherited from interface Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageIdMethods inherited from interface ResultResponse
getLdapResult
-
Constructor Details
-
AddResponseImpl
public AddResponseImpl()Creates an AddResponse as a reply to an AddRequest. -
AddResponseImpl
public AddResponseImpl(int id) Creates an AddResponse as a reply to an AddRequest.- Parameters:
id- the session unique message id
-
-
Method Details
-
toString
Get a String representation of an AddResponse- Overrides:
toStringin classAbstractResultResponse- Returns:
- An AddResponse String
-