Class StartTlsResponseDecorator
- java.lang.Object
-
- org.apache.directory.api.ldap.codec.api.MessageDecorator<M>
-
- org.apache.directory.api.ldap.codec.decorators.ResponseDecorator<R>
-
- org.apache.directory.api.ldap.codec.decorators.ExtendedResponseDecorator<StartTlsResponse>
-
- org.apache.directory.api.ldap.extras.extended.ads_impl.startTls.StartTlsResponseDecorator
-
- All Implemented Interfaces:
Asn1Object
,Decorator<StartTlsResponse>
,StartTlsResponse
,ExtendedResponse
,Message
,Response
,ResultResponse
public class StartTlsResponseDecorator extends ExtendedResponseDecorator<StartTlsResponse> implements StartTlsResponse
A Decorator for StartTlsResponse extended request.- 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 StartTlsResponseDecorator(LdapApiService codec, StartTlsResponse decoratedMessage)
Creates a new instance of StartTlsResponseDecorator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getResponseValue()
Gets the Extended response payload-
Methods inherited from class org.apache.directory.api.ldap.codec.decorators.ExtendedResponseDecorator
computeLength, encode, getResponseName, setResponseName, setResponseValue
-
Methods inherited from class org.apache.directory.api.ldap.codec.decorators.ResponseDecorator
getLdapResult, setLdapResult
-
Methods inherited from class org.apache.directory.api.ldap.codec.api.MessageDecorator
addAllControls, addControl, get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, removeControl, setControlsLength, setMessageId, setMessageLength, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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
-
StartTlsResponseDecorator
public StartTlsResponseDecorator(LdapApiService codec, StartTlsResponse decoratedMessage)
Creates a new instance of StartTlsResponseDecorator.- Parameters:
codec
- The LDAP service instancedecoratedMessage
- The decorated message
-
-
Method Detail
-
getResponseValue
public byte[] getResponseValue()
Gets the Extended response payload- Overrides:
getResponseValue
in classExtendedResponseDecorator<StartTlsResponse>
- Returns:
- The extended payload
-
-