public final class ContentTypeSupport extends Object
Constructor and Description |
---|
ContentTypeSupport() |
Modifier and Type | Method and Description |
---|---|
static Charset |
parseContentTypeForTextualCharset(String contentType) |
public static Charset parseContentTypeForTextualCharset(String contentType) throws InvalidContentTypeException
contentType
- the contentType of the received messageInvalidContentTypeException
- if the content-type is invalid in some way.Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.