gov.nist.javax.sip.header.ims
Class AccessNetworkInfo
java.lang.Object
gov.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.ims.AccessNetworkInfo
- All Implemented Interfaces:
- AccessNetworkInfoHeader, Cloneable, ExtensionHeader, Header, Parameters, Serializable, SIPHeaderNames
- public class AccessNetworkInfo
- extends ParametersHeader
- implements AccessNetworkInfoHeader, ExtensionHeader
Private-Header P-Access-Network-Info
- Since:
- 1.2
- Author:
- Jose Miguel Freitas
- See Also:
- Serialized Form
| Fields inherited from interface gov.nist.javax.sip.header.ims.AccessNetworkInfoHeader |
ADSL, ADSL2, ADSL2p, GGGPP_CDMA2000, GGGPP_GERAN, GGGPP_UTRAN_FDD, GGGPP_UTRAN_TDD, GGGPP2_1X, GGGPP2_1XHRPD, GSHDSL, HDSL, HDSL2, IDSL, IEEE_802_11, IEEE_802_11A, IEEE_802_11B, IEEE_802_11G, NAME, RADSL, SDSL, VDSL |
| Fields inherited from interface 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, MIN_SE, ORGANIZATION, PRIORITY, PROXY_AUTHENTICATE, PROXY_AUTHORIZATION, PROXY_REQUIRE, RACK, REASON, RECORD_ROUTE, REFERRED_BY, REPLACES, REPLY_TO, REQUIRE, RETRY_AFTER, ROUTE, RSEQ, SERVER, SESSION_EXPIRES, SIP_ETAG, SIP_IF_MATCH, SUBJECT, SUBSCRIPTION_STATE, SUPPORTED, TIMESTAMP, TO, UNSUPPORTED, USER_AGENT, VIA, WARNING, WWW_AUTHENTICATE |
| Methods inherited from class gov.nist.javax.sip.header.ParametersHeader |
clone, getNameValue, getParameter, getParameterNames, getParameters, getParameterValue, hasParameter, hasParameters, removeParameter, removeParameters, setParameter, setParameter, setParameters, setQuotedParameter |
| Methods inherited from class gov.nist.core.GenericObject |
getClassFromName, getMatcher, isMySubclass, makeClone, merge, setMatcher |
AccessNetworkInfo
public AccessNetworkInfo()
- Public constructor.
AccessNetworkInfo
public AccessNetworkInfo(String accessTypeVal)
- Constructor.
setAccessType
public void setAccessType(String accessTypeVal)
- Set the accessTpe
- Specified by:
setAccessType in interface AccessNetworkInfoHeader
- Parameters:
accessTypeVal - access type
- Throws:
NullPointerException
getAccessType
public String getAccessType()
- Specified by:
getAccessType in interface AccessNetworkInfoHeader
- Returns:
- String access type
setCGI3GPP
public void setCGI3GPP(String cgi)
throws ParseException
- Specified by:
setCGI3GPP in interface AccessNetworkInfoHeader
- Parameters:
cgi - -- String
CGI value
- Throws:
NullPointerException - -- if null argument passed in
ParseException - -- if bad argument passed in.
getCGI3GPP
public String getCGI3GPP()
- Specified by:
getCGI3GPP in interface AccessNetworkInfoHeader
- Returns:
- String CGI value
setUtranCellID3GPP
public void setUtranCellID3GPP(String utranCellID)
throws ParseException
- Set the UtranCellID field.
- Specified by:
setUtranCellID3GPP in interface AccessNetworkInfoHeader
- Parameters:
utranCellID - -- String
UTRAN Cell ID value
- Throws:
NullPointerException
ParseException
getUtranCellID3GPP
public String getUtranCellID3GPP()
- Specified by:
getUtranCellID3GPP in interface AccessNetworkInfoHeader
- Returns:
- String UTRAN Cell ID value
setDSLLocation
public void setDSLLocation(String dslLocation)
throws ParseException
- Specified by:
setDSLLocation in interface AccessNetworkInfoHeader
- Throws:
NullPointerException
ParseException
getDSLLocation
public String getDSLLocation()
- Specified by:
getDSLLocation in interface AccessNetworkInfoHeader
- Returns:
- String DSL location value
setCI3GPP2
public void setCI3GPP2(String ci3Gpp2)
throws ParseException
- Specified by:
setCI3GPP2 in interface AccessNetworkInfoHeader
- Parameters:
ci3Gpp2 - -- String
CI 3GPP2 value
- Throws:
NullPointerException - -- if arg is null
ParseException - -- if arg is bad.
getCI3GPP2
public String getCI3GPP2()
- Specified by:
getCI3GPP2 in interface AccessNetworkInfoHeader
- Returns:
- String CI 3GPP2 value
setParameter
public void setParameter(String name,
Object value)
- Parameters:
name - --
parameter namevalue - --
value of parameter
setExtensionAccessInfo
public void setExtensionAccessInfo(Object extendAccessInfo)
throws ParseException
- extension-access-info = gen-value gen-value = token / host /
quoted-string
- Specified by:
setExtensionAccessInfo in interface AccessNetworkInfoHeader
- Parameters:
extendAccessInfo - --
extended Access Information
- Throws:
ParseException
getExtensionAccessInfo
public Object getExtensionAccessInfo()
- Specified by:
getExtensionAccessInfo in interface AccessNetworkInfoHeader
setValue
public void setValue(String value)
throws ParseException
- Description copied from interface:
ExtensionHeader
- Sets the value parameter of the ExtensionHeader.
- Specified by:
setValue in interface ExtensionHeader
- Parameters:
value - - the new value of the ExtensionHeader
- Throws:
ParseException - which signals that an error has been reached
unexpectedly while parsing the value parameter.
A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.