Class RequestProcessor
java.lang.Object
org.apache.synapse.commons.emulator.RequestProcessor
Class responsible for removing the unwanted whitespaces in any type of inputs.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringtrimStrings(String inputString) Remove irrelevant whitespaces from the input string.
-
Method Details
-
trimStrings
Remove irrelevant whitespaces from the input string. If string is a XML or JSON reordered the structure of the string to normalize- Parameters:
inputString- string which needs to remove whitespaces- Returns:
- trim string not include irrelevant whitespaces
-