Class HttpRFC7578Multipart.PercentCodec

  • Enclosing class:
    HttpRFC7578Multipart

    static class HttpRFC7578Multipart.PercentCodec
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.BitSet ALWAYSENCODECHARS  
      private static byte ESCAPE_CHAR  
    • Constructor Summary

      Constructors 
      Constructor Description
      PercentCodec()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] decode​(byte[] bytes)  
      byte[] encode​(byte[] bytes)
      Percent-Encoding implementation based on RFC 3986
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ALWAYSENCODECHARS

        private static final java.util.BitSet ALWAYSENCODECHARS
    • Constructor Detail

      • PercentCodec

        PercentCodec()
    • Method Detail

      • encode

        public byte[] encode​(byte[] bytes)
        Percent-Encoding implementation based on RFC 3986
      • decode

        public byte[] decode​(byte[] bytes)