Package de.gematik.test.tiger.lib.rbel
Class RbelMessageValidator.JexlToolbox
java.lang.Object
de.gematik.test.tiger.lib.rbel.RbelMessageValidator.JexlToolbox
- Enclosing class:
- RbelMessageValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.gematik.rbellogger.data.RbelElementcurrentRequest(String rbelPath) currentRequestAsString(String rbelPath) de.gematik.rbellogger.data.RbelElementcurrentResponse(String rbelPath) currentResponseAsString(String rbelPath) Encodes the string explicitly in the given content type.getValueAtLocationAsString(de.gematik.rbellogger.data.RbelElement element, String rbelPath) de.gematik.rbellogger.data.RbelElementde.gematik.rbellogger.data.RbelElement
-
Constructor Details
-
JexlToolbox
public JexlToolbox()
-
-
Method Details
-
currentResponseAsString
-
currentResponseAsString
-
currentResponse
-
currentRequestAsString
-
currentRequestAsString
-
currentRequest
-
lastResponse
public de.gematik.rbellogger.data.RbelElement lastResponse() -
lastResponseAsString
-
lastRequest
public de.gematik.rbellogger.data.RbelElement lastRequest() -
lastRequestAsString
-
getValueAtLocationAsString
-
encodeAs
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 encodecontentType- a string matching one of theRbelContentTypes enum values- Returns:
- the encoded string.
-