View Javadoc

    1   package org.codehaus.xfire.handler;
    2
    3   import javax.xml.namespace.QName;
    4
    5   import org.codehaus.xfire.MessageContext;
    6   import org.codehaus.xfire.fault.XFireFault;
    7
    8   /***
    9    * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
    10   * @since Feb 18, 2004
    11   */
    12  public abstract class AbstractHandler
    13      implements Handler
    14  {
    15  	/***
    16       * Returns null by default, indicating that no headers
    17       * were understood.
    18       *
    19       * @see org.codehaus.xfire.handler.Handler#getUnderstoodHeaders()
    20       */
    21      public QName[] getUnderstoodHeaders()
    22      {
    23          return null;
    24      }
    25
    26      public String[] getRoles()
    27      {
    28          return null;
    29      }
    30
    31      public String getPhase()
    32      {
    33          return Phase.USER;
    34      }
    35
    36      /***
    37       * @see org.codehaus.xfire.handler.Handler#handleFault(java.lang.Exception, org.codehaus.xfire.MessageContext)
    38       * @param e
    39       * @param context
    40       */
    41      public void handleFault(XFireFault fault, MessageContext context)
    42      {
    43      }
    44  }