|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MediaType
This interface represents media type methods for any header that contain content type and content sub-type values.
AcceptHeader
,
ContentTypeHeader
Method Summary | |
---|---|
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. |
Method Detail |
---|
void setContentType(String contentType) throws ParseException
contentType
- - the new string value of the content type
ParseException
- 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()
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |