org.apache.directory.api.ldap.model.message
Class AddResponseImpl

java.lang.Object
  extended by org.apache.directory.api.ldap.model.message.AbstractMessage
      extended by org.apache.directory.api.ldap.model.message.AbstractResponse
          extended by org.apache.directory.api.ldap.model.message.AbstractResultResponse
              extended by org.apache.directory.api.ldap.model.message.AddResponseImpl
All Implemented Interfaces:
AddResponse, Message, Response, ResultResponse
Direct Known Subclasses:
AddNoDResponse

public class AddResponseImpl
extends AbstractResultResponse
implements AddResponse

AddResponse implementation.

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractResultResponse
ldapResult
 
Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage
controls
 
Fields inherited from interface org.apache.directory.api.ldap.model.message.AddResponse
TYPE
 
Constructor Summary
AddResponseImpl()
          Creates an AddResponse as a reply to an AddRequest.
AddResponseImpl(int id)
          Creates an AddResponse as a reply to an AddRequest.
 
Method Summary
 String toString()
          Get a String representation of an AddResponse
 
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractResultResponse
equals, getLdapResult, hashCode
 
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponse
getLdapResult
 
Methods inherited from interface org.apache.directory.api.ldap.model.message.Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
 

Constructor Detail

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 Detail

toString

public String toString()
Get a String representation of an AddResponse

Overrides:
toString in class AbstractResultResponse
Returns:
An AddResponse String


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.