|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MimeVersionHeader
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, hashCode, toString |
Field Detail |
---|
static final java.lang.String NAME
Method Detail |
---|
int getMinorVersion()
void setMinorVersion(int minorVersion) throws InvalidArgumentException
minorVersion
- - the new minor MIME version
InvalidArgumentException
- if the supplied value is less than zero.int getMajorVersion()
void setMajorVersion(int majorVersion) throws InvalidArgumentException
majorVersion
- - the new major MIME version
InvalidArgumentException
- if the supplied version is less than zero.
|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |