Class CharsetHelper
- java.lang.Object
-
- io.gravitee.policy.json2xml.utils.CharsetHelper
-
public class CharsetHelper extends Object
- Author:
- David BRASSELY (david.brassely at graviteesource.com), GraviteeSource Team
-
-
Constructor Summary
Constructors Constructor Description CharsetHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CharsetextractCharset(io.gravitee.gateway.api.http.HttpHeaders httpHeaders)static CharsetextractFromContentType(String mediaType)Extract the charset from media-type as per https://tools.ietf.org/html/rfc7231#section-3.1.1.1
-
-
-
Method Detail
-
extractCharset
public static Charset extractCharset(io.gravitee.gateway.api.http.HttpHeaders httpHeaders)
-
-