org.apache.directory.api.ldap.extras.extended
Class CancelResponseImpl

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.ExtendedResponseImpl
                  extended by org.apache.directory.api.ldap.extras.extended.CancelResponseImpl
All Implemented Interfaces:
CancelResponse, org.apache.directory.api.ldap.model.message.ExtendedResponse, org.apache.directory.api.ldap.model.message.Message, org.apache.directory.api.ldap.model.message.Response, org.apache.directory.api.ldap.model.message.ResultResponse

public class CancelResponseImpl
extends org.apache.directory.api.ldap.model.message.ExtendedResponseImpl
implements CancelResponse

The response sent back from the server after the Cancel extended operation is performed.

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.api.ldap.model.message.ExtendedResponseImpl
responseName
 
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.ExtendedResponse
TYPE
 
Constructor Summary
CancelResponseImpl()
           
CancelResponseImpl(int messageId)
           
CancelResponseImpl(int messageId, org.apache.directory.api.ldap.model.message.ResultCodeEnum rcode)
          Create a new CancelResponse object
 
Method Summary
 boolean equals(Object obj)
           
 String getResponseName()
          Gets the OID uniquely identifying this extended response (a.k.a.
 int hashCode()
          
 
Methods inherited from class org.apache.directory.api.ldap.model.message.ExtendedResponseImpl
setResponseName, toString
 
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractResultResponse
getLdapResult
 
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.ExtendedResponse
setResponseName
 
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

CancelResponseImpl

public CancelResponseImpl(int messageId,
                          org.apache.directory.api.ldap.model.message.ResultCodeEnum rcode)
Create a new CancelResponse object

Parameters:
messageId - The messageId
rcode - the result code

CancelResponseImpl

public CancelResponseImpl(int messageId)

CancelResponseImpl

public CancelResponseImpl()
Method Detail

getResponseName

public String getResponseName()
Gets the OID uniquely identifying this extended response (a.k.a. its name). It's a null value for the Cancel response

Specified by:
getResponseName in interface org.apache.directory.api.ldap.model.message.ExtendedResponse
Overrides:
getResponseName in class org.apache.directory.api.ldap.model.message.ExtendedResponseImpl
Returns:
the OID of the extended response type.

hashCode

public int hashCode()

Overrides:
hashCode in class org.apache.directory.api.ldap.model.message.ExtendedResponseImpl

equals

public boolean equals(Object obj)
Overrides:
equals in class org.apache.directory.api.ldap.model.message.ExtendedResponseImpl
See Also:
Object.equals(Object)


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