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

## org.huihoo.jfox.jmx.adaptor.http
Class HttpServer

    java.lang.Object
      |
      +--org.huihoo.jfox.jmx.adaptor.http.HttpServer

All Implemented Interfaces:
  java.lang.Runnable

public class HttpServer
extends java.lang.Object
implements java.lang.Runnable

Author:
  Young Yang

Constructor Summary
`HttpServer(MBeanServer server)`

Method Summary
`java.lang.String` | `getDocumentRoot()`
`java.lang.String` | `getHost()`
`int` | `getPort()`
`MBeanServer` | `getServer()`
`boolean` | `isRunning()`
`void` | `run()`
`void` | `setDocumentRoot(java.lang.String path)`
`void` | `setPort(int port)`
`void` | `setServer(MBeanServer server)`
`void` | `start()` start a new thread ,wait for http connection
`void` | `stop()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### HttpServer

    public HttpServer(MBeanServer server)

Method Detail

### getServer

    public MBeanServer getServer()

### setServer

    public void setServer(MBeanServer server)

### getHost

    public java.lang.String getHost()

### setPort

    public void setPort(int port)

### getPort

    public int getPort()

### start

    public void start()

  start a new thread ,wait for http connection

### stop

    public void stop()

### isRunning

    public boolean isRunning()

### getDocumentRoot

    public java.lang.String getDocumentRoot()

### setDocumentRoot

    public void setDocumentRoot(java.lang.String path)

### run

    public void run()

  Specified by:
    `run` in interface `java.lang.Runnable`

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