Searched refs:mimeType (Results 1 - 13 of 13) sorted by relevance

/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DMimeMappingDescriptor.java54 private String mimeType; field in class:MimeMappingDescriptor
60 mimeType = other.mimeType;
64 public MimeMappingDescriptor(String extension, String mimeType) { argument
66 this.mimeType = mimeType;
88 if (this.mimeType == null) {
89 this.mimeType = "";
91 return this.mimeType;
94 public void setMimeType(String mimeType) { argument
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/web/elements/
H A DMimeTypeElement.java72 // get the mimeType's in this .war
76 String mimeType = mimemapping.getMimeType();
77 logger.log(Level.FINE, "servlet mimeType: " + mimeType);
78 int pos = mimeType.indexOf("/");
82 if (mimeType.substring(pos+1).startsWith("X-") || mimeType.substring(pos+1).startsWith("x-")) {
84 } else if (mimeType.startsWith("X-")) {
86 } else if (mimeType.substring(0,pos).equals("text")) {
87 if (Arrays.asList(text).contains(mimeType
[all...]
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/servedcontent/
H A DCachingDynamicContentImpl.java91 protected final String mimeType; field in class:CachingDynamicContentImpl
104 * @param mimeType the MIME type of data represented by the content generated by this
108 public CachingDynamicContentImpl(final String template, final String mimeType) { argument
109 this(template, mimeType, DEFAULT_MAX_INSTANCES);
112 public CachingDynamicContentImpl(final String template, final String mimeType, argument
116 this.mimeType = mimeType;
190 return mimeType;
205 return super.toString() + ", template=" + template + ", MIME type=" + mimeType;// + ", most recent change in generated content=" + timestamp;
220 if ((this.mimeType
[all...]
H A DSimpleDynamicContentImpl.java53 private final String mimeType; field in class:SimpleDynamicContentImpl
57 public SimpleDynamicContentImpl(final String template, final String mimeType) { argument
59 this.mimeType = mimeType;
80 return mimeType;
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/web/
H A DMimeMapping.java50 public void setMimeType(String mimeType); argument
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/
H A DTemplateCommandPostResource.java132 String mimeType = bodyPart.getMediaType().toString();
145 File f = Util.saveFile(fileName, mimeType, fileStream);
H A DTemplateResource.java315 String mimeType = bodyPart.getMediaType().toString();
328 File f = Util.saveFile(fileName, mimeType, fileStream);
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/resources/
H A DResourceAttributes.java282 protected String mimeType = null; field in class:ResourceAttributes
682 * @return Returns the mimeType.
685 return mimeType;
690 * @param mimeType The mimeType to set.
692 public void setMimeType(String mimeType) { argument
693 this.mimeType = mimeType;
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/
H A DContext.java562 * @param mimeType Corresponding MIME type
564 void addMimeMapping(String extension, String mimeType); argument
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/
H A DUtil.java353 public static File saveFile(String fileName, String mimeType, InputStream fileStream) { argument
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/
H A DJavaWebStartInfo.java774 final String mimeType) {
775 return new SimpleDynamicContentImpl(template, mimeType);
773 newDynamicContent(final String template, final String mimeType) argument
H A DAppClientHTTPAdapter.java404 private String mimeType(final String uri) { method in class:AppClientHTTPAdapter
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/
H A DStandardContext.java3013 * @param mimeType Corresponding MIME type
3015 public void addMimeMapping(String extension, String mimeType) { argument
3017 mimeMappings.put(extension, mimeType);
3874 String mimeType = mimeMappings.get(extension);
3875 if (mimeType == null) {
3881 mimeType = mimeMappings.get(ext);
3884 mimeMappings.put(extension, mimeType);
3891 return mimeType;

Completed in 54 milliseconds