📄 httpbindmanager.html
字号:
<DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jivesoftware.openfire.http.HttpBindManager.HTTP_BIND_ENABLED">Constant Field Values</A></DL></DL><HR><A NAME="HTTP_BIND_ENABLED_DEFAULT"><!-- --></A><H3>HTTP_BIND_ENABLED_DEFAULT</H3><PRE>public static final boolean <B>HTTP_BIND_ENABLED_DEFAULT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jivesoftware.openfire.http.HttpBindManager.HTTP_BIND_ENABLED_DEFAULT">Constant Field Values</A></DL></DL><HR><A NAME="HTTP_BIND_PORT"><!-- --></A><H3>HTTP_BIND_PORT</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>HTTP_BIND_PORT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jivesoftware.openfire.http.HttpBindManager.HTTP_BIND_PORT">Constant Field Values</A></DL></DL><HR><A NAME="HTTP_BIND_PORT_DEFAULT"><!-- --></A><H3>HTTP_BIND_PORT_DEFAULT</H3><PRE>public static final int <B>HTTP_BIND_PORT_DEFAULT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jivesoftware.openfire.http.HttpBindManager.HTTP_BIND_PORT_DEFAULT">Constant Field Values</A></DL></DL><HR><A NAME="HTTP_BIND_SECURE_PORT"><!-- --></A><H3>HTTP_BIND_SECURE_PORT</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>HTTP_BIND_SECURE_PORT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jivesoftware.openfire.http.HttpBindManager.HTTP_BIND_SECURE_PORT">Constant Field Values</A></DL></DL><HR><A NAME="HTTP_BIND_SECURE_PORT_DEFAULT"><!-- --></A><H3>HTTP_BIND_SECURE_PORT_DEFAULT</H3><PRE>public static final int <B>HTTP_BIND_SECURE_PORT_DEFAULT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jivesoftware.openfire.http.HttpBindManager.HTTP_BIND_SECURE_PORT_DEFAULT">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="getInstance()"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../../org/jivesoftware/openfire/http/HttpBindManager.html" title="class in org.jivesoftware.openfire.http">HttpBindManager</A> <B>getInstance</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="start()"><!-- --></A><H3>start</H3><PRE>public void <B>start</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="stop()"><!-- --></A><H3>stop</H3><PRE>public void <B>stop</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getSessionManager()"><!-- --></A><H3>getSessionManager</H3><PRE>public <A HREF="../../../../org/jivesoftware/openfire/http/HttpSessionManager.html" title="class in org.jivesoftware.openfire.http">HttpSessionManager</A> <B>getSessionManager</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="isHttpBindEnabled()"><!-- --></A><H3>isHttpBindEnabled</H3><PRE>public boolean <B>isHttpBindEnabled</B>()</PRE><DL><DD>Returns true if the HTTP binding server is currently enabled.<P><DD><DL><DT><B>Returns:</B><DD>true if the HTTP binding server is currently enabled.</DL></DD></DL><HR><A NAME="getHttpBindUnsecureAddress()"><!-- --></A><H3>getHttpBindUnsecureAddress</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getHttpBindUnsecureAddress</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getHttpBindSecureAddress()"><!-- --></A><H3>getHttpBindSecureAddress</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getHttpBindSecureAddress</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getJavaScriptUrl()"><!-- --></A><H3>getJavaScriptUrl</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getJavaScriptUrl</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setHttpBindEnabled(boolean)"><!-- --></A><H3>setHttpBindEnabled</H3><PRE>public void <B>setHttpBindEnabled</B>(boolean isEnabled)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setHttpBindPorts(int, int)"><!-- --></A><H3>setHttpBindPorts</H3><PRE>public void <B>setHttpBindPorts</B>(int unsecurePort, int securePort) throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE><DL><DD>Set the ports on which the HTTP binding service will be running.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>unsecurePort</CODE> - the unsecured connection port which clients can connect to.<DD><CODE>securePort</CODE> - the secured connection port which clients can connect to.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE> - when there is an error configuring the HTTP binding ports.</DL></DD></DL><HR><A NAME="getContexts()"><!-- --></A><H3>getContexts</H3><PRE>public org.mortbay.jetty.handler.ContextHandlerCollection <B>getContexts</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getHttpBindUnsecurePort()"><!-- --></A><H3>getHttpBindUnsecurePort</H3><PRE>public int <B>getHttpBindUnsecurePort</B>()</PRE><DL><DD>Returns the HTTP binding port which does not use SSL.<P><DD><DL><DT><B>Returns:</B><DD>the HTTP binding port which does not use SSL.</DL></DD></DL><HR><A NAME="getHttpBindSecurePort()"><!-- --></A><H3>getHttpBindSecurePort</H3><PRE>public int <B>getHttpBindSecurePort</B>()</PRE><DL><DD>Returns the HTTP binding port which uses SSL.<P><DD><DL><DT><B>Returns:</B><DD>the HTTP binding port which uses SSL.</DL></DD></DL><HR><A NAME="isScriptSyntaxEnabled()"><!-- --></A><H3>isScriptSyntaxEnabled</H3><PRE>public boolean <B>isScriptSyntaxEnabled</B>()</PRE><DL><DD>Returns true if script syntax is enabled. Script syntax allows BOSH to be used in environments where clients may be restricted to using a particular server. Instead of using standard HTTP Post requests to transmit data, HTTP Get requests are used.<P><DD><DL><DT><B>Returns:</B><DD>true if script syntax is enabled.<DT><B>See Also:</B><DD><a href="http://www.xmpp.org/extensions/xep-0124.html#script">BOSH: Alternative Script Syntax</a></DL></DD></DL><HR><A NAME="setScriptSyntaxEnabled(boolean)"><!-- --></A><H3>setScriptSyntaxEnabled</H3><PRE>public void <B>setScriptSyntaxEnabled</B>(boolean isEnabled)</PRE><DL><DD>Enables or disables script syntax.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>isEnabled</CODE> - true to enable script syntax and false to disable it.<DT><B>See Also:</B><DD><A HREF="../../../../org/jivesoftware/openfire/http/HttpBindManager.html#isScriptSyntaxEnabled()"><CODE>isScriptSyntaxEnabled()</CODE></A>, <a href="http://www.xmpp.org/extensions/xep-0124.html#script">BOSH: Alternative Script Syntax</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>Openfire 3.6.0a Javadoc</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/jivesoftware/openfire/http/HttpBindException.html" title="class in org.jivesoftware.openfire.http"><B>PREV CLASS</B></A> <A HREF="../../../../org/jivesoftware/openfire/http/HttpBindServlet.html" title="class in org.jivesoftware.openfire.http"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/jivesoftware/openfire/http/HttpBindManager.html" target="_top"><B>FRAMES</B></A> <A HREF="HttpBindManager.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 | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright © 2003-2008 Jive Software.</i></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -