01: /*
02: * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
03: * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
04: */
05:
06: package javax.xml.ws.handler.soap;
07:
08: import javax.xml.namespace.QName;
09: import javax.xml.ws.handler.Handler;
10: import java.util.Set;
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> extends
19: 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<QName> getHeaders();
29: }
|