|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
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 | |
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 |
public 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.public String getContentType()
public 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.public String getContentSubType()
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |