Package com.vaadin.flow.internal
Class EncodeUtil
java.lang.Object
com.vaadin.flow.internal.EncodeUtil
Utilities related to various encoding schemes.
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringrfc5987Encode(String value) Encodes the given string to UTF-8value-charsas defined in RFC5987 for use in e.g.
-
Method Details
-
rfc5987Encode
Encodes the given string to UTF-8value-charsas defined in RFC5987 for use in e.g. theContent-DispositionHTTP header.- Parameters:
value- the string to encode, notnull- Returns:
- the encoded string
-