public class ContentType extends Object
Constructor and Description |
---|
ContentType(String mediaType,
String subType,
Map<String,String> parameters)
Constructs content types,
performing any necessary conversions.
|
Modifier and Type | Method and Description |
---|---|
String |
getMediaType()
Gets the media type,
normalised to lower case.
|
Map<String,String> |
getParameters()
Gets an immutable map
containing all content type parameters
with keys normalised to lower case.
|
String |
getSubType()
Gets the media sub type
normalised to lower case
|
Copyright © 2006–2024 Apache Software Foundation. All rights reserved.