|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sip.header.SIPObject
gov.nist.javax.sip.header.SIPHeader
gov.nist.javax.sip.header.ParametersHeader
gov.nist.javax.sip.header.Accept
public class Accept
Accept header : The top level header is actually AcceptList which is a list of Accept headers.
フィールドの概要 |
---|
インタフェース javax.sip.header.AcceptHeader から継承されたフィールド |
---|
NAME |
インタフェース gov.nist.javax.sip.header.SIPHeaderNames から継承されたフィールド |
---|
ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, ALERT_INFO, ALLOW, ALLOW_EVENTS, AUTHENTICATION_INFO, AUTHORIZATION, CALL_ID, CALL_INFO, CONTACT, CONTENT_DISPOSITION, CONTENT_ENCODING, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, CSEQ, DATE, ERROR_INFO, EVENT, EXPIRES, FROM, IN_REPLY_TO, MAX_FORWARDS, MIME_VERSION, MIN_EXPIRES, ORGANIZATION, PRIORITY, PROXY_AUTHENTICATE, PROXY_AUTHORIZATION, PROXY_REQUIRE, RACK, REASON, RECORD_ROUTE, REPLY_TO, REQUIRE, RETRY_AFTER, ROUTE, RSEQ, SERVER, SUBJECT, SUBSCRIPTION_STATE, SUPPORTED, TIMESTAMP, TO, UNSUPPORTED, USER_AGENT, VIA, WARNING, WWW_AUTHENTICATE |
コンストラクタの概要 | |
---|---|
Accept()
default constructor |
メソッドの概要 | |
---|---|
boolean |
allowsAllContentSubTypes()
returns true if this header allows all ContentSubTypes, false otherwise. |
boolean |
allowsAllContentTypes()
returns true if this header allows all ContentTypes, false otherwise. |
java.lang.String |
getContentSubType()
get the ContentSubType fiels |
java.lang.String |
getContentType()
get the contentType field |
MediaRange |
getMediaRange()
get the MediaRange field |
float |
getQValue()
Get the q value. |
boolean |
hasQValue()
Return true if the q value has been set. |
void |
removeQValue()
Remove the q value. |
void |
setContentSubType(java.lang.String subtype)
set the ContentSubType field |
void |
setContentType(java.lang.String type)
set the ContentType field |
void |
setMediaRange(MediaRange m)
Set the mediaRange member |
void |
setQValue(float qValue)
Set the q value |
クラス gov.nist.javax.sip.header.ParametersHeader から継承されたメソッド |
---|
getNameValue, getParameter, getParameterNames, getParameters, getParameterValue, hasParameter, hasParameters, removeParameter, removeParameters, setParameter, setParameter, setParameters, setQuotedParameter |
クラス gov.nist.javax.sip.header.SIPHeader から継承されたメソッド |
---|
encode, getHeaderName, getHeaderValue, getName, getValue, isHeaderList, setHeaderName |
クラス gov.nist.javax.sip.header.SIPObject から継承されたメソッド |
---|
clone, dbgPrint, debugDump, debugDump, equals, match, merge, replace, replace, replace, replace, toString |
クラス gov.nist.core.GenericObject から継承されたメソッド |
---|
getClassFromName, getMatcher, isMySubclass, setMatcher |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
インタフェース javax.sip.header.Parameters から継承されたメソッド |
---|
getParameter, getParameterNames, removeParameter, setParameter |
インタフェース javax.sip.header.Header から継承されたメソッド |
---|
clone, equals, getName, toString |
コンストラクタの詳細 |
---|
public Accept()
メソッドの詳細 |
---|
public boolean allowsAllContentTypes()
javax.sip.header.AcceptHeader
内の allowsAllContentTypes
public boolean allowsAllContentSubTypes()
javax.sip.header.AcceptHeader
内の allowsAllContentSubTypes
public MediaRange getMediaRange()
public java.lang.String getContentType()
javax.sip.header.MediaType
内の getContentType
public java.lang.String getContentSubType()
javax.sip.header.MediaType
内の getContentSubType
public float getQValue()
javax.sip.header.AcceptHeader
内の getQValue
public boolean hasQValue()
public void removeQValue()
public void setContentSubType(java.lang.String subtype)
javax.sip.header.MediaType
内の setContentSubType
subtype
- String to setpublic void setContentType(java.lang.String type)
javax.sip.header.MediaType
内の setContentType
type
- String to setpublic void setQValue(float qValue) throws javax.sip.InvalidArgumentException
javax.sip.header.AcceptHeader
内の setQValue
qValue
- float to set
java.lang.IllegalArgumentException
- if qValue is <0.0 or >1.0
javax.sip.InvalidArgumentException
public void setMediaRange(MediaRange m)
m
- MediaRange field
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |