|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.axis.transport.http.SimpleAxisServer
This is a single threaded 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 boolean |
doSessions
|
protected static org.apache.commons.logging.Log |
log
|
static int |
sessionIndex
|
Constructor Summary | |
SimpleAxisServer()
|
Method Summary | |
java.net.ServerSocket |
getServerSocket()
Obtain the serverSocket that that SimpleAxisServer is listening on. |
static void |
main(java.lang.String[] args)
Server process. |
boolean |
matches(byte[] buf,
byte[] target)
does tolower[buf] match the target byte array, up to the target's length? |
boolean |
matches(byte[] buf,
int bufIdx,
byte[] target)
Case-insensitive match of a target byte [] to a source byte [], starting from a particular offset into the source. |
void |
run()
The main workhorse method. |
void |
setServerSocket(java.net.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 |
protected static org.apache.commons.logging.Log log
public static boolean doSessions
public static int sessionIndex
Constructor Detail |
public SimpleAxisServer()
Method Detail |
public void run()
run
in interface java.lang.Runnable
public boolean matches(byte[] buf, byte[] target)
public boolean matches(byte[] buf, int bufIdx, byte[] target)
public java.net.ServerSocket getServerSocket()
public void setServerSocket(java.net.ServerSocket serverSocket)
public void start(boolean daemon) throws java.lang.Exception
daemon
- a boolean indicating if the thread should be a daemon.public void start() throws java.lang.Exception
public void stop() throws java.lang.Exception
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |