org.apache.directory.shared.ldap.extras.extended
Class CancelResponse
java.lang.Object
org.apache.directory.shared.ldap.model.message.AbstractMessage
org.apache.directory.shared.ldap.model.message.AbstractResponse
org.apache.directory.shared.ldap.model.message.AbstractResultResponse
org.apache.directory.shared.ldap.model.message.ExtendedResponseImpl
org.apache.directory.shared.ldap.extras.extended.CancelResponse
- All Implemented Interfaces:
- Serializable, ExtendedResponse, Message, Response, ResultResponse
public class CancelResponse
- extends ExtendedResponseImpl
The response sent back from the server after the Cancel extended operation is performed.
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
| Fields inherited from interface org.apache.directory.shared.ldap.model.message.ExtendedResponse |
TYPE |
| Methods inherited from class org.apache.directory.shared.ldap.model.message.AbstractMessage |
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId |
| Methods inherited from interface org.apache.directory.shared.ldap.model.message.Message |
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId |
CancelResponse
public CancelResponse(int messageId,
ResultCodeEnum rcode)
- Create a new CancelResponse object
- Parameters:
messageId - The messageIdrcode - the result code
CancelResponse
public CancelResponse(int messageId)
getResponse
public byte[] getResponse()
- Gets the response OID specific encoded response values. It's a null
value for a CancelResponse
- Returns:
- the response specific encoded response values.
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
- Overrides:
getResponseName in class ExtendedResponseImpl
- Returns:
- the OID of the extended response type.
hashCode
public int hashCode()
-
- Overrides:
hashCode in class ExtendedResponseImpl
equals
public boolean equals(Object obj)
- Overrides:
equals in class ExtendedResponseImpl
- See Also:
Object.equals(Object)
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.