Searched defs:mimeType (Results 1 - 23 of 23) sorted by relevance

/external/nanohttpd/webserver/markdown-plugin/src/main/java/fi/iki/elonen/
H A DMarkdownWebServerPluginInfo.java16 @Override public WebServerPlugin getWebServerPlugin(String mimeType) { argument
H A DMarkdownWebServerPlugin.java32 public NanoHTTPD.Response serveFile(String uri, Map<String, String> headers, NanoHTTPD.IHTTPSession session, File file, String mimeType) { argument
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
H A DWebServerPluginInfo.java12 WebServerPlugin getWebServerPlugin(String mimeType); argument
H A DWebServerPlugin.java18 NanoHTTPD.Response serveFile(String uri, Map<String, String> headers, IHTTPSession session, File file, String mimeType); argument
H A DSimpleWebServer.java192 protected static void registerPluginForMimeType(String[] indexFiles, String mimeType, WebServerPlugin plugin, Map<String, String> commandLineOptions) { argument
193 if (mimeType == null || plugin == null) {
202 MIME_TYPES.put(extension, mimeType);
207 mimeTypeHandlers.put(mimeType, plugin);
450 private Response createResponse(Response.Status status, String mimeType, InputStream message) { argument
451 Response res = new Response(status, mimeType, message);
457 private Response createResponse(Response.Status status, String mimeType, String message) { argument
458 Response res = new Response(status, mimeType, message);
/external/glide/library/src/main/java/com/bumptech/glide/signature/
H A DMediaStoreSignature.java14 private final String mimeType; field in class:MediaStoreSignature
21 * @param mimeType The mime type of the media store media. Ok to default to empty string "". See
30 public MediaStoreSignature(String mimeType, long dateModified, int orientation) { argument
31 this.mimeType = mimeType;
53 if (mimeType != null ? !mimeType.equals(that.mimeType) : that.mimeType != null) {
62 int result = mimeType !
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowMimeTypeMap.java51 public String getExtensionFromMimeType(String mimeType) { argument
52 if (mimeTypeToExtensionMap.containsKey(mimeType))
53 return mimeTypeToExtensionMap.get(mimeType);
58 public void addExtensionMimeTypMapping(String extension, String mimeType) { argument
59 extensionToMimeTypeMap.put(extension, mimeType);
60 mimeTypeToExtensionMap.put(mimeType, extension);
74 public boolean hasMimeType(String mimeType) { argument
75 return mimeTypeToExtensionMap.containsKey(mimeType);
H A DShadowWebView.java49 public void loadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) { argument
50 lastLoadDataWithBaseURL = new LoadDataWithBaseURL(baseUrl, data, mimeType, encoding, historyUrl);
54 public void loadData(String data, String mimeType, String encoding) { argument
55 lastLoadData = new LoadData(data, mimeType, encoding);
221 public final String mimeType; field in class:ShadowWebView.LoadDataWithBaseURL
225 public LoadDataWithBaseURL(String baseUrl, String data, String mimeType, String encoding, String historyUrl) { argument
228 this.mimeType = mimeType;
236 public final String mimeType; field in class:ShadowWebView.LoadData
239 public LoadData(String data, String mimeType, Strin argument
[all...]
/external/jetty/src/java/org/eclipse/jetty/http/
H A DHttpContent.java60 public ResourceAsHttpContent(final Resource resource, final Buffer mimeType) argument
62 this(resource,mimeType,-1,false);
66 public ResourceAsHttpContent(final Resource resource, final Buffer mimeType, int maxBuffer) argument
68 this(resource,mimeType,maxBuffer,false);
72 public ResourceAsHttpContent(final Resource resource, final Buffer mimeType, boolean etag) argument
74 this(resource,mimeType,-1,etag);
78 public ResourceAsHttpContent(final Resource resource, final Buffer mimeType, int maxBuffer, boolean etag) argument
81 _mimeType=mimeType;
/external/oauth/core/src/main/java/net/oauth/http/
H A DHttpMessage.java129 private static final String getCharset(String mimeType) argument
131 if (mimeType != null) {
132 Matcher m = CHARSET.matcher(mimeType);
/external/glide/library/src/main/java/com/bumptech/glide/
H A DRequestManager.java306 * @param mimeType The mime type of the media store media. Ok to default to empty string "". See
316 public DrawableTypeRequest<Uri> loadFromMediaStore(Uri uri, String mimeType, long dateModified, int orientation) { argument
317 Key signature = new MediaStoreSignature(mimeType, dateModified, orientation);
/external/jetty/src/java/org/eclipse/jetty/server/handler/
H A DResourceHandler.java516 * @param mimeType
518 protected void doResponseHeaders(HttpServletResponse response, Resource resource, String mimeType) argument
520 if (mimeType!=null)
521 response.setContentType(mimeType);
/external/libxml2/
H A Dnanohttp.c154 char *mimeType; /* Mime-Type extracted from the contentType */ member in struct:xmlNanoHTTPCtxt
427 if (ctxt->mimeType != NULL) xmlFree(ctxt->mimeType);
748 if (ctxt->mimeType != NULL)
749 xmlFree(ctxt->mimeType);
750 ctxt->mimeType = (char *) xmlStrndup(mime, last - mime);
773 if (ctxt->mimeType != NULL)
774 xmlFree(ctxt->mimeType);
775 ctxt->mimeType = (char *) xmlStrndup(mime, last - mime);
1797 return ( ( ctxt == NULL ) ? NULL : ctxt->mimeType );
[all...]
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
H A DNanoHTTPD.java544 private String mimeType; field in class:NanoHTTPD.Response
572 public Response(IStatus status, String mimeType, InputStream data) { argument
574 this.mimeType = mimeType;
581 public Response(IStatus status, String mimeType, String txt) { argument
583 this.mimeType = mimeType;
606 String mime = mimeType;
710 return mimeType;
713 public void setMimeType(String mimeType) { argument
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ecf.filetransfer_4.0.0.v20100529-0735.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
H A Dh2-1.2.147.jarMETA-INF/MANIFEST.MF META-INF/services/java.sql.Driver org/h2/api/AggregateFunction ...
/external/jarjar/lib/
H A Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...

Completed in 507 milliseconds