Class CryptoResponseContext

  • 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 CryptoResponseContext
    extends SpecificRecordBase implements SpecificRecord
                        

    Defines over-the-wire response context (mostly copied from the corresponding request context) such as timestamp, requesting component, tenant id, and other.

    • Constructor Detail

      • CryptoResponseContext

        CryptoResponseContext()
        Default constructor.
      • CryptoResponseContext

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