public final class SOAPTransaction
extends java.lang.Object
Processor
,
ApplicationConnector
,
ApplicationTransaction
,
BodyBlock
Constructor and Description |
---|
SOAPTransaction(int requestEnvelope,
Processor processor)
Creates a new request around the specified message and sets the creation-timestamp.
|
SOAPTransaction(Message message,
Processor processor)
Creates a new request around the specified message and sets the creation-timestamp.
|
Modifier and Type | Method and Description |
---|---|
void |
cancelReply(boolean cancelReply)
Cancels the reply for this request.
|
protected void |
finalize()
Cleanup the request and response XML structures when the transaction is finalized.
|
BodyBlock |
getCurrentBodyBlock()
Returns the current body block in case of a multicall request
|
static SOAPTransaction |
getCurrentSOAPTransaction()
This method returns the SOAP Transaction that belongs to the current thread.
|
Identity |
getIdentity()
Returns the user as UserIdentity
|
java.util.Locale |
getLocale()
Returns the locale associated with this SOAP transaction.
|
java.lang.String |
getOrganizationalContextDN()
Returns the organizational context DN associated with this SOAP transaction.
|
int |
getRequestEnvelope()
Returns the xml node that was received from the client.
|
int |
getResponseEnvelope()
Returns the xml node that will be sent back to the client.
|
static SOAPTransaction |
getSOAPTransaction(java.lang.Thread thread)
This method returns the SOAP Transaction that belongs to the specified thread.
|
long |
getTimestamp()
Returns the moment at which the request object was created.
|
AccessControlObject |
getUserCredentials()
Deprecated.
use link SOAPTransaction.getIdentity().getUserOrganization(); use link SOAPTransaction.getIdentity().getOrgUserDN();
|
boolean |
isCancelled()
Returns true if a call to
cancelReply() has been made, false otherwise. |
void |
set_Locale(java.util.Locale locale)
Internal method to set the locale associated with this SOAP transaction.
|
public SOAPTransaction(Message message, Processor processor)
public SOAPTransaction(int requestEnvelope, Processor processor)
@Deprecated public AccessControlObject getUserCredentials()
public Identity getIdentity()
public int getRequestEnvelope()
public int getResponseEnvelope()
public void cancelReply(boolean cancelReply)
public boolean isCancelled()
cancelReply()
has been made, false otherwise. If the reply has been cancelled, the Processor
handling this request will not send a reply for it.public long getTimestamp()
public static SOAPTransaction getCurrentSOAPTransaction()
public static SOAPTransaction getSOAPTransaction(java.lang.Thread thread)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
Object.finalize()
public void set_Locale(java.util.Locale locale)
locale
- the locale to associate with this SOAP transaction.public java.lang.String getOrganizationalContextDN()
public java.util.Locale getLocale()
public BodyBlock getCurrentBodyBlock()