|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
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.Via
public class Via
Via SIPHeader (these are strung together in a ViaList).
ViaList,
直列化された形式| フィールドの概要 | |
|---|---|
static java.lang.String |
BRANCH
The branch parameter is included by every forking proxy. |
static java.lang.String |
MADDR
The "maddr" paramter is designating the multicast address. |
static java.lang.String |
RECEIVED
The "received" parameter is added only for receiver-added Via Fields. |
static java.lang.String |
TTL
The "TTL" parameter is designating the time-to-live value. |
| インタフェース javax.sip.header.ViaHeader から継承されたフィールド |
|---|
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 |
| コンストラクタの概要 | |
|---|---|
Via()
Default constructor |
|
| メソッドの概要 | |
|---|---|
boolean |
equals(java.lang.Object other)
Compare two via headers for equaltiy. |
java.lang.String |
getBranch()
Gets the branch paramater of the ViaHeader. |
java.lang.String |
getComment()
Accessor for the comment field. |
java.lang.String |
getHost()
Returns the host part of this ViaHeader. |
Host |
getMaddr()
Get the maddr parameter if it exists. |
java.lang.String |
getMAddr()
Returns the value of the maddr parameter, or null if this
is not set. |
int |
getPort()
Returns the port part of this ViaHeader. |
java.lang.String |
getProtocol()
Returns the value of the protocol used. |
java.lang.String |
getProtocolVersion()
get the Protocol Version |
java.lang.String |
getReceived()
Gets the received paramater of the ViaHeader. |
HostPort |
getSentBy()
Accessor for the sentBy field |
Protocol |
getSentProtocol()
Accessor for the sentProtocol field. |
java.lang.String |
getTransport()
Returns the value of the transport parameter. |
int |
getTTL()
Returns the value of the ttl parameter, or -1 if this is not set. |
NameValueList |
getViaParms()
Accessor for the parameters field |
boolean |
hasComment()
comment of the Via Header. |
boolean |
hasPort()
port of the Via Header. |
void |
removeComment()
remove the comment field. |
void |
removePort()
remove the port. |
void |
setBranch(java.lang.String branch)
Sets the branch parameter of the ViaHeader to the newly supplied branch value. |
void |
setComment(java.lang.String c)
Set the comment member |
void |
setHost(Host host)
set the Host of the Via Header |
void |
setHost(java.lang.String host)
Set the host part of this ViaHeader to the newly supplied host
parameter. |
void |
setMAddr(java.lang.String mAddr)
Sets the value of the maddr parameter of this ViaHeader. |
void |
setPort(int port)
Set the port part of this ViaHeader to the newly supplied port
parameter. |
void |
setProtocol(java.lang.String protocol)
Sets the value of the protocol parameter. |
void |
setProtocolVersion(java.lang.String protocolVersion)
set the Protocol Version |
void |
setReceived(java.lang.String received)
Sets the received parameter of ViaHeader. |
void |
setSentBy(HostPort s)
Set the sentBy member |
void |
setSentProtocol(Protocol s)
Set the sentProtocol member |
void |
setTransport(java.lang.String transport)
Sets the value of the transport. |
void |
setTTL(int ttl)
Sets the value of the ttl parameter. |
| クラス 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, match, merge, replace, replace, replace, replace, toString |
| クラス gov.nist.core.GenericObject から継承されたメソッド |
|---|
getClassFromName, getMatcher, isMySubclass, setMatcher |
| クラス java.lang.Object から継承されたメソッド |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース javax.sip.header.Parameters から継承されたメソッド |
|---|
getParameter, getParameterNames, removeParameter, setParameter |
| インタフェース javax.sip.header.Header から継承されたメソッド |
|---|
clone, getName, toString |
| フィールドの詳細 |
|---|
public static final java.lang.String BRANCH
public static final java.lang.String RECEIVED
public static final java.lang.String MADDR
public static final java.lang.String TTL
| コンストラクタの詳細 |
|---|
public Via()
| メソッドの詳細 |
|---|
public boolean equals(java.lang.Object other)
javax.sip.header.Header 内の equalsSIPObject 内の equalsother - Object to set.
public java.lang.String getProtocolVersion()
public Protocol getSentProtocol()
public HostPort getSentBy()
public NameValueList getViaParms()
public java.lang.String getComment()
public Host getMaddr()
public boolean hasPort()
public boolean hasComment()
public void removePort()
public void removeComment()
public void setProtocolVersion(java.lang.String protocolVersion)
protocolVersion - String to setpublic void setHost(Host host)
host - String to setpublic void setSentProtocol(Protocol s)
s - Protocol to set.public void setSentBy(HostPort s)
s - HostPort to set.public void setComment(java.lang.String c)
c - String to set.
public void setHost(java.lang.String host)
throws java.text.ParseException
host
parameter.
javax.sip.header.ViaHeader 内の setHostjava.text.ParseException - which signals that an error has been reached
unexpectedly while parsing the host value.public java.lang.String getHost()
javax.sip.header.ViaHeader 内の getHostpublic void setPort(int port)
port
parameter.
javax.sip.header.ViaHeader 内の setPortport - - the new interger value of the port of this ViaHeaderpublic int getPort()
javax.sip.header.ViaHeader 内の getPortpublic java.lang.String getTransport()
javax.sip.header.ViaHeader 内の getTransport
public void setTransport(java.lang.String transport)
throws java.text.ParseException
javax.sip.header.ViaHeader 内の setTransporttransport - - new value for the transport parameter
java.text.ParseException - which signals that an error has been reached
unexpectedly while parsing the transport value.public java.lang.String getProtocol()
javax.sip.header.ViaHeader 内の getProtocol
public void setProtocol(java.lang.String protocol)
throws java.text.ParseException
javax.sip.header.ViaHeader 内の setProtocolprotocol - - new value for the protocol parameter
java.text.ParseException - which signals that an error has been reached
unexpectedly while parsing the protocol value.public int getTTL()
javax.sip.header.ViaHeader 内の getTTLttl parameter
public void setTTL(int ttl)
throws javax.sip.InvalidArgumentException
javax.sip.header.ViaHeader 内の setTTLttl - - new value of the ttl parameter
javax.sip.InvalidArgumentException - if supplied value is less than zero or
greater than 255, excluding -1 the default not set value.public java.lang.String getMAddr()
maddr parameter, or null if this
is not set.
javax.sip.header.ViaHeader 内の getMAddr
public void setMAddr(java.lang.String mAddr)
throws java.text.ParseException
maddr parameter of this ViaHeader. The
maddr parameter indicates the server address to be contacted for this
user, overriding any address derived from the host field.
javax.sip.header.ViaHeader 内の setMAddrmAddr - new value of the maddr parameter
java.text.ParseException - which signals that an error has been reached
unexpectedly while parsing the mAddr value.public java.lang.String getReceived()
javax.sip.header.ViaHeader 内の getReceived
public void setReceived(java.lang.String received)
throws java.text.ParseException
javax.sip.header.ViaHeader 内の setReceivedreceived - - the newly supplied received parameter.
java.text.ParseException - which signals that an error has been reached
unexpectedly while parsing the received value.public java.lang.String getBranch()
javax.sip.header.ViaHeader 内の getBranch
public void setBranch(java.lang.String branch)
throws java.text.ParseException
javax.sip.header.ViaHeader 内の setBranchbranch - - the new string branch parmameter of the ViaHeader.
java.text.ParseException - which signals that an error has been reached
unexpectedly while parsing the branch value.
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||