本文整理了Java中javax.xml.soap.SOAPHeader.extractAllHeaderElements()
方法的一些代码示例,展示了SOAPHeader.extractAllHeaderElements()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SOAPHeader.extractAllHeaderElements()
方法的具体详情如下:
包路径:javax.xml.soap.SOAPHeader
类名称:SOAPHeader
方法名:extractAllHeaderElements
[英]Returns an Iterator
over all the SOAPHeaderElement
objects in this SOAPHeader
object and detaches them from this SOAPHeader
object.
[中]
代码示例来源:origin: org.n52.svalbard/svalbard-xmlbeans
protected List<SoapHeader> getSoapHeader(SOAPHeader soapHeader) {
Map<String, List<SOAPHeaderElement>> headersByNamespace = new HashMap<>();
Iterator<?> headerElements = soapHeader.extractAllHeaderElements();
while (headerElements.hasNext()) {
SOAPHeaderElement element = (SOAPHeaderElement) headerElements.next();
代码示例来源:origin: org.n52.sensorweb.sos/binding-soap
protected List<SoapHeader> getSoapHeader(SOAPHeader soapHeader) {
ListMultiMap<String, SOAPHeaderElement> headersByNamespace =
new LinkedListMultiMap<String, SOAPHeaderElement>();
Iterator<?> headerElements = soapHeader.extractAllHeaderElements();
while (headerElements.hasNext()) {
SOAPHeaderElement element = (SOAPHeaderElement) headerElements.next();
内容来源于网络,如有侵权,请联系作者删除!