Package de.gematik.test.tiger.lib.rbel
Class RbelMessageRetriever.JexlToolbox
java.lang.Object
de.gematik.test.tiger.lib.rbel.RbelMessageRetriever.JexlToolbox
- Enclosing class:
- RbelMessageRetriever
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncurrentRequest(String rbelPath) currentRequestAsString(String rbelPath) currentResponse(String rbelPath) currentResponseAsString(String rbelPath) Encodes the string explicitly in the given content type.getValueAtLocationAsString(RbelElement element, String rbelPath)
-
Constructor Details
-
JexlToolbox
public JexlToolbox()
-
-
Method Details
-
currentResponseAsString
-
currentResponseAsString
-
currentResponse
-
currentRequestAsString
-
currentRequestAsString
-
currentRequest
-
lastResponse
-
lastResponseAsString
-
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.
-