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

/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/admin/payload/
H A DTextPayloadImpl.java81 private final String contentType; field in class:TextPayloadImpl.Inbound
91 public static boolean supportsContentType(String contentType) { argument
93 contentType, 0, PAYLOAD_IMPL_CONTENT_TYPE.length());
96 private Inbound(final String contentType, final InputStream is) { argument
97 this.contentType = contentType;
111 return new PayloadImpl.Part.Streamed(contentType, "report", null, is);
H A DZipPayloadImpl.java263 public static boolean supportsContentType(final String contentType) { argument
264 return PAYLOAD_IMPL_CONTENT_TYPE.equalsIgnoreCase(contentType);
309 final String contentType,
312 super(contentType, name, props);
337 private String contentType; field in class:ZipPayloadImpl.Extra
345 contentType = props.getProperty(CONTENT_TYPE_NAME);
352 private Extra(final String contentType, final Properties props) { argument
353 this.contentType = contentType;
363 fullProps.setProperty(CONTENT_TYPE_NAME, contentType);
307 Part( final String name, final String contentType, final Properties props, final Inbound inboundPayload) argument
[all...]
H A DPayloadImpl.java76 final String contentType,
80 parts.add(Part.newInstance(contentType, name, props, content));
85 final String contentType,
89 parts.add(Part.newInstance(contentType, name, props, content));
95 final String contentType,
100 parts.add(index, Part.newInstance(contentType, name, props, content));
105 final String contentType,
109 attachFile(contentType, fileURI, dataRequestName, null /* props */, file, false /* isRecursive */);
114 final String contentType,
119 attachFile(contentType, fileUR
75 addPart( final String contentType, final String name, final Properties props, final String content) argument
84 addPart( final String contentType, final String name, final Properties props, final InputStream content) argument
93 addPart( final int index, final String contentType, final String name, final Properties props, final InputStream content ) argument
104 attachFile( final String contentType, final URI fileURI, final String dataRequestName, final File file) argument
113 attachFile( final String contentType, final URI fileURI, final String dataRequestName, final File file, final boolean isRecursive) argument
123 attachFile( final String contentType, final URI fileURI, final String dataRequestName, final Properties props, final File file) argument
133 attachFile( final String contentType, final URI fileURI, final String dataRequestName, final Properties props, final File file, final boolean isRecursive) argument
174 requestFileReplacement( final String contentType, final URI fileURI, final String dataRequestName, final Properties props, final File file, final boolean isRecursive) argument
457 private String contentType; field in class:PayloadImpl.Part
467 Part(final String contentType, final String name, final Properties props) argument
509 newInstance( final String contentType, final String name, final Properties props, final InputStream is) argument
525 newInstance( final String contentType, final String name, final Properties props, final String content) argument
541 newInstance( final String contentType, final String name, final Properties props, final File file) argument
577 Streamed( final String contentType, final String name, final Properties props, final InputStream is) argument
606 Buffered( final String contentType, final String name, final Properties props, final String content) argument
646 Filed(final String contentType, final String name, final Properties props, final File file) argument
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/filter/
H A DHttpCacheEntry.java66 String contentType; field in class:HttpCacheEntry
H A DCachingResponseWrapper.java85 String contentType; field in class:CachingResponseWrapper
183 this.contentType = type;
380 entry.contentType = contentType;
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/
H A DPayload.java138 * @param contentType content type of the part
145 final String contentType,
153 * @param contentType content type of the part
160 final String contentType,
169 * @param contentType content type of the part
177 final String contentType,
194 * @param contentType content type of the part
201 final String contentType,
212 * @param contentType content type of the part
220 final String contentType,
144 addPart( final String contentType, final String name, final Properties props, final String content) argument
159 addPart( final String contentType, final String name, final Properties props, final InputStream content) argument
175 addPart( final int index, final String contentType, final String name, final Properties props, final InputStream content ) argument
200 attachFile( final String contentType, final URI fileURI, final String dataRequestName, final File file) argument
219 attachFile( final String contentType, final URI fileURI, final String dataRequestName, final File file, final boolean isRecursive) argument
239 attachFile( final String contentType, final URI fileURI, final String dataRequestName, final Properties props, final File file) argument
260 attachFile( final String contentType, final URI fileURI, final String dataRequestName, final Properties props, final File file, final boolean isRecursive) argument
318 requestFileReplacement( final String contentType, final URI fileURI, final String dataRequestName, final Properties props, final File file, final boolean isRecursive) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ssi/
H A DResponseIncludeWrapper.java102 private String contentType = null; field in class:ResponseIncludeWrapper
226 if (contentType == null) {
239 return contentType;
248 contentType = mime;
249 if (contentType != null) {
250 getResponse().setContentType(contentType);
271 contentType = value;
293 contentType = value;
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DRequestUtil.java206 * @param contentType a content type header
208 public static String parseCharacterEncoding(String contentType) { argument
210 if (contentType == null)
212 int start = contentType.indexOf("charset=");
215 String encoding = contentType.substring(start + 8);
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/common/
H A DActionReporter.java68 protected String contentType = "text/html"; field in class:ActionReporter
204 return contentType;
208 contentType = s;
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/
H A DPartItem.java127 private String contentType; field in class:PartItem
201 * @param contentType The content type passed by the browser or
209 String fieldName, String contentType,
215 this.contentType = contentType;
256 return contentType;
208 PartItem(Multipart multipart, PartHeaders headers, String fieldName, String contentType, boolean isFormField, String fileName) argument
H A DRequestItemIterator.java97 private final String contentType; field in class:RequestItemIterator.RequestItemImpl
131 contentType = pContentType;
165 return contentType;
274 String contentType = request.getContentType();
275 if ((null == contentType)
276 || (!contentType.toLowerCase(Locale.ENGLISH).startsWith(MULTIPART))) {
283 + contentType);
311 boundary = getBoundary(contentType);
594 * @param contentType The value of the content type header from which to
599 protected byte[] getBoundary(String contentType) { argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/
H A DResponseFacade.java93 private String contentType; field in class:ResponseFacade.SetContentTypePrivilegedAction
95 public SetContentTypePrivilegedAction(String contentType){ argument
96 this.contentType = contentType;
100 response.setContentType(contentType);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/servlets/
H A DDefaultServlet.java922 String contentType = cacheEntry.attributes.getMimeType();
923 if (contentType == null) {
924 contentType = getServletContext().getMimeType(cacheEntry.name);
925 cacheEntry.attributes.setMimeType(contentType);
945 contentType = "text/html;charset=UTF-8";
985 if ( (contentType == null)
986 || (contentType.startsWith("text"))
987 || (contentType.startsWith("xml")) ) {
1002 if (contentType != null) {
1004 log("DefaultServlet.serveFile: contentType
2162 copy(CacheEntry cacheEntry, ServletOutputStream ostream, Iterator<Range> ranges, String contentType) argument
2220 copy(CacheEntry cacheEntry, PrintWriter writer, Iterator<Range> ranges, String contentType) argument
[all...]
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/util/
H A DRestUtil.java184 restResponse = post(endpoint, data, (String) handlerCtx.getInputValue("contentType"));
761 public static RestResponse post(String address, Object payload, String contentType) { argument
763 if (contentType == null) {
764 contentType = MediaType.APPLICATION_JSON;
769 ClientResponse cr = webResource.header("Content-Type", contentType)
/glassfish-3.1.2/tests/community/web/jruby/helloapp/public/javascripts/
H A Dprototype.js809 contentType: 'application/x-www-form-urlencoded',
892 headers['Content-type'] = this.options.contentType +

Completed in 58 milliseconds