Class StartTlsResponseImpl
- 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.startTls.StartTlsResponseImpl
-
- All Implemented Interfaces:
StartTlsResponse
,ExtendedResponse
,Message
,Response
,ResultResponse
public class StartTlsResponseImpl extends AbstractExtendedResponse implements StartTlsResponse
The RFC 4511 StartTLS response :- Author:
- Apache Directory Project
-
-
Field Summary
-
Fields inherited from interface org.apache.directory.api.ldap.extras.extended.startTls.StartTlsResponse
EXTENSION_OID
-
-
Constructor Summary
Constructors Constructor Description StartTlsResponseImpl()
Instantiates a new StartTls response.StartTlsResponseImpl(int messageId)
Instantiates a new StartTls response.StartTlsResponseImpl(int messageId, ResultCodeEnum rcode)
Create a new instance for the StartTls responseStartTlsResponseImpl(int messageId, ResultCodeEnum rcode, String diagnosticMessage)
Create a new instance for the StartTls response
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
Get a String representation of an ExtendedResponse-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractExtendedResponse
equals, getResponseName, hashCode, setResponseName
-
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, 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 Detail
-
StartTlsResponseImpl
public StartTlsResponseImpl(int messageId, ResultCodeEnum rcode, String diagnosticMessage)
Create a new instance for the StartTls response- Parameters:
messageId
- The Message IDrcode
- The result codediagnosticMessage
- The diagnostic message
-
StartTlsResponseImpl
public StartTlsResponseImpl(int messageId, ResultCodeEnum rcode)
Create a new instance for the StartTls response- Parameters:
messageId
- The Message IDrcode
- The result code
-
StartTlsResponseImpl
public StartTlsResponseImpl(int messageId)
Instantiates a new StartTls response.- Parameters:
messageId
- the message id
-
StartTlsResponseImpl
public StartTlsResponseImpl()
Instantiates a new StartTls response.
-
-
Method Detail
-
toString
public String toString()
Description copied from class:AbstractExtendedResponse
Get a String representation of an ExtendedResponse- Overrides:
toString
in classAbstractExtendedResponse
- Returns:
- An ExtendedResponse String
- See Also:
Object.toString()
-
-