|
JAIN SIP API v1.1 - 23rd June 2003 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface represents media type methods for any header that contain content type and content sub-type values.
AcceptHeader,
ContentTypeHeader| Method Summary | |
java.lang.String |
getContentSubType()
Gets media sub-type of Header with Content sub-type. |
java.lang.String |
getContentType()
Gets media type of Header with Content type. |
void |
setContentSubType(java.lang.String contentSubType)
Sets value of media subtype of Header with Content sub-type. |
void |
setContentType(java.lang.String contentType)
Sets value of media type of Header with Content Type. |
| Method Detail |
public void setContentType(java.lang.String contentType)
throws java.text.ParseException
contentType - - the new string value of the content type
java.text.ParseException - which signals that an error has been reached
unexpectedly while parsing the contentType value.public java.lang.String getContentType()
public void setContentSubType(java.lang.String contentSubType)
throws java.text.ParseException
contentSubType - - the new string value of the content sub-type.
java.text.ParseException - which signals that an error has been reached
unexpectedly while parsing the contentSubType value.public java.lang.String getContentSubType()
|
JAIN SIP API v1.1 - 23rd June 2003 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||