/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
D | HttpDeleteRequestTest.java | 15 …testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_… in testDeleteRequestThatDoesntSendBackResponseBody_EmptyString() 33 …testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_… in testDeleteRequestThatDoesntSendBackResponseBody_NullString() 51 …testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_… in testDeleteRequestThatDoesntSendBackResponseBody_NullInputStream() 69 …testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.OK, "application/xml", "<bo… in testDeleteRequestThatSendsBackResponseBody_Success() 88 …testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.ACCEPTED, "application/xml"… in testDeleteRequestThatSendsBackResponseBody_Accepted()
|
D | HttpChunkedResponseTest.java | 7 import static fi.iki.elonen.NanoHTTPD.Response.Status.OK; 34 testServer.response = new NanoHTTPD.Response(OK, "what/ever", pipedInputStream); in thatChunkedContentIsChunked()
|
D | HttpServerTest.java | 59 …NanoHTTPD.HTTPSession session = testServer.createSession(tempFileManager, inputStream, outputStrea… in invokeServer() 86 public static class TestTempFileManager extends NanoHTTPD.DefaultTempFileManager { 97 public static class TestServer extends NanoHTTPD {
|
D | HttpHeadRequestTest.java | 15 testServer.response = new NanoHTTPD.Response(responseBody); in setUp() 48 assertEquals(NanoHTTPD.Method.HEAD, testServer.method); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
|
D | HttpGetRequestTest.java | 31 testServer.response = new NanoHTTPD.Response(responseBody); in testOutputOfServeSentBackToClient() 61 assertEquals(NanoHTTPD.Method.GET, testServer.method); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
|
D | HttpSessionHeadersTest.java | 27 …NanoHTTPD.HTTPSession session = testServer.createSession(TEST_TEMP_FILE_MANAGER, inputStream, outp… in testHeadersRemoteIp()
|
/external/nanohttpd/webserver/markdown-plugin/src/main/java/fi/iki/elonen/ |
D | MarkdownWebServerPlugin.java | 8 import static fi.iki.elonen.NanoHTTPD.MIME_HTML; 9 import static fi.iki.elonen.NanoHTTPD.Response.Status.OK; 32 …public NanoHTTPD.Response serveFile(String uri, Map<String, String> headers, NanoHTTPD.IHTTPSessio… in serveFile() 35 new NanoHTTPD.Response(OK, MIME_HTML, processor.markdownToHtml(markdownSource)); in serveFile()
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
D | WebSocket.java | 29 protected final NanoHTTPD.IHTTPSession handshakeRequest; 31 protected final NanoHTTPD.Response handshakeResponse = new NanoHTTPD.Response( 32 NanoHTTPD.Response.Status.SWITCH_PROTOCOL, null, (InputStream) null) { 43 public WebSocket(NanoHTTPD.IHTTPSession handshakeRequest) { in WebSocket() 53 public NanoHTTPD.IHTTPSession getHandshakeRequest() { in getHandshakeRequest() 57 public NanoHTTPD.Response getHandshakeResponse() { in getHandshakeResponse()
|
D | WebSocketResponseHandler.java | 7 import fi.iki.elonen.NanoHTTPD.IHTTPSession; 8 import fi.iki.elonen.NanoHTTPD.Response; 33 return new Response(Response.Status.BAD_REQUEST, NanoHTTPD.MIME_PLAINTEXT, in serve() 38 return new Response(Response.Status.BAD_REQUEST, NanoHTTPD.MIME_PLAINTEXT, in serve() 47 return new Response(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, in serve()
|
D | IWebSocketFactory.java | 3 import fi.iki.elonen.NanoHTTPD.IHTTPSession;
|
D | NanoWebSocketServer.java | 4 public class NanoWebSocketServer extends NanoHTTPD implements IWebSocketFactory {
|
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
D | WebServerPlugin.java | 6 import fi.iki.elonen.NanoHTTPD.IHTTPSession; 18 …NanoHTTPD.Response serveFile(String uri, Map<String, String> headers, IHTTPSession session, File f… in serveFile()
|
D | ServerRunner.java | 8 executeInstance((NanoHTTPD) serverClass.newInstance()); in run() 14 public static void executeInstance(NanoHTTPD server) { in executeInstance()
|
D | SimpleWebServer.java | 20 public class SimpleWebServer extends NanoHTTPD { 301 …Response res = createResponse(Response.Status.REDIRECT, NanoHTTPD.MIME_HTML, "<html><body>Redirect… in respond() 313 … return createResponse(Response.Status.OK, NanoHTTPD.MIME_HTML, listDirectory(uri, f)); in respond() 338 return createResponse(Response.Status.NOT_FOUND, NanoHTTPD.MIME_PLAINTEXT, in getNotFoundResponse() 343 return createResponse(Response.Status.FORBIDDEN, NanoHTTPD.MIME_PLAINTEXT, "FORBIDDEN: " in getForbiddenResponse() 348 return createResponse(Response.Status.INTERNAL_ERROR, NanoHTTPD.MIME_PLAINTEXT, in getInternalErrorResponse() 397 … res = createResponse(Response.Status.RANGE_NOT_SATISFIABLE, NanoHTTPD.MIME_PLAINTEXT, ""); in serveFile()
|
D | InternalRewrite.java | 5 import static fi.iki.elonen.NanoHTTPD.Response;
|
/external/nanohttpd/samples/src/main/java/fi/iki/elonen/ |
D | HelloServer.java | 8 public class HelloServer extends NanoHTTPD { 30 return new NanoHTTPD.Response(msg); in serve()
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
D | CookieIntegrationTest.java | 3 import fi.iki.elonen.NanoHTTPD; 35 testServer.cookiesToSend.add(new NanoHTTPD.Cookie("name", "value", 30)); in testCookieSentBackToClient() 66 public static class CookieTestServer extends NanoHTTPD {
|
D | IntegrationTestBase.java | 3 import fi.iki.elonen.NanoHTTPD; 15 public abstract class IntegrationTestBase<T extends NanoHTTPD> {
|
D | ShutdownTest.java | 4 import fi.iki.elonen.NanoHTTPD; 41 private class TestServer extends NanoHTTPD {
|
D | PutStreamIntegrationTest.java | 15 import fi.iki.elonen.NanoHTTPD; 35 public static class TestServer extends NanoHTTPD {
|
D | GetAndPostIntegrationTest.java | 3 import fi.iki.elonen.NanoHTTPD; 103 public static class TestServer extends NanoHTTPD {
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/samples/echo/ |
D | DebugWebSocket.java | 3 import fi.iki.elonen.NanoHTTPD; 16 public DebugWebSocket(NanoHTTPD.IHTTPSession handshake, boolean debug) { in DebugWebSocket()
|
/external/nanohttpd/samples/src/main/java/fi/iki/elonen/debug/ |
D | DebugServer.java | 3 import fi.iki.elonen.NanoHTTPD; 10 public class DebugServer extends NanoHTTPD {
|
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/ |
D | WebSocketResponseHandlerTest.java | 9 import fi.iki.elonen.NanoHTTPD.IHTTPSession; 10 import fi.iki.elonen.NanoHTTPD.Response;
|
D | NanoWebSocketServerTest.java | 18 private NanoHTTPD.IHTTPSession session;
|