Class IdaRequestResponsConsumerUtil

    • Constructor Detail

      • IdaRequestResponsConsumerUtil

        public IdaRequestResponsConsumerUtil()
    • Method Detail

      • setIdVersionToResponse

        public static void setIdVersionToResponse​(ObjectWithMetadata sourceRequestWithMetadata,
                                                  ObjectWithIdVersionTransactionID targetResponseWithIdVersion)
        Sets the id version to response.
        Parameters:
        sourceRequestWithMetadata - the source request with metadata
        targetResponseWithIdVersion - the target response with id version
      • setTransactionIdToResponse

        public static void setTransactionIdToResponse​(ObjectWithMetadata sourceRequestWithMetadata,
                                                      ObjectWithIdVersionTransactionID targetResponseWithIdVersion)
        Sets the transaction id to response.
        Parameters:
        sourceRequestWithMetadata - the source request with metadata
        targetResponseWithIdVersion - the target response with id version
      • setIdVersionToObjectWithMetadata

        public static void setIdVersionToObjectWithMetadata​(ObjectWithMetadata sourceRequestWithMetadata,
                                                            ObjectWithMetadata targetObjectWithMetadata)
        Sets the id version to object with metadata.
        Parameters:
        sourceRequestWithMetadata - the source request with metadata
        targetObjectWithMetadata - the target object with metadata
      • getResponseTime

        public static String getResponseTime​(String requestTime,
                                             String dateTimePattern)
        Gets the response time.
        Parameters:
        requestTime - the request time
        dateTimePattern - the date time pattern
        Returns:
        the response time
      • convertStringDateTimeToLDT

        public static LocalDateTime convertStringDateTimeToLDT​(String stringDateTime)