org.apache.hc.core5.http.config

## Class CharCodingConfig

- java.lang.Object
- - org.apache.hc.core5.http.config.CharCodingConfig

-     @Contract(threading=IMMUTABLE)
      public class CharCodingConfig
      extends Object

  HTTP/1.1 char coding configuration.
  Since:
    4.3

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `CharCodingConfig.Builder`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static CharCodingConfig` | `DEFAULT`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static CharCodingConfig.Builder` | `copy(CharCodingConfig config)`
    `static CharCodingConfig.Builder` | `custom()`
    `Charset` | `getCharset()`
    `CodingErrorAction` | `getMalformedInputAction()`
    `CodingErrorAction` | `getUnmappableInputAction()`
    `String` | `toString()`

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

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

- - ### Field Detail

    - #### DEFAULT

          public static final CharCodingConfig DEFAULT

  - ### Method Detail

    - #### getCharset

          public Charset getCharset()

    - #### getMalformedInputAction

          public CodingErrorAction getMalformedInputAction()

    - #### getUnmappableInputAction

          public CodingErrorAction getUnmappableInputAction()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### custom

          public static CharCodingConfig.Builder custom()

    - #### copy

          public static CharCodingConfig.Builder copy(CharCodingConfig config)

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