|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sip.header.SIPObject
gov.nist.javax.sip.header.MediaRange
public class 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
,
Serialized FormConstructor Summary | |
---|---|
MediaRange()
Default constructor |
Method Summary | |
---|---|
String |
encode()
Encode the object. |
StringBuffer |
encode(StringBuffer buffer)
Encode the header into the given StringBuffer. |
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 |
---|
dbgPrint, debugDump, debugDump, equals, match, toString |
Methods inherited from class gov.nist.core.GenericObject |
---|
clone, getClassFromName, getMatcher, isMySubclass, makeClone, merge, 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
public StringBuffer encode(StringBuffer buffer)
SIPObject
encode
in class SIPObject
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |