Class CertGenerationResponseImpl
- 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.certGeneration.CertGenerationResponseImpl
-
- All Implemented Interfaces:
CertGenerationResponse
,ExtendedResponse
,Message
,Response
,ResultResponse
public class CertGenerationResponseImpl extends AbstractExtendedResponse implements CertGenerationResponse
The response sent back from the server after the CertGeneration extended operation is performed.- Author:
- Apache Directory Project
-
-
Field Summary
-
Fields inherited from interface org.apache.directory.api.ldap.extras.extended.certGeneration.CertGenerationResponse
EXTENSION_OID
-
-
Constructor Summary
Constructors Constructor Description CertGenerationResponseImpl()
Create a new CertGenerationResponseImpl instanceCertGenerationResponseImpl(int messageId)
Create a new CertGenerationResponseImpl instanceCertGenerationResponseImpl(int messageId, ResultCodeEnum rcode)
Create a new CertGenerationResponseImpl instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Checks to see if an object equals this ExtendedRequest.int
hashCode()
void
setResponseName(String oid)
Sets the OID uniquely identifying this extended response (a.k.a. its name).-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractExtendedResponse
getResponseName, 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 interface org.apache.directory.api.ldap.model.message.ExtendedResponse
getResponseName
-
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 Detail
-
CertGenerationResponseImpl
public CertGenerationResponseImpl(int messageId, ResultCodeEnum rcode)
Create a new CertGenerationResponseImpl instance- Parameters:
messageId
- The request's message IDrcode
- The result code
-
CertGenerationResponseImpl
public CertGenerationResponseImpl(int messageId)
Create a new CertGenerationResponseImpl instance- Parameters:
messageId
- The request's message ID
-
CertGenerationResponseImpl
public CertGenerationResponseImpl()
Create a new CertGenerationResponseImpl instance
-
-
Method Detail
-
setResponseName
public void setResponseName(String oid)
Sets the OID uniquely identifying this extended response (a.k.a. its name).- Specified by:
setResponseName
in interfaceExtendedResponse
- Overrides:
setResponseName
in classAbstractExtendedResponse
- Parameters:
oid
- the OID of the extended response type.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractExtendedResponse
- Returns:
- the instance's hash code
- See Also:
Object.hashCode()
-
equals
public boolean equals(Object obj)
Checks to see if an object equals this ExtendedRequest.- Overrides:
equals
in classAbstractExtendedResponse
- Parameters:
obj
- the object to be checked for equality- Returns:
- true if the obj equals this ExtendedRequest, false otherwise
-
-