Class StartTlsRequestImpl
- java.lang.Object
-
- org.apache.directory.api.ldap.model.message.AbstractMessage
-
- org.apache.directory.api.ldap.model.message.AbstractRequest
-
- org.apache.directory.api.ldap.model.message.AbstractExtendedRequest
-
- org.apache.directory.api.ldap.extras.extended.startTls.StartTlsRequestImpl
-
- All Implemented Interfaces:
StartTlsRequest
,ExtendedRequest
,Message
,Request
,ResultResponseRequest
,SingleReplyRequest
public class StartTlsRequestImpl extends AbstractExtendedRequest implements StartTlsRequest
The RFC 4511 StartTLS request- Author:
- Apache Directory Project
-
-
Field Summary
-
Fields inherited from interface org.apache.directory.api.ldap.extras.extended.startTls.StartTlsRequest
EXTENSION_OID
-
-
Constructor Summary
Constructors Constructor Description StartTlsRequestImpl()
Create a new instance of the StartTlsRequest extended operationStartTlsRequestImpl(int messageId)
Create a new instance of the StartTlsRequest extended operation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StartTlsResponse
getResultResponse()
The result containing response for this request.String
toString()
Get a String representation of an Extended Request-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractExtendedRequest
addAllControls, addControl, equals, getRequestName, getResponse, getResponseType, hashCode, removeControl, setMessageId, setRequestName, setResponse
-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractRequest
hasResponse
-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage
get, getControl, getControls, getMessageId, getType, hasControl, put, toString
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.ExtendedRequest
addAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestName
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Message
get, getControl, getControls, getMessageId, getType, hasControl, put
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Request
hasResponse
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.SingleReplyRequest
getResponseType
-
-
-
-
Constructor Detail
-
StartTlsRequestImpl
public StartTlsRequestImpl()
Create a new instance of the StartTlsRequest extended operation
-
StartTlsRequestImpl
public StartTlsRequestImpl(int messageId)
Create a new instance of the StartTlsRequest extended operation- Parameters:
messageId
- The message ID
-
-
Method Detail
-
getResultResponse
public StartTlsResponse getResultResponse()
The result containing response for this request.- Specified by:
getResultResponse
in interfaceResultResponseRequest
- Specified by:
getResultResponse
in classAbstractExtendedRequest
- Returns:
- the result containing response for this request
-
toString
public String toString()
Description copied from class:AbstractExtendedRequest
Get a String representation of an Extended Request- Overrides:
toString
in classAbstractExtendedRequest
- Returns:
- an Extended Request String
- See Also:
Object.toString()
-
-