Class CryptoRequestContext

  • All Implemented Interfaces:
    java.io.Externalizable , java.io.Serializable , java.lang.Comparable , org.apache.avro.generic.GenericContainer , org.apache.avro.generic.GenericRecord , org.apache.avro.generic.IndexedRecord , org.apache.avro.specific.SpecificRecord

    
    public class CryptoRequestContext
    extends SpecificRecordBase implements SpecificRecord
                        

    Defines over-the-wire request context such as timestamp, requesting component, correlation, tenant id, and other.

    • Constructor Detail

      • CryptoRequestContext

        CryptoRequestContext()
        Default constructor.
      • CryptoRequestContext

        CryptoRequestContext(String requestingComponent, Instant requestTimestamp, String requestId, String tenantId, KeyValuePairList other)
        All-args constructor.
        Parameters:
        requestingComponent - Name of the component which requested the operation.
        requestTimestamp - Time ([Instant]) in milliseconds of the request.
        requestId - Request id which can be used to track the request progress.
        tenantId - Tenant id on which behalf the request is made.
        other - Any other list of context's key-values.