public interface MediaType
AcceptHeader,
ContentTypeHeader| Modifier and Type | Method and Description |
|---|---|
String |
getContentSubType()
Gets media sub-type of Header with Content sub-type.
|
String |
getContentType()
Gets media type of Header with Content type.
|
void |
setContentSubType(String contentSubType)
Sets value of media subtype of Header with Content sub-type.
|
void |
setContentType(String contentType)
Sets value of media type of Header with Content Type.
|
void setContentType(String contentType) throws ParseException
contentType - - the new string value of the content typeParseException - which signals that an error has been reached
unexpectedly while parsing the contentType value.String getContentType()
void setContentSubType(String contentSubType) throws ParseException
contentSubType - - the new string value of the content sub-type.ParseException - which signals that an error has been reached
unexpectedly while parsing the contentSubType value.String getContentSubType()
Copyright © 2018. All Rights Reserved.