Class 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.Log log  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      The main workhorse method.
      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()
      Run method
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • log

        protected static org.apache.commons.logging.Log log
    • Constructor Detail

      • SimpleAxisWorker

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

      • run

        public void run()
        Run method
        Specified by:
        run in interface java.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.