org.apache.synapse.commons.emulator

## Class RequestProcessor

- java.lang.Object
- - org.apache.synapse.commons.emulator.RequestProcessor

-     public class RequestProcessor
      extends java.lang.Object

  Class responsible for removing the unwanted whitespaces in any type of inputs.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | `trimStrings(java.lang.String inputString)` Remove irrelevant whitespaces from the input string.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### trimStrings

          public static java.lang.String trimStrings(java.lang.String inputString)

      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

Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.