Overview | Package | Class | Tree | Deprecated | Index | Help
| Openfire 3.7.1 Javadoc
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jivesoftware.openfire.http
Class HttpBindManager

    java.lang.Object
      org.jivesoftware.openfire.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.eclipse.jetty.server.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` | `isHttpBindActive()` Returns true if a listener on the HTTP binding port is running.
`boolean` | `isHttpBindEnabled()` Returns true if the HTTP binding server is currently enabled.
`boolean` | `isHttpsBindActive()` Returns true if a listener on the HTTPS binding port is running.
`boolean` | `isScriptSyntaxEnabled()` Returns true if script syntax is enabled.
`void` | `setHttpBindEnabled(boolean isEnabled)`
`void` | `setHttpBindPorts(int unsecurePort, int securePort)` Set the ports on which the HTTP binding service will be running.
`void` | `setScriptSyntaxEnabled(boolean isEnabled)` Enables or disables script syntax.
`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.

### isHttpBindActive

    public boolean isHttpBindActive()

  Returns true if a listener on the HTTP binding port is running.

  Returns:
    true if a listener on the HTTP binding port is running.

### isHttpsBindActive

    public boolean isHttpsBindActive()

  Returns true if a listener on the HTTPS binding port is running.

  Returns:
    true if a listener on the HTTPS binding port is running.

### 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.eclipse.jetty.server.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.

### isScriptSyntaxEnabled

    public boolean isScriptSyntaxEnabled()

  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.

  Returns:
    true if script syntax is enabled.
  See Also:
    BOSH: Alternative Script Syntax

### setScriptSyntaxEnabled

    public void setScriptSyntaxEnabled(boolean isEnabled)

  Enables or disables script syntax.

  Parameters:
    `isEnabled` - true to enable script syntax and false to disable it.
  See Also:
    `isScriptSyntaxEnabled()`, BOSH: Alternative Script Syntax

Overview | Package | Class | Tree | Deprecated | Index | Help
| Openfire 3.7.1 Javadoc
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2008 Jive Software.