/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ |
H A D | ByteArrayDataSource.java | 41 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/jaxws/src/share/jaxws_classes/com/sun/istack/internal/ |
H A D | ByteArrayDataSource.java | 40 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/ws/api/message/stream/ |
H A D | InputStreamMessage.java | 40 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/encoding/ |
H A D | ContentTypeImpl.java | 35 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 D | XMLHTTPBindingCodec.java | 180 public void decode(InputStream in, String contentType, Packet packet) throws IOException { argument 188 if (contentType == null) { 189 xmlCodec.decode(in, contentType, packet); 190 } else if (isMultipartRelated(contentType)) { 191 packet.setMessage(new XMLMultiPart(contentType, in, binding)); 192 } else if(isFastInfoset(contentType)) { 198 fiCodec.decode(in, contentType, packet); 199 } else if (isXml(contentType)) { 200 xmlCodec.decode(in, contentType, packet); 202 packet.setMessage(new UnknownContent(contentType, i 218 isMultipartRelated(String contentType) argument 222 isApplicationXopXml(String contentType) argument 226 isXml(String contentType) argument 232 isFastInfoset(String contentType) argument [all...] |
H A D | SOAPBindingCodec.java | 326 public void decode(InputStream in, String contentType, Packet packet) throws IOException { argument 327 if (contentType == null) { 328 contentType = xmlMimeType; 333 if(isMultipartRelated(contentType)) 335 super.decode(in, contentType, packet); 336 else if(isFastInfoset(contentType)) { 341 fiSoapCodec.decode(in, contentType, packet); 343 xmlSoapCodec.decode(in, contentType, packet); 354 public void decode(ReadableByteChannel in, String contentType, Packet packet) { argument 355 if (contentType 408 isMultipartRelated(String contentType) argument 412 isApplicationXopXml(String contentType) argument 416 isXml(String contentType) argument 420 isFastInfoset(String contentType) argument [all...] |
/openjdk7/jdk/test/java/net/URLConnection/ |
H A D | GetContentType.java | 44 String contentType = connection.getContentType(); 45 System.out.println(url + " jar content type: " + contentType); 46 if (!contentType.equals(JAR_MIME_TYPE)) { 51 contentType = connection.getContentType(); 52 System.out.println(url + " img content type: " + contentType); 53 if (!contentType.equals(GIF_MIME_TYPE)) {
|
/openjdk7/jdk/src/share/classes/sun/net/ |
H A D | ProgressEvent.java | 40 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 + "]";
|
H A D | ProgressSource.java | 43 private String contentType; field in class:ProgressSource 72 this.contentType = "content/unknown"; 115 return contentType; 120 contentType = ct; 208 + ", content-type=" + contentType + ", progress=" + progress + ", expected=" + expected + "]";
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs/ |
H A D | ContentInfo.java | 86 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...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/binary/ |
H A D | Pattern.java | 56 private int contentType; field in class:Pattern 86 Pattern(boolean nullable, int contentType, int hc) { argument 88 this.contentType = contentType; 95 this.contentType = EMPTY_CONTENT_TYPE; 139 return contentType;
|
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/soap/ |
H A D | AttachmentPart.java | 243 * @param contentType the MIME string that specifies the type of 246 * @exception IllegalArgumentException may be thrown if the contentType 253 public abstract void setContent(Object object, String contentType); argument 259 * <code>contentType</code>. 265 * @param contentType the value to set into the <code>Content-Type</code> 272 public abstract void setRawContent(InputStream content, String contentType) throws SOAPException; argument 278 * <code>contentType</code>. 281 * @param contentType the value to set into the <code>Content-Type</code> 291 byte[] content, int offset, int len, String contentType) 299 * <code>contentType</cod 290 setRawContentBytes( byte[] content, int offset, int len, String contentType) argument 314 setBase64Content( InputStream content, String contentType) argument 429 setContentType(String contentType) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/staxex/ |
H A D | XMLStreamWriterEx.java | 89 * @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/dtdparser/ |
H A D | Resolver.java | 150 * @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/jdk/src/share/classes/sun/net/www/protocol/jar/ |
H A D | JarURLConnection.java | 77 private String contentType; field in class:JarURLConnection 203 if (contentType == null) { 205 contentType = "x-java/jar"; 210 contentType = guessContentTypeFromStream( 217 if (contentType == null) { 218 contentType = guessContentTypeFromName(entryName); 220 if (contentType == null) { 221 contentType = "content/unknown"; 224 return contentType;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/ |
H A D | XMLCodec.java | 50 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 D | StreamAttachment.java | 53 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/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/ |
H A D | MessageImpl.java | 82 protected ContentType contentType; field in class:MessageImpl 208 contentType = new ContentType(); 226 this.contentType = src.contentType; 245 private static boolean isMimeMultipartXOPSoap1_2Package(ContentType contentType) { argument 246 String type = contentType.getParameter("type"); 254 String startinfo = contentType.getParameter("start-info"); 263 //private static boolean isMimeMultipartXOPPackage(ContentType contentType) { 264 private static boolean isMimeMultipartXOPSoap1_1Package(ContentType contentType) { argument 265 String type = contentType 280 isSOAPBodyXOPPackage(ContentType contentType) argument 339 MessageImpl(MimeHeaders headers, final ContentType contentType, int stat, final InputStream in) argument 344 init(MimeHeaders headers, int stat, final ContentType contentType, final InputStream in) argument 667 getTypeParameter(ContentType contentType) argument 699 private ContentType contentType() { method in class:MessageImpl 1018 convertToSingleLine(String contentType) argument 1423 initCharsetProperty(ContentType contentType) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/server/ |
H A D | UnsupportedMediaException.java | 42 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/org/jvnet/mimepull/ |
H A D | MIMEPart.java | 47 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/jdk/src/share/classes/sun/security/ssl/ |
H A D | OutputRecord.java | 56 final private byte contentType; field in class:OutputRecord 81 contentType = type; 131 assert(contentType == ct_handshake); 184 if (count > (headerSize + 1) && contentType == ct_alert) { 202 if (contentType == ct_handshake) { 206 byte[] hash = signer.compute(contentType, buf, 251 final byte contentType() { method in class:OutputRecord 252 return contentType; 285 || contentType() == ct_change_cipher_spec) 289 + " " + InputRecord.contentName(contentType()) [all...] |
H A D | EngineOutputRecord.java | 123 byte[] hash = signer.compute(contentType(), bb, false); 177 switch (contentType()) { 216 assert(contentType() == ct_application_data); 315 || contentType() == ct_change_cipher_spec) 319 + " " + InputRecord.contentName(contentType()) 328 dstBB.put(dstPos, contentType());
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/ct/ |
H A D | MixedComplexTypeBuilder.java | 65 XSContentType contentType = ct.getContentType(); 86 if (contentType.asEmpty() != null) { 92 } else if (contentType.asParticle() == null) { 95 RawTypeSet ts = RawTypeSetBuilder.build(contentType.asParticle(), false); 100 if(contentType.asEmpty()!=null) { 103 RawTypeSet ts = RawTypeSetBuilder.build(contentType.asParticle(),false);
|
/openjdk7/jdk/src/share/classes/sun/net/www/ |
H A D | URLConnection.java | 46 private String contentType; field in class:URLConnection 148 if (contentType == null) 149 contentType = getHeaderField("content-type"); 150 if (contentType == null) { 183 return contentType; 194 contentType = type;
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/dynamicany/ |
H A D | DynArrayImpl.java | 67 TypeCode contentType = getContentType(); 82 anys[i] = DynAnyUtil.extractAnyFromStream(contentType, input, orb); 100 TypeCode contentType = getContentType(); 106 createDefaultComponentAt(i, contentType);
|