📄 router.html
字号:
<HR>
<P>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../javax/sip/address/Hop.html" title="interface in javax.sip.address">Hop</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/address/Router.html#getNextHop(javax.sip.message.Request)">getNextHop</A></B>(<A HREF="../../../javax/sip/message/Request.html" title="interface in javax.sip.message">Request</A> request)</CODE>
<BR>
Gets the next Hop from this Router for the specified request, this method may return <code>null</code> if a default route is not defined.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.ListIterator</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/address/Router.html#getNextHops(javax.sip.message.Request)">getNextHops</A></B>(<A HREF="../../../javax/sip/message/Request.html" title="interface in javax.sip.message">Request</A> request)</CODE>
<BR>
<B>Deprecated.</B> <I>Since v1.2. This method is replaced with <A HREF="../../../javax/sip/address/Router.html#getNextHop(javax.sip.message.Request)"><CODE>getNextHop(Request)</CODE></A> method which returns the next Hop for this request.</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../javax/sip/address/Hop.html" title="interface in javax.sip.address">Hop</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/sip/address/Router.html#getOutboundProxy()">getOutboundProxy</A></B>()</CODE>
<BR>
Gets the Outbound Proxy parameter of this Router, this method may return null if no outbound proxy is defined.</TD>
</TR>
</TABLE>
<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="getOutboundProxy()"><!-- --></A><H3>
getOutboundProxy</H3>
<PRE>
<A HREF="../../../javax/sip/address/Hop.html" title="interface in javax.sip.address">Hop</A> <B>getOutboundProxy</B>()</PRE>
<DL>
<DD>Gets the Outbound Proxy parameter of this Router, this method may return null if no outbound proxy is defined.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the Outbound Proxy of this Router.<DT><B>See Also:</B><DD><A HREF="../../../javax/sip/address/Hop.html" title="interface in javax.sip.address"><CODE>Hop</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getNextHops(javax.sip.message.Request)"><!-- --></A><H3>
getNextHops</H3>
<PRE>
java.util.ListIterator <B>getNextHops</B>(<A HREF="../../../javax/sip/message/Request.html" title="interface in javax.sip.message">Request</A> request)</PRE>
<DL>
<DD><B>Deprecated.</B> <I>Since v1.2. This method is replaced with <A HREF="../../../javax/sip/address/Router.html#getNextHop(javax.sip.message.Request)"><CODE>getNextHop(Request)</CODE></A> method which returns the next Hop for this request.</I>
<P>
<DD>Gets the ListIterator of the hops of the default Route. This method may return null if a default route is not defined.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getNextHop(javax.sip.message.Request)"><!-- --></A><H3>
getNextHop</H3>
<PRE>
<A HREF="../../../javax/sip/address/Hop.html" title="interface in javax.sip.address">Hop</A> <B>getNextHop</B>(<A HREF="../../../javax/sip/message/Request.html" title="interface in javax.sip.message">Request</A> request)
throws <A HREF="../../../javax/sip/SipException.html" title="class in javax.sip">SipException</A></PRE>
<DL>
<DD>Gets the next Hop from this Router for the specified request, this method may return <code>null</code> if a default route is not defined.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the next Hop from this Router for the Request.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../javax/sip/SipException.html" title="class in javax.sip">SipException</A></CODE> - when there is something wrong with the request<DT><B>Since:</B></DT>
<DD>v1.2</DD>
<DT><B>See Also:</B><DD><A HREF="../../../javax/sip/address/Hop.html" title="interface in javax.sip.address"><CODE>Hop</CODE></A></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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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">
<A HREF="../../../javax/sip/address/Hop.html" title="interface in javax.sip.address"><B>PREV CLASS</B></A>
<A HREF="../../../javax/sip/address/SipURI.html" title="interface in javax.sip.address"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?javax/sip/address/Router.html" target="_top"><B>FRAMES</B></A>
<A HREF="Router.html" target="_top"><B>NO FRAMES</B></A>
<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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <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 + -