org.jboss.axis.transport.http
Class SimpleAxisWorker

java.lang.Object
  extended byorg.jboss.axis.transport.http.SimpleAxisWorker
All Implemented Interfaces:
java.lang.Runnable

public class SimpleAxisWorker
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
SimpleAxisWorker(SimpleAxisServer (src)  server, java.net.Socket socket)
           
 
Method Summary
static java.lang.String getLocalHost()
          One method for all host name lookups.
protected  void invokeMethodFromGet(java.lang.String methodName, java.lang.String args)
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAxisWorker

public SimpleAxisWorker(SimpleAxisServer (src)  server,
                        java.net.Socket socket)
Method Detail

run

public void run()
The main workhorse method.

Specified by:
run in interface java.lang.Runnable

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.