com.sun.xml.internal.ws.message.stream.StreamHeader12 Java Examples

The following examples show how to use com.sun.xml.internal.ws.message.stream.StreamHeader12. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Headers.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new {@link Header} that reads from {@link XMLStreamReader}.
 *
 * <p>
 * Note that the header implementation will read the entire data
 * into memory anyway, so this might not be as efficient as you might hope.
 */
public static Header create( SOAPVersion soapVersion, XMLStreamReader reader ) throws XMLStreamException {
    switch(soapVersion) {
    case SOAP_11:
        return new StreamHeader11(reader);
    case SOAP_12:
        return new StreamHeader12(reader);
    default:
        throw new AssertionError();
    }
}
 
Example #2
Source File: Headers.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new {@link Header} that reads from {@link XMLStreamReader}.
 *
 * <p>
 * Note that the header implementation will read the entire data
 * into memory anyway, so this might not be as efficient as you might hope.
 */
public static Header create( SOAPVersion soapVersion, XMLStreamReader reader ) throws XMLStreamException {
    switch(soapVersion) {
    case SOAP_11:
        return new StreamHeader11(reader);
    case SOAP_12:
        return new StreamHeader12(reader);
    default:
        throw new AssertionError();
    }
}
 
Example #3
Source File: Headers.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new {@link Header} that reads from {@link XMLStreamReader}.
 *
 * <p>
 * Note that the header implementation will read the entire data
 * into memory anyway, so this might not be as efficient as you might hope.
 */
public static Header create( SOAPVersion soapVersion, XMLStreamReader reader ) throws XMLStreamException {
    switch(soapVersion) {
    case SOAP_11:
        return new StreamHeader11(reader);
    case SOAP_12:
        return new StreamHeader12(reader);
    default:
        throw new AssertionError();
    }
}
 
Example #4
Source File: Headers.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new {@link Header} that reads from {@link XMLStreamReader}.
 *
 * <p>
 * Note that the header implementation will read the entire data
 * into memory anyway, so this might not be as efficient as you might hope.
 */
public static Header create( SOAPVersion soapVersion, XMLStreamReader reader ) throws XMLStreamException {
    switch(soapVersion) {
    case SOAP_11:
        return new StreamHeader11(reader);
    case SOAP_12:
        return new StreamHeader12(reader);
    default:
        throw new AssertionError();
    }
}
 
Example #5
Source File: Headers.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new {@link Header} that reads from {@link XMLStreamReader}.
 *
 * <p>
 * Note that the header implementation will read the entire data
 * into memory anyway, so this might not be as efficient as you might hope.
 */
public static Header create( SOAPVersion soapVersion, XMLStreamReader reader ) throws XMLStreamException {
    switch(soapVersion) {
    case SOAP_11:
        return new StreamHeader11(reader);
    case SOAP_12:
        return new StreamHeader12(reader);
    default:
        throw new AssertionError();
    }
}
 
Example #6
Source File: Headers.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new {@link Header} that reads from {@link XMLStreamReader}.
 *
 * <p>
 * Note that the header implementation will read the entire data
 * into memory anyway, so this might not be as efficient as you might hope.
 */
public static Header create( SOAPVersion soapVersion, XMLStreamReader reader ) throws XMLStreamException {
    switch(soapVersion) {
    case SOAP_11:
        return new StreamHeader11(reader);
    case SOAP_12:
        return new StreamHeader12(reader);
    default:
        throw new AssertionError();
    }
}
 
Example #7
Source File: Headers.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new {@link Header} that reads from {@link XMLStreamReader}.
 *
 * <p>
 * Note that the header implementation will read the entire data
 * into memory anyway, so this might not be as efficient as you might hope.
 */
public static Header create( SOAPVersion soapVersion, XMLStreamReader reader ) throws XMLStreamException {
    switch(soapVersion) {
    case SOAP_11:
        return new StreamHeader11(reader);
    case SOAP_12:
        return new StreamHeader12(reader);
    default:
        throw new AssertionError();
    }
}
 
Example #8
Source File: Headers.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new {@link Header} that reads from {@link XMLStreamReader}.
 *
 * <p>
 * Note that the header implementation will read the entire data
 * into memory anyway, so this might not be as efficient as you might hope.
 */
public static Header create( SOAPVersion soapVersion, XMLStreamReader reader ) throws XMLStreamException {
    switch(soapVersion) {
    case SOAP_11:
        return new StreamHeader11(reader);
    case SOAP_12:
        return new StreamHeader12(reader);
    default:
        throw new AssertionError();
    }
}
 
Example #9
Source File: FastInfosetStreamSOAP12Codec.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
protected final StreamHeader createHeader(XMLStreamReader reader, XMLStreamBuffer mark) {
    return new StreamHeader12(reader, mark);
}
 
Example #10
Source File: FastInfosetStreamSOAP12Codec.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
protected final StreamHeader createHeader(XMLStreamReader reader, XMLStreamBuffer mark) {
    return new StreamHeader12(reader, mark);
}
 
Example #11
Source File: FastInfosetStreamSOAP12Codec.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
protected final StreamHeader createHeader(XMLStreamReader reader, XMLStreamBuffer mark) {
    return new StreamHeader12(reader, mark);
}
 
Example #12
Source File: FastInfosetStreamSOAP12Codec.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
protected final StreamHeader createHeader(XMLStreamReader reader, XMLStreamBuffer mark) {
    return new StreamHeader12(reader, mark);
}
 
Example #13
Source File: FastInfosetStreamSOAP12Codec.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
protected final StreamHeader createHeader(XMLStreamReader reader, XMLStreamBuffer mark) {
    return new StreamHeader12(reader, mark);
}
 
Example #14
Source File: FastInfosetStreamSOAP12Codec.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
protected final StreamHeader createHeader(XMLStreamReader reader, XMLStreamBuffer mark) {
    return new StreamHeader12(reader, mark);
}
 
Example #15
Source File: FastInfosetStreamSOAP12Codec.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
protected final StreamHeader createHeader(XMLStreamReader reader, XMLStreamBuffer mark) {
    return new StreamHeader12(reader, mark);
}
 
Example #16
Source File: FastInfosetStreamSOAP12Codec.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
protected final StreamHeader createHeader(XMLStreamReader reader, XMLStreamBuffer mark) {
    return new StreamHeader12(reader, mark);
}