⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 warningheader.html

📁 jsip开发文档,对于开发SIP软电话和presence服务很有用
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="NAME"><!-- --></A><H3>
NAME</H3>
<PRE>
static final java.lang.String <B>NAME</B></PRE>
<DL>
<DD>Name of WarningHeader
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.header.WarningHeader.NAME">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="INCOMPATIBLE_NETWORK_PROTOCOL"><!-- --></A><H3>
INCOMPATIBLE_NETWORK_PROTOCOL</H3>
<PRE>
static final int <B>INCOMPATIBLE_NETWORK_PROTOCOL</B></PRE>
<DL>
<DD>One or more network protocols contained in the session description are not available.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.header.WarningHeader.INCOMPATIBLE_NETWORK_PROTOCOL">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="INCOMPATIBLE_NETWORK_ADDRESS_FORMATS"><!-- --></A><H3>
INCOMPATIBLE_NETWORK_ADDRESS_FORMATS</H3>
<PRE>
static final int <B>INCOMPATIBLE_NETWORK_ADDRESS_FORMATS</B></PRE>
<DL>
<DD>One or more network address formats contained in the session description are not available.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.header.WarningHeader.INCOMPATIBLE_NETWORK_ADDRESS_FORMATS">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="INCOMPATIBLE_TRANSPORT_PROTOCOL"><!-- --></A><H3>
INCOMPATIBLE_TRANSPORT_PROTOCOL</H3>
<PRE>
static final int <B>INCOMPATIBLE_TRANSPORT_PROTOCOL</B></PRE>
<DL>
<DD>One or more transport protocols described in the session description are not available.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.header.WarningHeader.INCOMPATIBLE_TRANSPORT_PROTOCOL">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="INCOMPATIBLE_BANDWIDTH_UNITS"><!-- --></A><H3>
INCOMPATIBLE_BANDWIDTH_UNITS</H3>
<PRE>
static final int <B>INCOMPATIBLE_BANDWIDTH_UNITS</B></PRE>
<DL>
<DD>One or more bandwidth measurement units contained in the session description were not understood.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.header.WarningHeader.INCOMPATIBLE_BANDWIDTH_UNITS">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="MEDIA_TYPE_NOT_AVAILABLE"><!-- --></A><H3>
MEDIA_TYPE_NOT_AVAILABLE</H3>
<PRE>
static final int <B>MEDIA_TYPE_NOT_AVAILABLE</B></PRE>
<DL>
<DD>One or more media types contained in the session description are not available.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.header.WarningHeader.MEDIA_TYPE_NOT_AVAILABLE">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="INCOMPATIBLE_MEDIA_FORMAT"><!-- --></A><H3>
INCOMPATIBLE_MEDIA_FORMAT</H3>
<PRE>
static final int <B>INCOMPATIBLE_MEDIA_FORMAT</B></PRE>
<DL>
<DD>One or more media formats contained in the session description are not available.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.header.WarningHeader.INCOMPATIBLE_MEDIA_FORMAT">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="ATTRIBUTE_NOT_UNDERSTOOD"><!-- --></A><H3>
ATTRIBUTE_NOT_UNDERSTOOD</H3>
<PRE>
static final int <B>ATTRIBUTE_NOT_UNDERSTOOD</B></PRE>
<DL>
<DD>One or more of the media attributes in the session description are not supported.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.header.WarningHeader.ATTRIBUTE_NOT_UNDERSTOOD">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="SESSION_DESCRIPTION_PARAMETER_NOT_UNDERSTOOD"><!-- --></A><H3>
SESSION_DESCRIPTION_PARAMETER_NOT_UNDERSTOOD</H3>
<PRE>
static final int <B>SESSION_DESCRIPTION_PARAMETER_NOT_UNDERSTOOD</B></PRE>
<DL>
<DD>A parameter other than those listed above was not understood.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.header.WarningHeader.SESSION_DESCRIPTION_PARAMETER_NOT_UNDERSTOOD">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="MULTICAST_NOT_AVAILABLE"><!-- --></A><H3>
MULTICAST_NOT_AVAILABLE</H3>
<PRE>
static final int <B>MULTICAST_NOT_AVAILABLE</B></PRE>
<DL>
<DD>The site where the user is located does not support multicast.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.header.WarningHeader.MULTICAST_NOT_AVAILABLE">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="UNICAST_NOT_AVAILABLE"><!-- --></A><H3>
UNICAST_NOT_AVAILABLE</H3>
<PRE>
static final int <B>UNICAST_NOT_AVAILABLE</B></PRE>
<DL>
<DD>The site where the user is located does not support unicast communication (usually due to the presence of a firewall).
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.header.WarningHeader.UNICAST_NOT_AVAILABLE">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="INSUFFICIENT_BANDWIDTH"><!-- --></A><H3>
INSUFFICIENT_BANDWIDTH</H3>
<PRE>
static final int <B>INSUFFICIENT_BANDWIDTH</B></PRE>
<DL>
<DD>The bandwidth specified in the session description or defined by the media exceeds that known to be available.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.header.WarningHeader.INSUFFICIENT_BANDWIDTH">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="MISCELLANEOUS_WARNING"><!-- --></A><H3>
MISCELLANEOUS_WARNING</H3>
<PRE>
static final int <B>MISCELLANEOUS_WARNING</B></PRE>
<DL>
<DD>The warning text can include arbitrary information to be presented to a human user, or logged. A system receiving this warning MUST NOT take any automated action.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.sip.header.WarningHeader.MISCELLANEOUS_WARNING">Constant Field Values</A></DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getAgent()"><!-- --></A><H3>
getAgent</H3>
<PRE>
java.lang.String <B>getAgent</B>()</PRE>
<DL>
<DD>Gets the agent of the server that created this WarningHeader.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the agent of the WarningHeader</DL>
</DD>
</DL>
<HR>

<A NAME="setAgent(java.lang.String)"><!-- --></A><H3>
setAgent</H3>
<PRE>
void <B>setAgent</B>(java.lang.String&nbsp;agent)
              throws java.text.ParseException</PRE>
<DL>
<DD>Sets the agent value of the WarningHeader to the new value passed to the method.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>agent</CODE> - - the new agent value of WarningHeader
<DT><B>Throws:</B>
<DD><CODE>java.text.ParseException</CODE> - which signals that an error has been reached unexpectedly while parsing the agent value.</DL>
</DD>
</DL>
<HR>

<A NAME="getText()"><!-- --></A><H3>
getText</H3>
<PRE>
java.lang.String <B>getText</B>()</PRE>
<DL>
<DD>Gets text of WarningHeader.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the string text value of the WarningHeader.</DL>
</DD>
</DL>
<HR>

<A NAME="setText(java.lang.String)"><!-- --></A><H3>
setText</H3>
<PRE>
void <B>setText</B>(java.lang.String&nbsp;text)
             throws java.text.ParseException</PRE>
<DL>
<DD>Sets the text of WarningHeader to the newly supplied text value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - - the new text value of the Warning Header.
<DT><B>Throws:</B>
<DD><CODE>java.text.ParseException</CODE> - which signals that an error has been reached unexpectedly while parsing the text value.</DL>
</DD>
</DL>
<HR>

<A NAME="setCode(int)"><!-- --></A><H3>
setCode</H3>
<PRE>
void <B>setCode</B>(int&nbsp;code)
             throws <A HREF="../../../javax/sip/InvalidArgumentException.html" title="class in javax.sip">InvalidArgumentException</A></PRE>
<DL>
<DD>Sets the code of the WarningHeader. The standard RFC3261 codes are defined as constants in this class.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>code</CODE> - - the new code that defines the warning code.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../javax/sip/InvalidArgumentException.html" title="class in javax.sip">InvalidArgumentException</A></CODE> - if an invalid integer code is given for the WarningHeader.</DL>
</DD>
</DL>
<HR>

<A NAME="getCode()"><!-- --></A><H3>
getCode</H3>
<PRE>
int <B>getCode</B>()</PRE>
<DL>
<DD>Gets the code of the WarningHeader.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the integer code value of the WarningHeader</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>JSIP API v1.2<br><font size=-1>November 2006</font></b></EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../javax/sip/header/ViaHeader.html" title="interface in javax.sip.header"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../javax/sip/header/WWWAuthenticateHeader.html" title="interface in javax.sip.header"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?javax/sip/header/WarningHeader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="WarningHeader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
<center>If you have any comments, please mail them to <a href=mailto:JAIN-SIP-INTEREST@java.sun.com>JAIN-SIP-INTEREST@java.sun.com</a> after subscribing at <a href=http://archives.java.sun.com>http://archives.java.sun.com</a><br><a href=../../../copyright.html>Copyright</a> - 2006 BEA Systems and Sun Microsystems</center>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -