public class CallContext extends Object
Please note that this class is not thread-safe. Each request should get its own call context instance.
Constructor and Description |
---|
CallContext() |
Modifier and Type | Method and Description |
---|---|
String |
getIdempotenceKey() |
Long |
getIdempotenceRequestTimestamp() |
void |
setIdempotenceRequestTimestamp(Long idempotenceRequestTimestamp)
Sets the idempotence request timestamp.
|
CallContext |
withIdempotenceKey(String idempotenceKey)
Sets the idempotence key to use for the next request for which this call context is used.
|
public String getIdempotenceKey()
public CallContext withIdempotenceKey(String idempotenceKey)
public Long getIdempotenceRequestTimestamp()
null
if no idempotence request timestamp was present.public void setIdempotenceRequestTimestamp(Long idempotenceRequestTimestamp)
Communicator
objects based on the response to the request for which this
call context was used.Copyright © 2024 Worldline Global Collect. All rights reserved.