|
JSIP API v1.2 November 2006 |
||||||||
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 | |
---|---|
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 |
---|
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.java.lang.String getContentType()
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.java.lang.String getContentSubType()
|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |