Class StartTransactionRequestImpl
- 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.model.message.OpaqueExtendedRequest
-
- org.apache.directory.api.ldap.extras.extended.startTransaction.StartTransactionRequestImpl
-
- All Implemented Interfaces:
StartTransactionRequest,ExtendedRequest,Message,Request,ResultResponseRequest,SingleReplyRequest
public class StartTransactionRequestImpl extends OpaqueExtendedRequest implements StartTransactionRequest
Implement the extended Start Transaction Request as described in RFC 5805. It's grammar is :StartTransactionRequest ::= [APPLICATION 23] SEQUENCE { requestName [0] LDAPOID }where 'requestName' is 1.3.6.1.1.21.1 and requestValue is absent.- Author:
- Apache Directory Project
-
-
Field Summary
-
Fields inherited from class org.apache.directory.api.ldap.model.message.OpaqueExtendedRequest
response
-
Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractExtendedRequest
oid
-
Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage
controls
-
Fields inherited from interface org.apache.directory.api.ldap.extras.extended.startTransaction.StartTransactionRequest
EXTENSION_OID
-
-
Constructor Summary
Constructors Constructor Description StartTransactionRequestImpl()Creates a new instance of StartTransactionRequestImpl.StartTransactionRequestImpl(int messageId)Creates a new instance of StartTransactionRequestImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StartTransactionResponsegetResultResponse()The result containing response for this request.StringtoString()Get a String representation of an Extended Request-
Methods inherited from class org.apache.directory.api.ldap.model.message.OpaqueExtendedRequest
addAllControls, addControl, equals, getExtendedResponse, getRequestName, getRequestValue, getResponseType, hashCode, removeControl, setMessageId, setRequestName, setRequestValue
-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractExtendedRequest
getResponse, 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 class java.lang.Object
clone, finalize, getClass, 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
-
StartTransactionRequestImpl
public StartTransactionRequestImpl(int messageId)
Creates a new instance of StartTransactionRequestImpl.- Parameters:
messageId- the message id
-
StartTransactionRequestImpl
public StartTransactionRequestImpl()
Creates a new instance of StartTransactionRequestImpl.
-
-
Method Detail
-
getResultResponse
public StartTransactionResponse getResultResponse()
The result containing response for this request.- Specified by:
getResultResponsein interfaceResultResponseRequest- Overrides:
getResultResponsein classOpaqueExtendedRequest- Returns:
- the result containing response for this request
-
toString
public String toString()
Description copied from class:OpaqueExtendedRequestGet a String representation of an Extended Request- Overrides:
toStringin classOpaqueExtendedRequest- Returns:
- an Extended Request String
- See Also:
Object.toString()
-
-