Class StartTransactionRequestDecorator
- java.lang.Object
-
- org.apache.directory.api.ldap.codec.api.MessageDecorator<M>
-
- org.apache.directory.api.ldap.codec.decorators.RequestDecorator<M>
-
- org.apache.directory.api.ldap.codec.decorators.ResultResponseRequestDecorator<M>
-
- org.apache.directory.api.ldap.codec.decorators.SingleReplyRequestDecorator<Q>
-
- org.apache.directory.api.ldap.codec.decorators.ExtendedRequestDecorator<StartTransactionRequest>
-
- org.apache.directory.api.ldap.extras.extended.ads_impl.startTransaction.StartTransactionRequestDecorator
-
- All Implemented Interfaces:
Asn1Object
,Decorator<StartTransactionRequest>
,StartTransactionRequest
,AbandonableRequest
,ExtendedRequest
,Message
,Request
,ResultResponseRequest
,SingleReplyRequest
public class StartTransactionRequestDecorator extends ExtendedRequestDecorator<StartTransactionRequest> implements StartTransactionRequest
A Decorator for startTransaction request.- Author:
- Apache Directory Project
-
-
Field Summary
-
Fields inherited from interface org.apache.directory.api.ldap.extras.extended.startTransaction.StartTransactionRequest
EXTENSION_OID
-
-
Constructor Summary
Constructors Constructor Description StartTransactionRequestDecorator(LdapApiService codec, StartTransactionRequest decoratedMessage)
Creates a new instance of StartTransactionRequestDecorator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StartTransactionResponse
getResultResponse()
If called for the first time, this method creates a result containing response object for this request.-
Methods inherited from class org.apache.directory.api.ldap.codec.decorators.ExtendedRequestDecorator
addAllControls, addControl, computeLength, encode, getRequestName, getRequestValue, removeControl, setMessageId, setRequestName, setRequestValue
-
Methods inherited from class org.apache.directory.api.ldap.codec.decorators.SingleReplyRequestDecorator
abandon, addAbandonListener, getResponseType, isAbandoned
-
Methods inherited from class org.apache.directory.api.ldap.codec.decorators.ResultResponseRequestDecorator
hasResponse
-
Methods inherited from class org.apache.directory.api.ldap.codec.api.MessageDecorator
get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, setControlsLength, 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.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
-
StartTransactionRequestDecorator
public StartTransactionRequestDecorator(LdapApiService codec, StartTransactionRequest decoratedMessage)
Creates a new instance of StartTransactionRequestDecorator.- Parameters:
codec
- The LDAP Service to usedecoratedMessage
- The canceled request
-
-
Method Detail
-
getResultResponse
public StartTransactionResponse getResultResponse()
If called for the first time, this method creates a result containing response object for this request.- Specified by:
getResultResponse
in interfaceResultResponseRequest
- Overrides:
getResultResponse
in classResultResponseRequestDecorator<StartTransactionRequest>
- Returns:
- a result containing response with defaults and the messageId set in response to this specific request
-
-