Package org.apache.axis.transport.http
Class SimpleAxisWorker
- java.lang.Object
-
- org.apache.axis.transport.http.SimpleAxisWorker
-
- All Implemented Interfaces:
java.lang.Runnable
public class SimpleAxisWorker extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.commons.logging.Loglog
-
Constructor Summary
Constructors Constructor Description SimpleAxisWorker(SimpleAxisServer server, java.net.Socket socket)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()The main workhorse method.static java.lang.StringgetLocalHost()One method for all host name lookups.protected voidinvokeMethodFromGet(java.lang.String methodName, java.lang.String args)booleanmatches(byte[] buf, byte[] target)does tolower[buf] match the target byte array, up to the target's length?booleanmatches(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.voidrun()Run method
-
-
-
Constructor Detail
-
SimpleAxisWorker
public SimpleAxisWorker(SimpleAxisServer server, java.net.Socket socket)
-
-
Method Detail
-
run
public void run()
Run method- Specified by:
runin interfacejava.lang.Runnable
-
execute
public void execute()
The main workhorse method.
-
invokeMethodFromGet
protected void invokeMethodFromGet(java.lang.String methodName, java.lang.String args) throws java.lang.Exception- Throws:
java.lang.Exception
-
matches
public boolean matches(byte[] buf, byte[] target)does tolower[buf] match the target byte array, up to the target's length?
-
matches
public 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.
-
getLocalHost
public static java.lang.String getLocalHost()
One method for all host name lookups.
-
-