Class HuskyUtils

java.lang.Object
org.projecthusky.communication.utils.HuskyUtils

public abstract class HuskyUtils extends Object
Helper class for husky specific functionality.
  • Field Details

  • Constructor Details

    • HuskyUtils

      public HuskyUtils()
  • Method Details

    • createEndpoint

      public static String createEndpoint(String transactionType, URI destination, boolean auditEnabled)
      Method to create the endpoint string for IPF.
      Parameters:
      transactionType - the IHE transaction type
      destination - the destination URI
      auditEnabled - true if audit is enabled
      Returns:
      the IPF/Camel endpoint string
    • createEndpoint

      public static String createEndpoint(String transactionType, String destination, boolean auditEnabled)
      Method to create the endpoint string for IPF.
      Parameters:
      transactionType - the IHE transaction type
      destination - the destination as string
      auditEnabled - true if audit is enabled
      Returns:
      the IPF/Camel endpoint string
    • createEndpoint

      public static String createEndpoint(String transactionType, URI destination, boolean secure, boolean auditEnabled)
      Method to create the endpoint string for IPF.
      Parameters:
      transactionType - the IHE transaction type
      destination - the destination as URI
      secure - true if it should be secure
      auditEnabled - true if audit is enabled
      Returns:
      the IPF/Camel endpoint string
    • createEndpoint

      public static String createEndpoint(String transactionType, String destination, boolean secure, boolean auditEnabled)
      Method to create the endpoint string for IPF.
      Parameters:
      transactionType - the IHE transaction type
      destination - the destination as String
      secure - true if it should be secure
      auditEnabled - true if audit is enabled
      Returns:
      the IPF/Camel endpoint string