SOAPHandler (Java EE 5)

Java EE API


javax.xml.ws.handler.soap Interface SOAPHandler<T extends SOAPMessageContext>

All Superinterfaces:
Handler<T>

public interface SOAPHandler<T extends SOAPMessageContext>
extends Handler<T>

Implements: ">Handler

SOAPHandler 类扩展了 Handler,以便为消息上下文参数提供输入安全性,并添加了一个方法,以访问可能由该处理程序处理的头。
英文文档:

The SOAPHandler class extends Handler to provide typesafety for the message context parameter and add a method to obtain access to the headers that may be processed by the handler.

Since:
JAX-WS 2.0

Method Summary
 Set<QName>
 
Methods inherited from interface javax.xml.ws.handler.Handler
 

Method Detail

public java.util.Set<E> getHeaders()
获取可以由此处理程序实例处理的头块。
return 由此处理程序实例处理的头块的 QName 集合。QName 是头块最外部元素的限定名。
英文文档:

getHeaders

Set<QName> getHeaders()
Gets the header blocks that can be processed by this Handler instance.

Returns:
Set of QNames of header blocks processed by this handler instance. QName is the qualified name of the outermost element of the Header block.


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!