|
JAIN SIP API v1.1 - 23rd June 2003 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
SIP messages MAY include a single MIME-Version general-header field to indicate what version of the MIME protocol was used to construct the message. Use of the MIME-Version header field indicates that the message is in full compliance with the MIME protocol as defined in RFC2045. Proxies/gateways are responsible for ensuring full compliance (where possible) when exporting SIP messages to strict MIME environments.
For Example:
MIME-Version: 1.0
| Field Summary | |
static java.lang.String |
NAME
Name of MimeVersionHeader |
| Method Summary | |
int |
getMajorVersion()
Gets the Major version value of this MimeVersionHeader. |
int |
getMinorVersion()
Gets the Minor version value of this MimeVersionHeader. |
void |
setMajorVersion(int majorVersion)
Sets the Major-Version argument of this MimeVersionHeader to the supplied majorVersion value. |
void |
setMinorVersion(int minorVersion)
Sets the Minor-Version argument of this MimeVersionHeader to the supplied minorVersion value. |
| Methods inherited from interface javax.sip.header.Header |
clone, equals, getName, toString |
| Field Detail |
public static final java.lang.String NAME
| Method Detail |
public int getMinorVersion()
public void setMinorVersion(int minorVersion)
throws InvalidArgumentException
minorVersion - - the new minor MIME version
InvalidArgumentException - if the supplied value is less than zero.public int getMajorVersion()
public void setMajorVersion(int majorVersion)
throws InvalidArgumentException
majorVersion - - the new major MIME version
InvalidArgumentException - if the supplied version is less than zero.
|
JAIN SIP API v1.1 - 23rd June 2003 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||