Package org.citrusframework.http.message
Class HttpMessageUtils
java.lang.Object
org.citrusframework.http.message.HttpMessageUtils
- Since:
- 2.7.5
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopy(HttpMessage from, HttpMessage to) Apply message settings to target http message.static voidcopy(Message from, HttpMessage to) Apply message settings to target http message.getQueryParameterMap(HttpMessage httpMessage) Extracts query parameters from the citrus HTTP message header and returns them as a map.
-
Method Details
-
copy
Apply message settings to target http message.- Parameters:
from-to-
-
copy
Apply message settings to target http message.- Parameters:
from-to-
-
getQueryParameterMap
Extracts query parameters from the citrus HTTP message header and returns them as a map.- Parameters:
httpMessage- the HTTP message containing the query parameters in the header- Returns:
- a map of query parameter names and their corresponding values
- Throws:
IllegalArgumentException- if the query parameters are not formatted correctly
-