org.apache.axis2.transport.http.server
Class SimpleHttpServer

java.lang.Object
  extended by org.apache.axis2.transport.http.server.SimpleHttpServer

public class SimpleHttpServer
extends Object

A simple, but configurable and extensible HTTP server.


Constructor Summary
SimpleHttpServer(ConfigurationContext configurationContext, WorkerFactory workerFactory, int port)
           
SimpleHttpServer(HttpFactory httpFactory, int port)
           
 
Method Summary
 void destroy()
           
 int getPort()
           
 void init()
           
 boolean isRunning()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleHttpServer

public SimpleHttpServer(ConfigurationContext configurationContext,
                        WorkerFactory workerFactory,
                        int port)
                 throws IOException
Throws:
IOException

SimpleHttpServer

public SimpleHttpServer(HttpFactory httpFactory,
                        int port)
                 throws IOException
Throws:
IOException
Method Detail

init

public void init()
          throws IOException
Throws:
IOException

destroy

public void destroy()
             throws IOException,
                    InterruptedException
Throws:
IOException
InterruptedException

start

public void start()

isRunning

public boolean isRunning()

getPort

public int getPort()


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.