com.aliyun.oss.common.utils

## 类 HttpUtil

- java.lang.Object
- - com.aliyun.oss.common.utils.HttpUtil

-     public class HttpUtil
      extends Object

- - ### 构造器概要

    构造器
    构造器和说明
    `HttpUtil()`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `static void` | `convertHeaderCharsetFromIso88591(Map<String,String> headers)`
    `static void` | `convertHeaderCharsetToIso88591(Map<String,String> headers)`
    `static String` | `paramToQueryString(Map<String,String> params, String charset)` Encode request parameters to URL segment.
    `static String` | `urlDecode(String value, String encoding)`
    `static String` | `urlEncode(String value, String encoding)` Encode a URL segment with special chars replaced.

    - ### 从类继承的方法 java.lang.Object

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

- - ### 构造器详细资料

    - #### HttpUtil

          public HttpUtil()

  - ### 方法详细资料

    - #### urlEncode

          public static String urlEncode(String value,
                         String encoding)

      Encode a URL segment with special chars replaced.

    - #### urlDecode

          public static String urlDecode(String value,
                         String encoding)

    - #### paramToQueryString

          public static String paramToQueryString(Map<String,String> params,
                                  String charset)

      Encode request parameters to URL segment.

    - #### convertHeaderCharsetFromIso88591

          public static void convertHeaderCharsetFromIso88591(Map<String,String> headers)

    - #### convertHeaderCharsetToIso88591

          public static void convertHeaderCharsetToIso88591(Map<String,String> headers)

Copyright © 2020. All Rights Reserved.