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

📄 headerfactory.html

📁 jsip开发文档,对于开发SIP软电话和presence服务很有用
💻 HTML
📖 第 1 页 / 共 5 页
字号:

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new RequireHeader based on the newly supplied optionTag  value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/RetryAfterHeader.html" title="interface in javax.sip.header">RetryAfterHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createRetryAfterHeader(int)">createRetryAfterHeader</A></B>(int&nbsp;retryAfter)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new RetryAfterHeader based on the newly supplied retryAfter  value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/RouteHeader.html" title="interface in javax.sip.header">RouteHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createRouteHeader(javax.sip.address.Address)">createRouteHeader</A></B>(<A HREF="../../../javax/sip/address/Address.html" title="interface in javax.sip.address">Address</A>&nbsp;address)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new RouteHeader based on the newly supplied address value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/RSeqHeader.html" title="interface in javax.sip.header">RSeqHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createRSeqHeader(int)">createRSeqHeader</A></B>(int&nbsp;sequenceNumber)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new RSeqHeader based on the newly supplied sequenceNumber value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/ServerHeader.html" title="interface in javax.sip.header">ServerHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createServerHeader(java.util.List)">createServerHeader</A></B>(java.util.List&nbsp;product)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new ServerHeader based on the newly supplied List of product  values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/SIPETagHeader.html" title="interface in javax.sip.header">SIPETagHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createSIPETagHeader(java.lang.String)">createSIPETagHeader</A></B>(java.lang.String&nbsp;etag)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new SIP-ETag header with the supplied tag value</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/SIPIfMatchHeader.html" title="interface in javax.sip.header">SIPIfMatchHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createSIPIfMatchHeader(java.lang.String)">createSIPIfMatchHeader</A></B>(java.lang.String&nbsp;etag)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new SIP-If-Match header with the supplied tag value</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/SubjectHeader.html" title="interface in javax.sip.header">SubjectHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createSubjectHeader(java.lang.String)">createSubjectHeader</A></B>(java.lang.String&nbsp;subject)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new SubjectHeader based on the newly supplied subject value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/SubscriptionStateHeader.html" title="interface in javax.sip.header">SubscriptionStateHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createSubscriptionStateHeader(java.lang.String)">createSubscriptionStateHeader</A></B>(java.lang.String&nbsp;subscriptionState)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new SubscriptionStateHeader based on the newly supplied  subscriptionState value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/SupportedHeader.html" title="interface in javax.sip.header">SupportedHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createSupportedHeader(java.lang.String)">createSupportedHeader</A></B>(java.lang.String&nbsp;optionTag)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new SupportedHeader based on the newly supplied optionTag  value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/TimeStampHeader.html" title="interface in javax.sip.header">TimeStampHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createTimeStampHeader(float)">createTimeStampHeader</A></B>(float&nbsp;timeStamp)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new TimeStampHeader based on the newly supplied timeStamp value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/ToHeader.html" title="interface in javax.sip.header">ToHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createToHeader(javax.sip.address.Address, java.lang.String)">createToHeader</A></B>(<A HREF="../../../javax/sip/address/Address.html" title="interface in javax.sip.address">Address</A>&nbsp;address,
               java.lang.String&nbsp;tag)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new ToHeader based on the newly supplied address and  tag values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/UnsupportedHeader.html" title="interface in javax.sip.header">UnsupportedHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createUnsupportedHeader(java.lang.String)">createUnsupportedHeader</A></B>(java.lang.String&nbsp;optionTag)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new UnsupportedHeader based on the newly supplied optionTag  value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/UserAgentHeader.html" title="interface in javax.sip.header">UserAgentHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createUserAgentHeader(java.util.List)">createUserAgentHeader</A></B>(java.util.List&nbsp;product)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new UserAgentHeader based on the newly supplied List of product  values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/ViaHeader.html" title="interface in javax.sip.header">ViaHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createViaHeader(java.lang.String, int, java.lang.String, java.lang.String)">createViaHeader</A></B>(java.lang.String&nbsp;host,
                int&nbsp;port,
                java.lang.String&nbsp;transport,
                java.lang.String&nbsp;branch)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new ViaHeader based on the newly supplied uri and branch values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/WarningHeader.html" title="interface in javax.sip.header">WarningHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createWarningHeader(java.lang.String, int, java.lang.String)">createWarningHeader</A></B>(java.lang.String&nbsp;agent,
                    int&nbsp;code,
                    java.lang.String&nbsp;comment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new WarningHeader based on the newly supplied  agent, code and comment values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/sip/header/WWWAuthenticateHeader.html" title="interface in javax.sip.header">WWWAuthenticateHeader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/header/HeaderFactory.html#createWWWAuthenticateHeader(java.lang.String)">createWWWAuthenticateHeader</A></B>(java.lang.String&nbsp;scheme)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new WWWAuthenticateHeader based on the newly supplied  scheme value.</TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ 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="createAcceptEncodingHeader(java.lang.String)"><!-- --></A><H3>
createAcceptEncodingHeader</H3>
<PRE>
<A HREF="../../../javax/sip/header/AcceptEncodingHeader.html" title="interface in javax.sip.header">AcceptEncodingHeader</A> <B>createAcceptEncodingHeader</B>(java.lang.String&nbsp;encoding)
                                                throws java.text.ParseException</PRE>
<DL>
<DD>Creates a new AcceptEncodingHeader based on the newly supplied encoding  value.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>encoding</CODE> - the new string containing the encoding value.
<DT><B>Returns:</B><DD>the newly created AcceptEncodingHeader object.
<DT><B>Throws:</B>
<DD><CODE>java.text.ParseException</CODE> - which signals that an error has been reached unexpectedly while parsing the encoding value.</DL>
</DD>
</DL>
<HR>

<A NAME="createAcceptHeader(java.lang.String, java.lang.String)"><!-- --></A><H3>
createAcceptHeader</H3>
<PRE>
<A HREF="../../../javax/sip/header/AcceptHeader.html" title="interface in javax.sip.header">AcceptHeader</A> <B>createAcceptHeader</B>(java.lang.String&nbsp;contentType,
                                java.lang.String&nbsp;contentSubType)
                                throws java.text.ParseException</PRE>
<DL>
<DD>Creates a new AcceptHeader based on the newly supplied contentType and  contentSubType values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>contentType</CODE> - the new string content type value.<DD><CODE>contentSubType</CODE> - the new string content sub-type value.
<DT><B>Returns:</B><DD>the newly created AcceptHeader object.
<DT><B>Throws:</B>
<DD><CODE>java.text.ParseException</CODE> - which signals that an error has been reached unexpectedly while parsing the content type or content subtype value.</DL>
</DD>
</DL>
<HR>

<A NAME="createAcceptLanguageHeader(java.util.Locale)"><!-- --></A><H3>
createAcceptLanguageHeader</H3>
<PRE>
<A HREF="../../../javax/sip/header/AcceptLanguageHeader.html" title="interface in javax.sip.header">AcceptLanguageHeader</A> <B>createAcceptLanguageHeader</B>(java.util.Locale&nbsp;language)</PRE>
<DL>
<DD>Creates a new AcceptLanguageHeader based on the newly supplied  language value.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>language</CODE> - the new Locale value of the language
<DT><B>Returns:</B><DD>the newly created AcceptLanguageHeader object.</DL>
</DD>
</DL>
<HR>

<A NAME="createAlertInfoHeader(javax.sip.address.URI)"><!-- --></A><H3>
createAlertInfoHeader</H3>
<PRE>
<A HREF="../../../javax/sip/header/AlertInfoHeader.html" title="interface in javax.sip.header">AlertInfoHeader</A> <B>createAlertInfoHeader</B>(<A HREF="../../../javax/sip/address/URI.html" title="interface in javax.sip.address">URI</A>&nbsp;alertInfo)</PRE>
<DL>
<DD>Creates a new AlertInfoHeader based on the newly supplied alertInfo value.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>alertInfo</CODE> - the new URI value of the alertInfo
<DT><B>Returns:</B><DD>the newly created AlertInfoHeader object.</DL>
</DD>
</DL>
<HR>

<A NAME="createAllowEventsHeader(java.lang.String)"><!-- --></A><H3>
createAllowEventsHeader</H3>
<PRE>
<A HREF="../../../javax/sip/header/AllowEventsHeader.html" title="interface in javax.sip.header">AllowEventsHeader</A> <B>createAllowEventsHeader</B>(java.lang.String&nbsp;eventType)
                                          throws java.text.ParseException</PRE>
<DL>
<DD>Creates a new AllowEventsHeader based on the newly supplied event type

⌨️ 快捷键说明

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