|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.transport.http.SimpleAxisServer
This is a simple implementation of an HTTP server for processing SOAP requests via Apache's xml-axis. This is not intended for production use. Its intended uses are for demos, debugging, and performance profiling.
Field Summary | |
static int |
sessionIndex
|
Constructor Summary | |
SimpleAxisServer()
|
Method Summary | |
protected Session |
createSession(String cooky)
|
protected static AxisServer |
getAxisServer()
|
boolean |
getDoThreads()
|
ServerSocket |
getServerSocket()
Obtain the serverSocket that that SimpleAxisServer is listening on. |
protected boolean |
isSessionUsed()
|
static void |
main(String[] args)
Server process. |
void |
run()
Accept requests from a given TCP port and send them through the Axis engine for processing. |
void |
setDoThreads(boolean value)
|
void |
setServerSocket(ServerSocket serverSocket)
Set the serverSocket this server should listen on. |
void |
start()
Start this server as a NON-daemon. |
void |
start(boolean daemon)
Start this server. |
void |
stop()
Stop this server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int sessionIndex
Constructor Detail |
public SimpleAxisServer()
Method Detail |
protected boolean isSessionUsed()
public void setDoThreads(boolean value)
public boolean getDoThreads()
protected Session createSession(String cooky)
protected static AxisServer getAxisServer()
public void run()
public ServerSocket getServerSocket()
public void setServerSocket(ServerSocket serverSocket)
public void start(boolean daemon) throws Exception
daemon
- a boolean indicating if the thread should be a daemon.
Exception
public void start() throws Exception
Exception
public void stop() throws Exception
Exception
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |