jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/StreamingSOAP.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
26 package com.sun.xml.internal.ws.api.message; |
26 package com.sun.xml.internal.ws.api.message; |
27 |
27 |
|
28 import javax.xml.namespace.QName; |
|
29 import javax.xml.stream.XMLStreamException; |
28 import javax.xml.stream.XMLStreamReader; |
30 import javax.xml.stream.XMLStreamReader; |
|
31 import javax.xml.stream.XMLStreamWriter; |
29 |
32 |
30 public interface StreamingSOAP { |
33 public interface StreamingSOAP { |
31 public XMLStreamReader readEnvelope(); |
34 public XMLStreamReader readEnvelope(); |
|
35 public QName getPayloadQName(); |
|
36 public XMLStreamReader readToBodyStarTag() throws XMLStreamException; |
|
37 public XMLStreamReader readPayload() throws XMLStreamException; |
|
38 public void writeToBodyStart(XMLStreamWriter w) throws XMLStreamException; |
|
39 public void writePayloadTo(XMLStreamWriter writer)throws XMLStreamException; |
|
40 public boolean isPayloadStreamReader(); |
32 } |
41 } |