Wildfire 3.2.4 Javadoc

org.jivesoftware.wildfire.http
Class HttpBindManager

java.lang.Object
  extended by org.jivesoftware.wildfire.http.HttpBindManager

public final class HttpBindManager
extends Object


Field Summary
static String HTTP_BIND_ENABLED
           
static boolean HTTP_BIND_ENABLED_DEFAULT
           
static String HTTP_BIND_PORT
           
static int HTTP_BIND_PORT_DEFAULT
           
static String HTTP_BIND_SECURE_PORT
           
static int HTTP_BIND_SECURE_PORT_DEFAULT
           
 
Method Summary
 org.mortbay.jetty.handler.ContextHandlerCollection getContexts()
           
 String getHttpBindSecureAddress()
           
 int getHttpBindSecurePort()
          Returns the HTTP binding port which uses SSL.
 String getHttpBindUnsecureAddress()
           
 int getHttpBindUnsecurePort()
          Returns the HTTP binding port which does not use SSL.
static HttpBindManager getInstance()
           
 String getJavaScriptUrl()
           
 HttpSessionManager getSessionManager()
           
 boolean isHttpBindEnabled()
          Returns true if the HTTP binding server is currently enabled.
 void setHttpBindEnabled(boolean isEnabled)
           
 void setHttpBindPorts(int unsecurePort, int securePort)
          Set the ports on which the HTTP binding service will be running.
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTTP_BIND_ENABLED

public static final String HTTP_BIND_ENABLED
See Also:
Constant Field Values

HTTP_BIND_ENABLED_DEFAULT

public static final boolean HTTP_BIND_ENABLED_DEFAULT
See Also:
Constant Field Values

HTTP_BIND_PORT

public static final String HTTP_BIND_PORT
See Also:
Constant Field Values

HTTP_BIND_PORT_DEFAULT

public static final int HTTP_BIND_PORT_DEFAULT
See Also:
Constant Field Values

HTTP_BIND_SECURE_PORT

public static final String HTTP_BIND_SECURE_PORT
See Also:
Constant Field Values

HTTP_BIND_SECURE_PORT_DEFAULT

public static final int HTTP_BIND_SECURE_PORT_DEFAULT
See Also:
Constant Field Values
Method Detail

getInstance

public static HttpBindManager getInstance()

start

public void start()

stop

public void stop()

getSessionManager

public HttpSessionManager getSessionManager()

isHttpBindEnabled

public boolean isHttpBindEnabled()
Returns true if the HTTP binding server is currently enabled.

Returns:
true if the HTTP binding server is currently enabled.

getHttpBindUnsecureAddress

public String getHttpBindUnsecureAddress()

getHttpBindSecureAddress

public String getHttpBindSecureAddress()

getJavaScriptUrl

public String getJavaScriptUrl()

setHttpBindEnabled

public void setHttpBindEnabled(boolean isEnabled)

setHttpBindPorts

public void setHttpBindPorts(int unsecurePort,
                             int securePort)
                      throws Exception
Set the ports on which the HTTP binding service will be running.

Parameters:
unsecurePort - the unsecured connection port which clients can connect to.
securePort - the secured connection port which clients can connect to.
Throws:
Exception - when there is an error configuring the HTTP binding ports.

getContexts

public org.mortbay.jetty.handler.ContextHandlerCollection getContexts()

getHttpBindUnsecurePort

public int getHttpBindUnsecurePort()
Returns the HTTP binding port which does not use SSL.

Returns:
the HTTP binding port which does not use SSL.

getHttpBindSecurePort

public int getHttpBindSecurePort()
Returns the HTTP binding port which uses SSL.

Returns:
the HTTP binding port which uses SSL.

Wildfire 3.2.4 Javadoc

Copyright © 2003-2007 Jive Software.