Searched refs:codec (Results 1 - 20 of 20) sorted by relevance

/openjdk9/langtools/test/tools/jdeps/jdkinternals/patches/java.desktop/com/sun/image/codec/jpeg/
H A DJPEGCodec.java24 package com.sun.image.codec.jpeg;
/openjdk9/langtools/test/tools/jdeps/jdkinternals/src/p/
H A DMain.java26 import com.sun.image.codec.jpeg.JPEGCodec;
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/server/
H A DAbstractServerAsyncTransport.java65 * @param codec for encoding/decoding {@link Message}
69 protected Packet decodePacket(T connection, @NotNull Codec codec) throws IOException { argument
82 * @param codec that does the encoding of Packet
85 protected abstract void encodePacket(T connection, @NotNull Packet packet, @NotNull Codec codec) throws IOException; argument
131 final Codec codec = codecPool.take();
132 Packet request = decodePacket(connection, codec);
137 encodePacket(connection, response, codec);
141 codecPool.recycle(codec);
H A DAdapter.java86 public final Codec codec; field in class:Adapter.Toolkit
93 this.codec = endpoint.createCodec();
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/pipe/
H A DClientTubeAssemblerContext.java73 private @NotNull Codec codec; field in class:ClientTubeAssemblerContext
106 @NotNull Container container, Codec codec) {
107 this(address, wsdlModel, rootOwner, binding, container, codec, null, null);
117 @NotNull Container container, Codec codec, SEIModel seiModel, Class sei) {
118 this(address, wsdlModel, rootOwner, null/* no info on which port it is, so pass null*/, binding, container, codec, seiModel, sei);
128 @NotNull Container container, Codec codec, SEIModel seiModel, Class sei) {
129 this(address, wsdlModel, (bindingProvider==null? null: bindingProvider.getPortInfo().getOwner()), bindingProvider, binding, container, codec, seiModel, sei);
137 @NotNull Container container, Codec codec, SEIModel seiModel, Class sei) {
144 this.codec = codec;
104 ClientTubeAssemblerContext(@otNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @NotNull Container container, Codec codec) argument
115 ClientTubeAssemblerContext(@otNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @NotNull Container container, Codec codec, SEIModel seiModel, Class sei) argument
126 ClientTubeAssemblerContext(@otNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSBindingProvider bindingProvider, @NotNull WSBinding binding, @NotNull Container container, Codec codec, SEIModel seiModel, Class sei) argument
135 ClientTubeAssemblerContext(@otNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @Nullable WSService rootOwner, @Nullable WSBindingProvider bindingProvider, @NotNull WSBinding binding, @NotNull Container container, Codec codec, SEIModel seiModel, Class sei) argument
336 setCodec(@otNull Codec codec) argument
[all...]
H A DServerTubeAssemblerContext.java66 private @NotNull Codec codec; field in class:ServerTubeAssemblerContext
78 this.codec = this.binding.createCodec();
222 * Gets the {@link Codec} that is set by {@link #setCodec} or the default codec
223 * based on the binding. The codec is a full codec that is responsible for
227 * @return codec to be used for web service requests
231 return codec;
236 * new codec will be used by jax-ws server runtime for encoding/decoding web service
238 * of this new codec and will be used in the server runtime.
241 * The codec i
252 setCodec(@otNull Codec codec) argument
[all...]
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/encoding/
H A DXMLHTTPBindingCodec.java74 * True if the Fast Infoset codec should be used
79 * The XML codec
84 * The FI codec
293 Codec codec = new XMLHTTPBindingCodec(f);
295 codec.decode(in.getInputStream(), in.getContentType(), p);
298 codec.getStaticContentType(p);
301 ContentType ct = codec.encode(p, bos);
305 Codec codec = new XMLHTTPBindingCodec(f);
307 codec.decode(in.getInputStream(), in.getContentType(), p);
311 codec
[all...]
H A DMtomCodec.java88 private final StreamSOAPCodec codec; field in class:MtomCodec
93 MtomCodec(SOAPVersion version, StreamSOAPCodec codec, WSFeatureList features){ argument
95 this.codec = codec;
276 return new MtomCodec(version, (StreamSOAPCodec)codec.copy(), features);
310 packet.setMessage(codec.decode(mtomReader, new MimeAttachmentSet(mpp)));
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/assembler/
H A DDefaultServerTubelineAssemblyContext.java124 * Gets the {@link Codec} that is set by {@link #setCodec} or the default codec
125 * based on the binding. The codec is a full codec that is responsible for
129 * @return codec to be used for web service requests
138 * new codec will be used by jax-ws server runtime for encoding/decoding web service
140 * of this new codec and will be used in the server runtime.
143 * The codec is a full codec that is responsible for
148 * the codec should correctly implement {@link Codec#copy} since it is used while
151 * @param codec code
154 setCodec(@otNull Codec codec) argument
[all...]
H A DDefaultClientTubelineAssemblyContext.java134 * Gets the {@link Codec} that is set by {@link #setCodec} or the default codec
137 * @return codec to be used for web service requests
145 * new codec will be used by jax-ws client runtime for encoding/decoding web service
146 * request/response messages. The new codec should be used by the transport tubes.
149 * the codec should correctly implement {@link Codec#copy} since it is used while
152 * @param codec codec to be used for web service requests
154 public void setCodec(@NotNull Codec codec) { argument
155 wrappedContext.setCodec(codec);
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/transport/http/
H A DHttpAdapter.java461 * @param codec
467 private Packet decodePacket(@NotNull WSHTTPConnection con, @NotNull Codec codec) throws IOException { argument
488 codec.decode(in, ct, packet);
542 private void encodePacket(@NotNull Packet packet, @NotNull WSHTTPConnection con, @NotNull Codec codec) throws IOException { argument
575 codec.encode(packet, buf);
579 codec.encode(packet, os);
611 ContentType contentType = codec.getStaticContentType(packet);
617 codec.encode(packet, buf);
621 codec.encode(packet, os);
627 contentType = codec
762 encodePacket(WSHTTPConnection con, @NotNull Packet packet, @NotNull Codec codec) argument
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/javax/sound/sampled/
H A DAudioSystem.java689 FormatConversionProvider codec = codecs.get(i);
690 if( codec.isSourceEncodingSupported( sourceEncoding ) ) {
691 encs = codec.getTargetEncodings();
725 for (final FormatConversionProvider codec : codecs) {
726 Collections.addAll(encs, codec.getTargetEncodings(sourceFormat));
757 FormatConversionProvider codec = codecs.get(i);
758 if(codec.isConversionSupported(targetEncoding,sourceFormat) ) {
791 FormatConversionProvider codec = codecs.get(i);
792 if( codec.isConversionSupported( targetEncoding, sourceStream.getFormat() ) ) {
793 return codec
[all...]
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/assembler/dev/
H A DServerTubelineAssemblyContext.java45 * Gets the {@link Codec} that is set by {@link #setCodec} or the default codec
46 * based on the binding. The codec is a full codec that is responsible for
50 * @return codec to be used for web service requests
113 * new codec will be used by jax-ws server runtime for encoding/decoding web service
115 * of this new codec and will be used in the server runtime.
118 * The codec is a full codec that is responsible for
123 * the codec should correctly implement {@link Codec#copy} since it is used while
126 * @param codec code
129 setCodec(@otNull Codec codec) argument
[all...]
H A DClientTubelineAssemblyContext.java61 * Gets the {@link Codec} that is set by {@link #setCodec} or the default codec
64 * @return codec to be used for web service requests
112 * new codec will be used by jax-ws client runtime for encoding/decoding web service
113 * request/response messages. The new codec should be used by the transport tubes.
116 * the codec should correctly implement {@link Codec#copy} since it is used while
119 * @param codec codec to be used for web service requests
122 Codec codec);
121 setCodec(@otNull Codec codec) argument
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/transport/http/client/
H A DHttpTransportPipe.java77 private final Codec codec; field in class:HttpTransportPipe
92 public HttpTransportPipe(Codec codec, WSBinding binding) { argument
93 this.codec = codec;
119 this(that.codec.copy(), that.binding);
169 ContentType ct = codec.getStaticContentType(request);
173 ct = codec.encode(request, buf);
201 codec.encode(request, buf);
210 codec.encode(request, os);
275 codec
[all...]
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/message/source/
H A DProtocolSourceMessage.java64 com.sun.xml.internal.ws.api.pipe.StreamSOAPCodec codec = Codecs.createSOAPEnvelopeXmlCodec(soapVersion);
65 sm = codec.decode(reader);
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/db/
H A DDatabindingImpl.java79 Codec codec; field in class:DatabindingImpl
254 if (codec == null) {
255 codec = ((BindingImpl) seiModel.getWSBinding()).createCodec();
257 return codec;
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/message/
H A DPacket.java1250 Codec codec = null; field in class:Packet
1252 if (codec != null) {
1253 return codec;
1256 codec = endpoint.createCodec();
1260 codec = wsb.getBindingId().createEncoder(wsb);
1262 return codec;
1281 * (1) By the codec as a result of decoding an incoming message
1282 * (2) Cached by a codec after encoding the message
H A DMessageContextFactory.java160 p.codec = soapCodec;
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/encoding/xml/
H A DXMLMessage.java579 Codec codec = new XMLHTTPBindingCodec(f);
581 com.sun.xml.internal.ws.api.pipe.ContentType ct = codec.getStaticContentType(packet);
582 codec.encode(packet, bos);

Completed in 208 milliseconds