org.apache.directory.api.ldap.extras.extended
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.ExtendedResponseImpl
org.apache.directory.api.ldap.extras.extended.CancelResponseImpl
- All Implemented Interfaces:
- CancelResponse, ExtendedResponse, Message, Response, ResultResponse
public class CancelResponseImpl
- extends ExtendedResponseImpl
- implements CancelResponse
The response sent back from the server after the Cancel extended operation is performed.
- Author:
- Apache Directory Project
| 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 interface org.apache.directory.api.ldap.model.message.Message |
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId |
CancelResponseImpl
public CancelResponseImpl(int messageId,
ResultCodeEnum rcode)
- Create a new CancelResponse object
- Parameters:
messageId - The messageIdrcode - the result code
CancelResponseImpl
public CancelResponseImpl(int messageId)
CancelResponseImpl
public CancelResponseImpl()
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 ExtendedResponse- Overrides:
getResponseName in class ExtendedResponseImpl
- Returns:
- the OID of the extended response type.
hashCode
public int hashCode()
-
- Overrides:
hashCode in class ExtendedResponseImpl
- Returns:
- the instance's hash code
- See Also:
Object.hashCode()
equals
public boolean equals(Object obj)
- Description copied from class:
ExtendedResponseImpl
- Checks to see if an object equals this ExtendedRequest.
- Overrides:
equals in class ExtendedResponseImpl
- Parameters:
obj - the object to be checked for equality
- Returns:
- true if the obj equals this ExtendedRequest, false otherwise
- See Also:
Object.equals(Object)
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.