|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.nist.core.GenericObject | +--gov.nist.javax.sip.header.SIPObject | +--gov.nist.javax.sip.header.MediaRange
Media Range
Revisions: Version 1.0 1. Added encode method. media-range = ( "STAR/STAR" | ( type "/" STAR ) | ( type "/" subtype ) ) *( ";" parameter ) HTTP RFC 2616 Section 14.1
Accept
Constructor Summary | |
MediaRange()
Default constructor |
Method Summary | |
String |
encode()
Encode the object. |
String |
getSubtype()
get the subType field. |
String |
getType()
get type field |
void |
setSubtype(String s)
Set the subtype member |
void |
setType(String t)
Set the type member |
Methods inherited from class gov.nist.javax.sip.header.SIPObject |
clone, dbgPrint, debugDump, debugDump, equals, match, merge, replace, replace, replace, replace, toString |
Methods inherited from class gov.nist.core.GenericObject |
getClassFromName, getMatcher, isMySubclass, setMatcher |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MediaRange()
Method Detail |
public String getType()
public String getSubtype()
public void setType(String t)
t
- String to setpublic void setSubtype(String s)
s
- String to setpublic String encode()
encode
in class SIPObject
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |