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

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

public class SimpleHttpServer
extends java.lang.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 java.io.IOException
Throws:
java.io.IOException

SimpleHttpServer

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

init

public void init()
          throws java.io.IOException
Throws:
java.io.IOException

destroy

public void destroy()
             throws java.io.IOException,
                    java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

start

public void start()

isRunning

public boolean isRunning()

getPort

public int getPort()


Copyright © 2007 Apache Web Services Project. All Rights Reserved.