| |
|
| javax.sip.header.MediaType
MediaType | public interface MediaType (Code) | | This interface represents media type methods for any header that contain
content type and content sub-type values.
See Also: AcceptHeader See Also: ContentTypeHeader author: BEA Systems, NIST version: 1.2 |
getContentSubType | public String getContentSubType()(Code) | | Gets media sub-type of Header with Content sub-type.
media sub-type of Header with Content sub-type. |
getContentType | public String getContentType()(Code) | | Gets media type of Header with Content type.
media type of Header with Content type. |
setContentSubType | public void setContentSubType(String contentSubType) throws ParseException(Code) | | Sets value of media subtype of Header with Content sub-type.
Parameters: contentSubType - - the new string value of the content sub-type. throws: ParseException - which signals that an error has been reachedunexpectedly while parsing the contentSubType value. |
setContentType | public void setContentType(String contentType) throws ParseException(Code) | | Sets value of media type of Header with Content Type.
Parameters: contentType - - the new string value of the content type throws: ParseException - which signals that an error has been reachedunexpectedly while parsing the contentType value. |
|
|
|