com.oracle.webservices.internal.api.message.MessageContext Java Examples

The following examples show how to use com.oracle.webservices.internal.api.message.MessageContext. 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: MessageContextFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
     * @deprecated http://java.net/jira/browse/JAX_WS-1077
     */
    @Deprecated
    public com.oracle.webservices.internal.api.message.MessageContext createContext(InputStream in, MimeHeaders headers) throws IOException {
        String contentType = getHeader(headers, "Content-Type");
        Packet packet = (Packet) createContext(in, contentType);
        packet.acceptableMimeTypes = getHeader(headers, "Accept");
        packet.soapAction = fixQuotesAroundSoapAction(getHeader(headers, "SOAPAction"));
//      packet.put(Packet.INBOUND_TRANSPORT_HEADERS, toMap(headers));
        return packet;
    }
 
Example #2
Source File: MessageContextFactory.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
     * @deprecated http://java.net/jira/browse/JAX_WS-1077
     */
    @Deprecated
    public com.oracle.webservices.internal.api.message.MessageContext createContext(InputStream in, MimeHeaders headers) throws IOException {
        String contentType = getHeader(headers, "Content-Type");
        Packet packet = (Packet) createContext(in, contentType);
        packet.acceptableMimeTypes = getHeader(headers, "Accept");
        packet.soapAction = fixQuotesAroundSoapAction(getHeader(headers, "SOAPAction"));
//      packet.put(Packet.INBOUND_TRANSPORT_HEADERS, toMap(headers));
        return packet;
    }
 
Example #3
Source File: MessageContextFactory.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public com.oracle.webservices.internal.api.message.MessageContext createContext(InputStream in, String contentType) throws IOException {
    throwIfIllegalMessageArgument(in);
    //TODO when do we use xmlCodec?
    Packet p = packet(null);
    soapCodec.decode(in, contentType, p);
    return p;
}
 
Example #4
Source File: MessageContextFactory.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public com.oracle.webservices.internal.api.message.MessageContext createContext(InputStream in, String contentType) throws IOException {
    throwIfIllegalMessageArgument(in);
    //TODO when do we use xmlCodec?
    Packet p = packet(null);
    soapCodec.decode(in, contentType, p);
    return p;
}
 
Example #5
Source File: MessageContextFactory.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
     * @deprecated http://java.net/jira/browse/JAX_WS-1077
     */
    @Deprecated
    public com.oracle.webservices.internal.api.message.MessageContext createContext(InputStream in, MimeHeaders headers) throws IOException {
        String contentType = getHeader(headers, "Content-Type");
        Packet packet = (Packet) createContext(in, contentType);
        packet.acceptableMimeTypes = getHeader(headers, "Accept");
        packet.soapAction = fixQuotesAroundSoapAction(getHeader(headers, "SOAPAction"));
//      packet.put(Packet.INBOUND_TRANSPORT_HEADERS, toMap(headers));
        return packet;
    }
 
Example #6
Source File: MessageContextFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public com.oracle.webservices.internal.api.message.MessageContext createContext(InputStream in, String contentType) throws IOException {
    throwIfIllegalMessageArgument(in);
    //TODO when do we use xmlCodec?
    Packet p = packet(null);
    soapCodec.decode(in, contentType, p);
    return p;
}
 
Example #7
Source File: MessageContextFactory.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
     * @deprecated http://java.net/jira/browse/JAX_WS-1077
     */
    @Deprecated
    public com.oracle.webservices.internal.api.message.MessageContext createContext(InputStream in, MimeHeaders headers) throws IOException {
        String contentType = getHeader(headers, "Content-Type");
        Packet packet = (Packet) createContext(in, contentType);
        packet.acceptableMimeTypes = getHeader(headers, "Accept");
        packet.soapAction = fixQuotesAroundSoapAction(getHeader(headers, "SOAPAction"));
//      packet.put(Packet.INBOUND_TRANSPORT_HEADERS, toMap(headers));
        return packet;
    }
 
Example #8
Source File: MessageContextFactory.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public com.oracle.webservices.internal.api.message.MessageContext createContext(InputStream in, String contentType) throws IOException {
    throwIfIllegalMessageArgument(in);
    //TODO when do we use xmlCodec?
    Packet p = packet(null);
    soapCodec.decode(in, contentType, p);
    return p;
}
 
Example #9
Source File: MessageContextFactory.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
     * @deprecated http://java.net/jira/browse/JAX_WS-1077
     */
    @Deprecated
    public com.oracle.webservices.internal.api.message.MessageContext createContext(InputStream in, MimeHeaders headers) throws IOException {
        String contentType = getHeader(headers, "Content-Type");
        Packet packet = (Packet) createContext(in, contentType);
        packet.acceptableMimeTypes = getHeader(headers, "Accept");
        packet.soapAction = fixQuotesAroundSoapAction(getHeader(headers, "SOAPAction"));
//      packet.put(Packet.INBOUND_TRANSPORT_HEADERS, toMap(headers));
        return packet;
    }
 
Example #10
Source File: MessageContextFactory.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public com.oracle.webservices.internal.api.message.MessageContext createContext(InputStream in, String contentType) throws IOException {
    throwIfIllegalMessageArgument(in);
    //TODO when do we use xmlCodec?
    Packet p = packet(null);
    soapCodec.decode(in, contentType, p);
    return p;
}
 
Example #11
Source File: MessageContextFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public MessageContext createContext(Source m, com.oracle.webservices.internal.api.EnvelopeStyle.Style envelopeStyle) {
    throwIfIllegalMessageArgument(m);
    return packet(Messages.create(m, SOAPVersion.from(envelopeStyle)));
}
 
Example #12
Source File: DatabindingImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public com.oracle.webservices.internal.api.databinding.JavaCallInfo deserializeRequest(MessageContext message) {
    return deserializeRequest((Packet) message);
}
 
Example #13
Source File: DatabindingImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public com.oracle.webservices.internal.api.databinding.JavaCallInfo deserializeResponse(
        MessageContext message, com.oracle.webservices.internal.api.databinding.JavaCallInfo call) {
    return deserializeResponse((Packet) message, (JavaCallInfo) call);
}
 
Example #14
Source File: MessageContextFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Deprecated
public com.oracle.webservices.internal.api.message.MessageContext doCreate(Source x, SOAPVersion soapVersion) {
    return packet(Messages.create(x, soapVersion));
}
 
Example #15
Source File: MessageContextFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Deprecated
public com.oracle.webservices.internal.api.message.MessageContext doCreate() {
    return packet(null);
}
 
Example #16
Source File: MessageContextFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public MessageContext createContext(Message m) {
    throwIfIllegalMessageArgument(m);
    return packet(m);
}
 
Example #17
Source File: MessageContextFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public com.oracle.webservices.internal.api.message.MessageContext createContext(Source m) {
    throwIfIllegalMessageArgument(m);
    return packet(Messages.create(m, SOAPVersion.from(singleSoapStyle)));
}
 
Example #18
Source File: MessageContextFactory.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Deprecated
public com.oracle.webservices.internal.api.message.MessageContext doCreate(SOAPMessage m) {
    return createContext(m);
}
 
Example #19
Source File: MessageContextFactory.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
@Deprecated
public com.oracle.webservices.internal.api.message.MessageContext doCreate(SOAPMessage m) {
    return createContext(m);
}
 
Example #20
Source File: MessageContextFactory.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public MessageContext createContext(Message m) {
    throwIfIllegalMessageArgument(m);
    return packet(m);
}
 
Example #21
Source File: MessageContextFactory.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public com.oracle.webservices.internal.api.message.MessageContext createContext(Source m) {
    throwIfIllegalMessageArgument(m);
    return packet(Messages.create(m, SOAPVersion.from(singleSoapStyle)));
}
 
Example #22
Source File: MessageContextFactory.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public MessageContext createContext(Source m, com.oracle.webservices.internal.api.EnvelopeStyle.Style envelopeStyle) {
    throwIfIllegalMessageArgument(m);
    return packet(Messages.create(m, SOAPVersion.from(envelopeStyle)));
}
 
Example #23
Source File: MessageContextFactory.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public com.oracle.webservices.internal.api.message.MessageContext createContext(SOAPMessage soap) {
    throwIfIllegalMessageArgument(soap);
    return packet(Messages.create(soap));
}
 
Example #24
Source File: MessageContextFactory.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public com.oracle.webservices.internal.api.message.MessageContext createContext() {
    return packet(null);
}
 
Example #25
Source File: DatabindingImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@Override
public com.oracle.webservices.internal.api.databinding.JavaCallInfo deserializeRequest(MessageContext message) {
    return deserializeRequest((Packet) message);
}
 
Example #26
Source File: DatabindingImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@Override
public com.oracle.webservices.internal.api.databinding.JavaCallInfo deserializeResponse(
        MessageContext message, com.oracle.webservices.internal.api.databinding.JavaCallInfo call) {
    return deserializeResponse((Packet) message, (JavaCallInfo) call);
}
 
Example #27
Source File: MessageContextFactory.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@Deprecated
public com.oracle.webservices.internal.api.message.MessageContext doCreate(Source x, SOAPVersion soapVersion) {
    return packet(Messages.create(x, soapVersion));
}
 
Example #28
Source File: MessageContextFactory.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@Deprecated
public com.oracle.webservices.internal.api.message.MessageContext doCreate(SOAPMessage m) {
    return createContext(m);
}
 
Example #29
Source File: MessageContextFactory.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
@Deprecated
public com.oracle.webservices.internal.api.message.MessageContext doCreate() {
    return packet(null);
}
 
Example #30
Source File: MessageContextFactory.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public MessageContext createContext(Message m) {
    throwIfIllegalMessageArgument(m);
    return packet(m);
}