Class RbelMessageValidator.JexlToolbox

java.lang.Object
de.gematik.test.tiger.lib.rbel.RbelMessageValidator.JexlToolbox
Enclosing class:
RbelMessageValidator

public class RbelMessageValidator.JexlToolbox extends Object
  • Constructor Details

    • JexlToolbox

      public JexlToolbox()
  • Method Details

    • currentResponseAsString

      public String currentResponseAsString(String rbelPath)
    • currentResponseAsString

      public String currentResponseAsString()
    • currentResponse

      public de.gematik.rbellogger.data.RbelElement currentResponse(String rbelPath)
    • currentRequestAsString

      public String currentRequestAsString(String rbelPath)
    • currentRequestAsString

      public String currentRequestAsString()
    • currentRequest

      public de.gematik.rbellogger.data.RbelElement currentRequest(String rbelPath)
    • lastResponse

      public de.gematik.rbellogger.data.RbelElement lastResponse()
    • lastResponseAsString

      public String lastResponseAsString()
    • lastRequest

      public de.gematik.rbellogger.data.RbelElement lastRequest()
    • lastRequestAsString

      public String lastRequestAsString()
    • getValueAtLocationAsString

      public String getValueAtLocationAsString(de.gematik.rbellogger.data.RbelElement element, String rbelPath)
    • encodeAs

      public String encodeAs(String valueToEncode, String contentType)
      Encodes the string explicitly in the given content type.

      When used inline in a JEXL expression, the valueToEncode must be the raw string output from either `getValue()` or read directly from `file()`.

      Parameters:
      valueToEncode - the string to encode
      contentType - a string matching one of the RbelContentTypes enum values
      Returns:
      the encoded string.