类 HttpParamConverter

java.lang.Object
org.apache.shenyu.plugin.base.utils.HttpParamConverter

public final class HttpParamConverter extends Object
The type Http param converter.
  • 构造器详细资料

    • HttpParamConverter

      public HttpParamConverter()
  • 方法详细资料

    • ofString

      public static String ofString(Supplier<String> supplier)
      of.
      参数:
      supplier - supplier
      返回:
      String string
    • toMap

      public static <K, V> String toMap(Supplier<org.springframework.util.MultiValueMap<K,V>> supplier)
      map.
      类型参数:
      K - the type parameter
      V - the type parameter
      参数:
      supplier - supplier
      返回:
      String string
    • initQueryParams

      public static Map<String,String> initQueryParams(String query)
      Init query params map.
      参数:
      query - the query
      返回:
      the map
    • decodeQueryParam

      public static String decodeQueryParam(String value)
      Decode query param string.
      参数:
      value - the value
      返回:
      the string