Class EncodeUtil


  • public class EncodeUtil
    extends Object
    Utilities related to various encoding schemes.
    Since:
    7.7.7
    Author:
    Vaadin Ltd
    • Method Detail

      • rfc5987Encode

        public static String rfc5987Encode​(String value)
        Encodes the given string to UTF-8 value-chars as defined in RFC5987 for use in e.g. the Content-Disposition HTTP header.
        Parameters:
        value - the string to encode, not null
        Returns:
        the encoded string