Class SimpleHttpServer
java.lang.Object
org.apache.axis2.transport.http.server.SimpleHttpServer
A simple, but configurable and extensible HTTP server.
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleHttpServer(org.apache.axis2.context.ConfigurationContext configurationContext, WorkerFactory workerFactory, int port) SimpleHttpServer(HttpFactory httpFactory, int port) -
Method Summary
-
Constructor Details
-
SimpleHttpServer
public SimpleHttpServer(org.apache.axis2.context.ConfigurationContext configurationContext, WorkerFactory workerFactory, int port) throws IOException - Throws:
IOException
-
SimpleHttpServer
- Throws:
IOException
-
-
Method Details
-
init
- Throws:
IOException
-
destroy
- Throws:
IOExceptionInterruptedException
-
start
public void start() -
isRunning
public boolean isRunning() -
getPort
public int getPort()
-