org.apache.hc.core5.net

## Class PercentCodec

- java.lang.Object
- - org.apache.hc.core5.net.PercentCodec

-     public class PercentCodec
      extends Object

  Percent-encoding mechanism defined in RFC 3986
  Since:
    5.1

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PercentCodec()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `decode(CharSequence content, Charset charset)`
    `static String` | `encode(CharSequence content, Charset charset)`
    `static void` | `encode(StringBuilder buf, CharSequence content, Charset charset)`

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

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

- - ### Constructor Detail

    - #### PercentCodec

          public PercentCodec()

  - ### Method Detail

    - #### encode

          public static void encode(StringBuilder buf,
                                    CharSequence content,
                                    Charset charset)

    - #### encode

          public static String encode(CharSequence content,
                                      Charset charset)

    - #### decode

          public static String decode(CharSequence content,
                                      Charset charset)

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.