/openjdk7/jdk/src/share/classes/sun/security/pkcs/ |
H A D | PKCS7.java | 57 private ObjectIdentifier contentType; field in class:PKCS7 154 contentType = contentInfo.contentType; 157 if (contentType.equals(ContentInfo.SIGNED_DATA_OID)) { 159 } else if (contentType.equals(ContentInfo.OLD_SIGNED_DATA_OID)) { 162 } else if (contentType.equals(ContentInfo.NETSCAPE_CERT_SEQUENCE_OID)){ 165 throw new ParsingException("content type " + contentType +
|
/openjdk7/jdk/src/share/classes/sun/net/ |
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/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/jdk/src/share/classes/sun/net/www/protocol/file/ |
H A D | FileURLConnection.java | 55 String contentType; field in class:FileURLConnection 120 contentType = map.getContentTypeFor(filename); 121 if (contentType != null) { 122 properties.add(CONTENT_TYPE, contentType);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/ |
H A D | CElementInfo.java | 119 public CElementInfo(Model model,QName tagName, CClassInfoParent parent, TypeUse contentType, XmlString defaultValue, XSElementDecl source, CCustomizations customizations, Locator location ) { argument 124 if(contentType!=null) 125 initContentType(contentType, source, defaultValue); 147 public void initContentType(TypeUse contentType, @Nullable XSElementDecl source, XmlString defaultValue) { argument 151 contentType.isCollection()?REPEATED_VALUE:NOT_REPEATED, 152 contentType.idUse(), 153 contentType.getExpectedMimeType(), 155 this.property.setAdapter(contentType.getAdapterUse()); 157 property.getTypes().add(new CTypeRef(contentType.getInfo(),tagName,CTypeRef.getSimpleTypeName(source), true,defaultValue));
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/ |
H A D | MimeMultipart.java | 102 protected ContentType contentType; field in class:MimeMultipart 121 * <code>contentType</code> field. <p> 133 * <code>contentType</code> field. <p> 143 contentType = new ContentType("multipart", subtype, null); 144 contentType.setParameter("boundary", boundary); 173 contentType = new ContentType(ds.getContentType()); 175 contentType = ct; 186 contentType.setSubType(subtype); 273 String boundary = "--" + contentType.getParameter("boundary"); 317 String boundary = "--" + contentType [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/ |
H A D | AttachmentPartImpl.java | 206 public void setContent(Object object, String contentType) argument 212 DataHandler dh = new DataHandler(object, contentType); 383 public void setBase64Content(InputStream content, String contentType) argument 395 hdrs.setHeader("Content-Type", contentType); 402 setMimeHeader("Content-Type", contentType); 475 public void setRawContent(InputStream content, String contentType) argument 484 hdrs.setHeader("Content-Type", contentType); 491 setMimeHeader("Content-Type", contentType); 505 public void setRawContentBytes(byte[] content, String contentType) 513 hdrs.setHeader("Content-Type", contentType); 522 setRawContentBytes( byte[] content, int off, int len, String contentType) argument [all...] |
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/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/com/sun/xml/internal/ws/encoding/ |
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...] |
H A D | MtomCodec.java | 96 this.soapXopContentType = XOP_XML_MIME_TYPE +";charset=utf-8;type=\""+version.contentType+"\""; 112 ";start-info=\"" + version.contentType + "\""; 140 ContentType contentType = getContentType(packet); 174 return contentType; 196 private void writeMimeHeaders(String contentType, String contentId, OutputStream out) throws IOException { argument 201 writeln("Content-Type: " + contentType, out); 265 public void writeBinary(byte[] data, int start, int len, String contentType) throws XMLStreamException { argument 271 ByteArrayBuffer bab = new ByteArrayBuffer(new DataHandler(new ByteArrayDataSource(data, start, len, contentType))); 280 public OutputStream writeBinary(String contentType) throws XMLStreamException { argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/ |
H A D | ComplexTypeImpl.java | 185 private Ref.ContentType contentType; field in class:ComplexTypeImpl 186 public void setContentType( Ref.ContentType v ) { contentType = v; } 187 public XSContentType getContentType() { return contentType.getContentType(); }
|
H A D | SchemaSetImpl.java | 332 public XSContentType getContentType() { return contentType; } 361 private final XSContentType contentType = new ParticleImpl( null, null, field in class:SchemaSetImpl.AnyType
|
/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/jdk/src/share/classes/sun/security/ssl/ |
H A D | InputRecord.java | 120 byte contentType() { method in class:InputRecord 194 if (checkMacTags(contentType(), 224 checkMacTags(contentType(), buf, 0, remainingLen, signer, true); 239 static boolean checkMacTags(byte contentType, byte[] buffer, argument 244 contentType, buffer, offset, contentLen, isSimulated); 572 + contentName(contentType()) + ", length = " + available()); 649 + ", READ: SSL v2, contentType = " 650 + contentName(contentType()) 818 static String contentName(int contentType) { argument 819 switch (contentType) { [all...] |
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...] |
/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/bind/v2/model/impl/ |
H A D | ElementInfoImpl.java | 71 private final NonElement<T,C> contentType; field in class:ElementInfoImpl 127 return contentType; 138 return Collections.singletonList(contentType); 282 contentType = builder.getTypeInfo(tOfJAXBElementT,this); // suck this type into the current set. 285 contentType = builder.getTypeInfo(nav().getTypeArgument(list,0),this); 289 contentType = builder.getTypeInfo(this.adapter.defaultType,this); 344 return contentType;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/ |
H A D | XMLMessage.java | 87 final ContentType contentType = new ContentType(ct); 88 final int contentTypeId = identifyContentType(contentType); 133 final ContentType contentType = new ContentType(ct); 134 return identifyContentType(contentType); 148 * Verify a contentType. 157 public static int identifyContentType(ContentType contentType) { argument 158 String primary = contentType.getPrimaryType(); 159 String sub = contentType.getSubType(); 162 String type = contentType.getParameter("type"); 350 public XMLMultiPart(final String contentType, fina argument 595 createDataSource(final String contentType, final InputStream is) argument 600 private final String contentType; field in class:XMLMessage.XmlDataSource 604 XmlDataSource(String contentType, final InputStream is) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/ |
H A D | XSComplexTypeDecl.java | 103 short block, short contentType, 112 fContentType = contentType; 192 String contentType[] = {"EMPTY", "SIMPLE", "ELEMENT", "MIXED"}; 199 str.append(" content type='").append(contentType[fContentType]).append("', "); 101 setValues(String name, String targetNamespace, XSTypeDefinition baseType, short derivedBy, short schemaFinal, short block, short contentType, boolean isAbstract, XSAttributeGroupDecl attrGrp, XSSimpleType simpleType, XSParticleDecl particle, XSObjectListImpl annotations) argument
|
H A D | SchemaGrammar.java | 1189 short block, short contentType, 1187 setValues(String name, String targetNamespace, XSTypeDefinition baseType, short derivedBy, short schemaFinal, short block, short contentType, boolean isAbstract, XSAttributeGroupDecl attrGrp, XSSimpleType simpleType, XSParticleDecl particle) argument
|
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | URLConnection.java | 718 * sun.net.www.content.<<i>contentType</i>> 720 * where <<i>contentType</i>> is formed by taking the 1248 String contentType = stripOffParameters(getContentType()); 1250 if (contentType == null) 1253 handler = (ContentHandler) handlers.get(contentType); 1260 handler = factory.createContentHandler(contentType); 1263 handler = lookupContentHandlerClassFor(contentType); 1268 handlers.put(contentType, handler); 1278 private String stripOffParameters(String contentType) argument 1280 if (contentType 1305 lookupContentHandlerClassFor(String contentType) argument 1345 typeToPackageName(String contentType) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/state/ |
H A D | complexType.java | 129 contentType = new BaseContentRef($runtime,baseType); 131 result.setContentType(contentType); 149 result.setContentType(contentType); 160 // contentType of the base type, which must be a complex type 167 contentType = contentSimpleType; 1916 private Ref.ContentType contentType; field in class:complexType 1933 // baseType and contentType must be computed before calling this method.
|
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | HTMLDocument.java | 923 * @param contentType the content type language for the style sheets 926 void setDefaultStyleSheetType(String contentType) { argument 927 putProperty(StyleType, contentType);
|