Home
last modified time | relevance | path

Searched refs:getMimeType (Results 1 – 7 of 7) sorted by relevance

/external/nanohttpd/nanolets/src/main/java/fi/iki/elonen/router/
DRouterNanoHTTPD.java87 public abstract String getMimeType(); in getMimeType() method in RouterNanoHTTPD.DefaultStreamHandler
94 return NanoHTTPD.newChunkedResponse(getStatus(), getMimeType(), getData()); in get()
125 return NanoHTTPD.newFixedLengthResponse(getStatus(), getMimeType(), getText()); in get()
145 public String getMimeType() { in getMimeType() method in RouterNanoHTTPD.GeneralHandler
173 return NanoHTTPD.newFixedLengthResponse(getStatus(), getMimeType(), text.toString()); in get()
201 public String getMimeType() { in getMimeType() method in RouterNanoHTTPD.StaticPageHandler
255 public String getMimeType() { in getMimeType() method in RouterNanoHTTPD.Error404UriHandler
275 public String getMimeType() { in getMimeType() method in RouterNanoHTTPD.IndexHandler
293 public String getMimeType() { in getMimeType() method in RouterNanoHTTPD.NotImplementedHandler
/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/
DAppNanolets.java86 public String getMimeType() { in getMimeType() method in AppNanolets.UserHandler
99 return NanoHTTPD.newFixedLengthResponse(getStatus(), getMimeType(), inp, size); in get()
107 public String getMimeType() { in getMimeType() method in AppNanolets.StreamUrl
DTestNanolets.java220 new RouterNanoHTTPD.StaticPageHandler().getMimeType(); in illegalMethod4()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDownloadManager.java99 public CharSequence getMimeType() { in getMimeType() method in ShadowDownloadManager.ShadowRequest
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDownloadManagerTest.java51 assertThat(shadow.getMimeType()).isEqualTo("application/json"); in request_shouldGetMimeType()
/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/
DEnumerateDecodersTest.java115 result.append(", mimeType=").append(codecCapabilities.getMimeType()); in codecCapabilitiesToString()
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java1351 public String getMimeType() {
1933 return r.getMimeType() != null && r.getMimeType().toLowerCase().contains("text/"); in useGzipWhenAccepted()