Class CancelResponseImpl

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.AbstractExtendedResponse
org.apache.directory.api.ldap.extras.extended.cancel.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.AbstractExtendedResponse 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.AbstractExtendedResponse

    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 CancelResponse

    EXTENSION_OID
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a new CancelResponse instance
    CancelResponseImpl(int messageId)
    Create a new CancelResponse instance
    CancelResponseImpl(int messageId, org.apache.directory.api.ldap.model.message.ResultCodeEnum rcode)
    Create a new CancelResponse object
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Gets the OID uniquely identifying this extended response (a.k.a. its name).
    int

    Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractExtendedResponse

    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 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.Message

    addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId

    Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponse

    getLdapResult
  • Constructor Details

    • 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)
      Create a new CancelResponse instance
      Parameters:
      messageId - The request's messageId
    • CancelResponseImpl

      public CancelResponseImpl()
      Create a new CancelResponse instance
  • Method Details

    • 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.AbstractExtendedResponse
      Returns:
      the OID of the extended response type.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.apache.directory.api.ldap.model.message.AbstractExtendedResponse
    • equals

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