Searched defs:contentType (Results 1 - 25 of 50) sorted by relevance

12

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/istack/internal/
H A DByteArrayDataSource.java40 private final String contentType; field in class:ByteArrayDataSource
44 public ByteArrayDataSource(byte[] buf, String contentType) { argument
45 this(buf,buf.length,contentType);
47 public ByteArrayDataSource(byte[] buf, int length, String contentType) { argument
50 this.contentType = contentType;
54 if(contentType==null)
56 return contentType;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/staxex/
H A DXMLStreamWriterEx.java89 * @param contentType
94 void writeBinary(byte[] data, int start, int len, String contentType) throws XMLStreamException; argument
122 * @param contentType
129 OutputStream writeBinary(String contentType) throws XMLStreamException; argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/stream/
H A DInputStreamMessage.java40 public final String contentType; field in class:InputStreamMessage
53 * @param contentType
60 public InputStreamMessage(Packet properties, String contentType, InputStream msg) { argument
63 this.contentType = contentType;
76 * @param contentType
84 String contentType, InputStream msg) {
87 this.contentType = contentType;
83 InputStreamMessage(Packet properties, AttachmentSet attachments, String contentType, InputStream msg) argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/
H A DCodec.java205 * @param contentType
221 void decode( InputStream in, String contentType, Packet response ) throws IOException; argument
227 void decode( ReadableByteChannel in, String contentType, Packet response ); argument
236 XMLStreamReaderMessage decode( InputStream in, String contentType ) throws IOException;
237 XMLStreamReaderMessage decode( ReadableByteChannel in, String contentType );
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DContentTypeImpl.java35 private final @NotNull String contentType; field in class:ContentTypeImpl
40 public ContentTypeImpl(String contentType) { argument
41 this(contentType, null, null);
44 public ContentTypeImpl(String contentType, @Nullable String soapAction) { argument
45 this(contentType, soapAction, null);
48 public ContentTypeImpl(String contentType, @Nullable String soapAction, @Nullable String accept) { argument
49 this.contentType = contentType;
54 tmpCharset = new ContentType(contentType).getParameter("charset");
83 return contentType;
[all...]
H A DRootOnlyCodec.java55 * @param contentType root part's MIME content type (like "application/xml")
64 void decode(@NotNull InputStream in, @NotNull String contentType, @NotNull Packet packet, @NotNull AttachmentSet att) argument
71 void decode(@NotNull ReadableByteChannel in, @NotNull String contentType, @NotNull Packet packet, @NotNull AttachmentSet att); argument
H A DMimeCodec.java176 public void decode(InputStream in, String contentType, Packet packet) throws IOException { argument
177 MimeMultipartParser parser = new MimeMultipartParser(in, contentType, binding.getFeature(StreamingAttachmentFeature.class));
181 public void decode(ReadableByteChannel in, String contentType, Packet packet) { argument
H A DStreamSOAP12Codec.java80 public void decode(InputStream in, String contentType, Packet packet, AttachmentSet att ) throws IOException { argument
81 com.sun.xml.internal.ws.encoding.ContentType ct = new com.sun.xml.internal.ws.encoding.ContentType(contentType);
83 super.decode(in,contentType,packet,att);
H A DMimeMultipartParser.java71 public MimeMultipartParser(InputStream in, String contentType, StreamingAttachmentFeature feature) { argument
72 ContentType ct = new ContentType(contentType);
75 throw new WebServiceException("MIME boundary parameter not found" + contentType);
H A DStreamSOAPCodec.java117 public void decode(InputStream in, String contentType, Packet packet) throws IOException { argument
118 decode(in, contentType, packet, new AttachmentSetImpl());
130 for(String contentType : expected) {
131 if (ct.indexOf(contentType) != -1) {
226 public void decode(ReadableByteChannel in, String contentType, Packet packet ) { argument
281 public void decode(InputStream in, String contentType, Packet packet, AttachmentSet att ) throws IOException { argument
283 if (contentType != null && !isContentTypeSupported(contentType,expectedContentTypes)) {
284 throw new UnsupportedMediaException(contentType, expectedContentTypes);
286 String charset = new ContentTypeImpl(contentType)
295 decode(ReadableByteChannel in, String contentType, Packet response, AttachmentSet att ) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/server/
H A DUnsupportedMediaException.java42 public UnsupportedMediaException( @NotNull String contentType, List<String> expectedContentTypes) { argument
43 super(ServerMessages.localizableUNSUPPORTED_CONTENT_TYPE(contentType, expectedContentTypes));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DByteArrayDataSource.java41 private final String contentType; field in class:ByteArrayDataSource
46 public ByteArrayDataSource(byte[] buf, String contentType) { argument
47 this(buf,0,buf.length,contentType);
49 public ByteArrayDataSource(byte[] buf, int length, String contentType) { argument
50 this(buf,0,length,contentType);
52 public ByteArrayDataSource(byte[] buf, int start, int length, String contentType) { argument
56 this.contentType = contentType;
60 if(contentType==null)
62 return contentType;
[all...]
/openjdk7/jdk/src/share/classes/sun/security/timestamp/
H A DHttpTimestamper.java163 * @param contentType The MIME content type to be checked.
166 private static void verifyMimeType(String contentType) throws IOException { argument
167 if (! TS_REPLY_MIME_TYPE.equalsIgnoreCase(contentType)) {
/openjdk7/jdk/src/share/classes/sun/net/
H A DProgressEvent.java40 private String contentType; field in class:ProgressEvent
53 public ProgressEvent(ProgressSource source, URL url, String method, String contentType, ProgressSource.State state, long progress, long expected) { argument
57 this.contentType = contentType;
84 return contentType;
111 + ", content-type=" + contentType + ", progress=" + progress + ", expected=" + expected + "]";
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/dynamicany/
H A DDynAnyCollectionImpl.java71 protected void createDefaultComponentAt(int i, TypeCode contentType) { argument
73 components[i] = DynAnyUtil.createMostDerivedDynAny(contentType, orb);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/
H A DSOAPVersion.java108 public final String contentType; field in class:SOAPVersion
155 private SOAPVersion(String httpBindingId, String nsUri, String contentType, String implicitRole, String roleAttributeName, argument
160 this.contentType = contentType;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/
H A DXMLCodec.java50 private static final ContentType contentType = new ContentTypeImpl(XML_TEXT_MIME_TYPE); field in class:XMLCodec
63 return contentType;
76 return contentType;
88 public void decode(InputStream in, String contentType, Packet packet) throws IOException { argument
89 Message message = XMLMessage.create(contentType, in, binding);
93 public void decode(ReadableByteChannel in, String contentType, Packet packet) { argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/
H A DStreamAttachment.java53 private final String contentType; field in class:StreamAttachment
58 public StreamAttachment(ByteArrayBuffer buffer, String contentId, String contentType) { argument
60 this.contentType = contentType;
71 return contentType;
94 base64Data.set(data, len, contentType);
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DEngineInputRecord.java67 byte contentType() { method in class:EngineInputRecord
69 return super.contentType();
244 if (checkMacTags(contentType(), bb, signer, false)) {
277 checkMacTags(contentType(), buf, 0, remainingLen, signer, true);
296 private static boolean checkMacTags(byte contentType, ByteBuffer bb, argument
304 byte[] hash = signer.compute(contentType, bb, isSimulated);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/
H A DResolver.java150 * @param contentType The MIME content type for the source for which
159 public static InputSource createInputSource(String contentType, argument
166 if (contentType != null) {
169 contentType = contentType.toLowerCase();
170 index = contentType.indexOf(';');
174 attributes = contentType.substring(index + 1);
175 contentType = contentType.substring(0, index);
208 if (types[i].equals(contentType)) {
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DMIMEPart.java47 private String contentType; field in class:MIMEPart
123 if (contentType == null) {
126 return contentType;
173 this.contentType = (ct == null) ? "application/octet-stream" : ct.get(0);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/
H A DFastInfosetCodec.java110 public void decode(InputStream in, String contentType, Packet packet) throws IOException { argument
125 public void decode(ReadableByteChannel in, String contentType, Packet response) { argument
H A DFastInfosetStreamSOAPCodec.java110 public void decode(InputStream in, String contentType, Packet response) throws IOException { argument
115 public void decode(ReadableByteChannel in, String contentType, Packet response) { argument
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/soap/
H A DSOAPMessage.java329 * @param contentType
335 * may be thrown if the contentType does not match the type
344 String contentType) {
346 attachment.setContent(content, contentType);
342 createAttachmentPart( Object content, String contentType) argument
/openjdk7/jdk/src/share/classes/sun/security/pkcs/
H A DContentInfo.java86 ObjectIdentifier contentType; field in class:ContentInfo
89 public ContentInfo(ObjectIdentifier contentType, DerValue content) { argument
90 this.contentType = contentType;
99 this.contentType = DATA_OID;
137 contentType = disType.getOID();
162 return contentType;
166 if (contentType.equals(DATA_OID) ||
167 contentType.equals(OLD_DATA_OID) ||
168 contentType
[all...]

Completed in 108 milliseconds

12