View Javadoc

1   package org.codehaus.xfire.client;
2   
3   import javax.xml.stream.XMLStreamException;
4   import javax.xml.stream.XMLStreamWriter;
5   
6   import org.codehaus.xfire.attachments.Attachments;
7   
8   /***
9    * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
10   * @since Oct 26, 2004
11   */
12  public abstract class NullRequestHandler 
13      implements ClientHandler
14  {
15      public boolean hasRequest()
16      {
17          return false;
18      }
19  
20      public void writeRequest(XMLStreamWriter writer) 
21          throws XMLStreamException
22      {
23      }
24      
25      public Attachments getAttachments()
26      {
27          return null;
28      }
29  }