KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > xml > ws > handler > soap > SOAPHandler


1 /*
2  * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4  */

5
6 package javax.xml.ws.handler.soap;
7
8 import javax.xml.namespace.QName JavaDoc;
9 import javax.xml.ws.handler.Handler;
10 import java.util.Set JavaDoc;
11
12 /** The <code>SOAPHandler</code> class extends <code>Handler</code>
13  * to provide typesafety for the message context parameter and add a method
14  * to obtain access to the headers that may be processed by the handler.
15  *
16  * @since JAX-WS 2.0
17 **/

18 public interface SOAPHandler<T extends SOAPMessageContext>
19     extends Handler<T> {
20
21   /** Gets the header blocks that can be processed by this Handler
22    * instance.
23    *
24    * @return Set of <code>QNames</code> of header blocks processed by this
25    * handler instance. <code>QName</code> is the qualified
26    * name of the outermost element of the Header block.
27   **/

28   Set JavaDoc<QName JavaDoc> getHeaders();
29 }
30
Popular Tags