SYMBOL INDEX (817 symbols across 87 files) FILE: core/src/main/java/org/nanohttpd/protocols/http/ClientHandler.java class ClientHandler (line 48) | public class ClientHandler implements Runnable { method ClientHandler (line 56) | public ClientHandler(NanoHTTPD httpd, InputStream inputStream, Socket ... method close (line 62) | public void close() { method run (line 67) | @Override FILE: core/src/main/java/org/nanohttpd/protocols/http/HTTPSession.java class HTTPSession (line 74) | public class HTTPSession implements IHTTPSession { method HTTPSession (line 114) | public HTTPSession(NanoHTTPD httpd, ITempFileManager tempFileManager, ... method HTTPSession (line 121) | public HTTPSession(NanoHTTPD httpd, ITempFileManager tempFileManager, ... method decodeHeader (line 133) | private void decodeHeader(BufferedReader in, Map pre, ... method decodeMultipartFormData (line 191) | private void decodeMultipartFormData(ContentType contentType, ByteBuff... method scipOverNewLine (line 295) | private int scipOverNewLine(byte[] partHeaderBuff, int index) { method decodeParms (line 306) | private void decodeParms(String parms, Map> p) { method execute (line 338) | @Override method findHeaderEnd (line 467) | private int findHeaderEnd(final byte[] buf, int rlen) { method getBoundaryPositions (line 490) | private int[] getBoundaryPositions(ByteBuffer b, byte[] boundary) { method getCookies (line 531) | @Override method getHeaders (line 536) | @Override method getInputStream (line 541) | @Override method getMethod (line 546) | @Override method getParms (line 554) | @Override method getParameters (line 565) | @Override method getQueryParameterString (line 570) | @Override method getTmpBucket (line 575) | private RandomAccessFile getTmpBucket() { method getUri (line 584) | @Override method getBodySize (line 593) | public long getBodySize() { method parseBody (line 602) | @Override method saveTmpFile (line 673) | private String saveTmpFile(ByteBuffer b, int offset, int len, String f... method getRemoteIpAddress (line 694) | @Override FILE: core/src/main/java/org/nanohttpd/protocols/http/IHTTPSession.java type IHTTPSession (line 48) | public interface IHTTPSession { method execute (line 50) | void execute() throws IOException; method getCookies (line 52) | CookieHandler getCookies(); method getHeaders (line 54) | Map getHeaders(); method getInputStream (line 56) | InputStream getInputStream(); method getMethod (line 58) | Method getMethod(); method getParms (line 67) | @Deprecated method getParameters (line 70) | Map> getParameters(); method getQueryParameterString (line 72) | String getQueryParameterString(); method getUri (line 77) | String getUri(); method parseBody (line 85) | void parseBody(Map files) throws IOException, Response... method getRemoteIpAddress (line 92) | String getRemoteIpAddress(); FILE: core/src/main/java/org/nanohttpd/protocols/http/NanoHTTPD.java class NanoHTTPD (line 125) | public abstract class NanoHTTPD { class ResponseException (line 139) | public static final class ResponseException extends Exception { method ResponseException (line 145) | public ResponseException(Status status, String message) { method ResponseException (line 150) | public ResponseException(Status status, String message, Exception e) { method getStatus (line 155) | public Status getStatus() { method mimeTypes (line 193) | public static Map mimeTypes() { method loadMimeTypes (line 205) | @SuppressWarnings({ method makeSSLSocketFactory (line 236) | public static SSLServerSocketFactory makeSSLSocketFactory(KeyStore loa... method makeSSLSocketFactory (line 255) | public static SSLServerSocketFactory makeSSLSocketFactory(KeyStore loa... method makeSSLSocketFactory (line 267) | public static SSLServerSocketFactory makeSSLSocketFactory(String keyAn... method getMimeTypeForFile (line 292) | public static String getMimeTypeForFile(String uri) { method safeClose (line 301) | public static final void safeClose(Object closeable) { method getMyServerSocket (line 325) | public ServerSocket getMyServerSocket() { method NanoHTTPD (line 350) | public NanoHTTPD(int port) { method NanoHTTPD (line 365) | public NanoHTTPD(String hostname, int port) { method setHTTPHandler (line 381) | public void setHTTPHandler(IHandler handler) { method addHTTPInterceptor (line 385) | public void addHTTPInterceptor(IHandler interc... method closeAllConnections (line 392) | public synchronized void closeAllConnections() { method createClientHandler (line 406) | protected ClientHandler createClientHandler(final Socket finalAccept, ... method createServerRunnable (line 418) | protected ServerRunnable createServerRunnable(final int timeout) { method decodeParameters (line 433) | protected static Map> decodeParameters(Map> decodeParameters(String que... method decodePercent (line 478) | public static String decodePercent(String str) { method getListeningPort (line 488) | public final int getListeningPort() { method isAlive (line 492) | public final boolean isAlive() { method getServerSocketFactory (line 496) | public IFactoryThrowing getServerSocketFact... method setServerSocketFactory (line 500) | public void setServerSocketFactory(IFactoryThrowing getTempFileManagerFactory() { method makeSecure (line 515) | public void makeSecure(SSLServerSocketFactory sslServerSocketFactory, ... method handle (line 529) | public Response handle(IHTTPSession session) { method serve (line 548) | @Deprecated method setAsyncRunner (line 559) | public void setAsyncRunner(IAsyncRunner asyncRunner) { method setTempFileManagerFactory (line 569) | public void setTempFileManagerFactory(IFactory tempF... method start (line 579) | public void start() throws IOException { method start (line 586) | public void start(final int timeout) throws IOException { method start (line 600) | public void start(final int timeout, boolean daemon) throws IOException { method stop (line 626) | public void stop() { method wasStarted (line 638) | public final boolean wasStarted() { FILE: core/src/main/java/org/nanohttpd/protocols/http/ServerRunnable.java class ServerRunnable (line 45) | public class ServerRunnable implements Runnable { method ServerRunnable (line 55) | public ServerRunnable(NanoHTTPD httpd, int timeout) { method run (line 60) | @Override method getBindException (line 83) | public IOException getBindException() { method hasBinded (line 87) | public boolean hasBinded() { FILE: core/src/main/java/org/nanohttpd/protocols/http/content/ContentType.java class ContentType (line 39) | public class ContentType { method ContentType (line 65) | public ContentType(String contentTypeHeader) { method getDetailFromContentHeader (line 81) | private String getDetailFromContentHeader(String contentTypeHeader, Pa... method getContentTypeHeader (line 86) | public String getContentTypeHeader() { method getContentType (line 90) | public String getContentType() { method getEncoding (line 94) | public String getEncoding() { method getBoundary (line 98) | public String getBoundary() { method isMultipart (line 102) | public boolean isMultipart() { method tryUTF8 (line 106) | public ContentType tryUTF8() { FILE: core/src/main/java/org/nanohttpd/protocols/http/content/Cookie.java class Cookie (line 46) | public class Cookie { method getHTTPTime (line 48) | public static String getHTTPTime(int days) { method Cookie (line 58) | public Cookie(String name, String value) { method Cookie (line 62) | public Cookie(String name, String value, int numDays) { method Cookie (line 68) | public Cookie(String name, String value, String expires) { method getHTTPHeader (line 74) | public String getHTTPHeader() { FILE: core/src/main/java/org/nanohttpd/protocols/http/content/CookieHandler.java class CookieHandler (line 50) | public class CookieHandler implements Iterable { method CookieHandler (line 56) | public CookieHandler(Map httpHeaders) { method delete (line 76) | public void delete(String name) { method iterator (line 80) | @Override method read (line 92) | public String read(String name) { method set (line 96) | public void set(Cookie cookie) { method set (line 110) | public void set(String name, String value, int expires) { method unloadQueue (line 122) | public void unloadQueue(Response response) { FILE: core/src/main/java/org/nanohttpd/protocols/http/request/Method.java type Method (line 40) | public enum Method { method lookup (line 60) | public static Method lookup(String method) { FILE: core/src/main/java/org/nanohttpd/protocols/http/response/ChunkedOutputStream.java class ChunkedOutputStream (line 45) | public class ChunkedOutputStream extends FilterOutputStream { method ChunkedOutputStream (line 47) | public ChunkedOutputStream(OutputStream out) { method write (line 51) | @Override method write (line 59) | @Override method write (line 64) | @Override method finish (line 73) | public void finish() throws IOException { FILE: core/src/main/java/org/nanohttpd/protocols/http/response/IStatus.java type IStatus (line 36) | public interface IStatus { method getDescription (line 38) | String getDescription(); method getRequestStatus (line 40) | int getRequestStatus(); FILE: core/src/main/java/org/nanohttpd/protocols/http/response/Response.java class Response (line 66) | public class Response implements Closeable { method put (line 92) | public String put(String key, String value) { type GzipUsage (line 119) | private static enum GzipUsage { method Response (line 128) | @SuppressWarnings({ method close (line 147) | @Override method addCookieHeader (line 158) | public void addCookieHeader(String cookie) { method getCookieHeaders (line 168) | public List getCookieHeaders() { method addHeader (line 175) | public void addHeader(String name, String value) { method closeConnection (line 186) | public void closeConnection(boolean close) { method isCloseConnection (line 197) | public boolean isCloseConnection() { method getData (line 201) | public InputStream getData() { method getHeader (line 205) | public String getHeader(String name) { method getMimeType (line 209) | public String getMimeType() { method getRequestMethod (line 213) | public Method getRequestMethod() { method getStatus (line 217) | public IStatus getStatus() { method setKeepAlive (line 221) | public void setKeepAlive(boolean useKeepAlive) { method send (line 228) | public void send(OutputStream outputStream) { method printHeader (line 276) | @SuppressWarnings("static-method") method sendContentLengthHeaderIfNotAlreadyPresent (line 281) | protected long sendContentLengthHeaderIfNotAlreadyPresent(PrintWriter ... method sendBodyWithCorrectTransferAndEncoding (line 296) | private void sendBodyWithCorrectTransferAndEncoding(OutputStream outpu... method sendBodyWithCorrectEncoding (line 312) | private void sendBodyWithCorrectEncoding(OutputStream outputStream, lo... method sendBody (line 344) | private void sendBody(OutputStream outputStream, long pending) throws ... method setChunkedTransfer (line 367) | public void setChunkedTransfer(boolean chunkedTransfer) { method setData (line 371) | public void setData(InputStream data) { method setMimeType (line 375) | public void setMimeType(String mimeType) { method setRequestMethod (line 379) | public void setRequestMethod(Method requestMethod) { method setStatus (line 383) | public void setStatus(IStatus status) { method newChunkedResponse (line 390) | public static Response newChunkedResponse(IStatus status, String mimeT... method newFixedLengthResponse (line 394) | public static Response newFixedLengthResponse(IStatus status, String m... method newFixedLengthResponse (line 401) | public static Response newFixedLengthResponse(IStatus status, String m... method newFixedLengthResponse (line 408) | public static Response newFixedLengthResponse(IStatus status, String m... method newFixedLengthResponse (line 431) | public static Response newFixedLengthResponse(String msg) { method setUseGzip (line 435) | public Response setUseGzip(boolean useGzip) { method useGzipWhenAccepted (line 442) | public boolean useGzipWhenAccepted() { FILE: core/src/main/java/org/nanohttpd/protocols/http/response/Status.java type Status (line 39) | public enum Status implements IStatus { method Status (line 88) | Status(int requestStatus, String description) { method lookup (line 93) | public static Status lookup(int requestStatus) { method getDescription (line 102) | @Override method getRequestStatus (line 107) | @Override FILE: core/src/main/java/org/nanohttpd/protocols/http/sockets/DefaultServerSocketFactory.java class DefaultServerSocketFactory (line 44) | public class DefaultServerSocketFactory implements IFactoryThrowing getRunning() { method closeAll (line 64) | @Override method closed (line 72) | @Override method exec (line 77) | @Override method createThread (line 84) | protected Thread createThread(ClientHandler clientHandler) { FILE: core/src/main/java/org/nanohttpd/protocols/http/threading/IAsyncRunner.java type IAsyncRunner (line 41) | public interface IAsyncRunner { method closeAll (line 43) | void closeAll(); method closed (line 45) | void closed(ClientHandler clientHandler); method exec (line 47) | void exec(ClientHandler code); FILE: core/src/main/java/org/nanohttpd/util/IFactory.java type IFactory (line 43) | public interface IFactory { method create (line 45) | T create(); FILE: core/src/main/java/org/nanohttpd/util/IFactoryThrowing.java type IFactoryThrowing (line 46) | public interface IFactoryThrowing { method create (line 48) | T create() throws E; FILE: core/src/main/java/org/nanohttpd/util/IHandler.java type IHandler (line 46) | public interface IHandler { method handle (line 48) | public O handle(I input); FILE: core/src/main/java/org/nanohttpd/util/ServerRunner.java class ServerRunner (line 42) | public class ServerRunner { method executeInstance (line 49) | public static void executeInstance(NanoHTTPD server) { method run (line 68) | public static void run(Class serverClass) { FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/BadRequestTest.java class BadRequestTest (line 41) | public class BadRequestTest extends HttpServerTest { method testEmptyRequest (line 43) | @Test method testInvalidMethod (line 52) | @Test method testMissingURI (line 61) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/CookieHandlerTest.java class CookieHandlerTest (line 55) | public class CookieHandlerTest extends HttpServerTest { method testCookieHeaderCorrectlyParsed (line 57) | @Test method testCookieHeaderWithSpecialCharactersCorrectlyParsed (line 78) | @Test method testUnloadQueue (line 101) | @Test method testDelete (line 118) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/CookieTest.java class CookieTest (line 44) | public class CookieTest { method testGetHTTPTime (line 46) | @Test method testCookieWithNoExplicitExpirationTime (line 53) | @Test method testCookieWithExplicitExpirationTime (line 60) | @Test method testCookieWithExpiresString (line 69) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/HttpChunkedResponseTest.java class HttpChunkedResponseTest (line 43) | public class HttpChunkedResponseTest extends HttpServerTest { class ChunkedInputStream (line 45) | private static class ChunkedInputStream extends PipedInputStream { method ChunkedInputStream (line 51) | private ChunkedInputStream(String[] chunks) { method read (line 55) | @Override method thatChunkedContentIsChunked (line 65) | @org.junit.Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/HttpDeleteRequestTest.java class HttpDeleteRequestTest (line 44) | public class HttpDeleteRequestTest extends HttpServerTest { method testDeleteRequestThatDoesntSendBackResponseBody_EmptyString (line 46) | @Test method testDeleteRequestThatDoesntSendBackResponseBody_NullInputStream (line 64) | @Test method testDeleteRequestThatDoesntSendBackResponseBody_NullString (line 82) | @Test method testDeleteRequestThatSendsBackResponseBody_Accepted (line 100) | @Test method testDeleteRequestThatSendsBackResponseBody_Success (line 119) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/HttpGetRequestTest.java class HttpGetRequestTest (line 48) | public class HttpGetRequestTest extends HttpServerTest { method testDecodingFieldWithEmptyValueAndFieldWithMissingValueGiveDifferentResults (line 50) | @Test method testDecodingMixtureOfParameters (line 60) | @Test method testDecodingParametersFromParameterMap (line 74) | @Test method testDecodingParametersWithSingleValue (line 83) | @Test method testDecodingParametersWithSingleValueAndMissingValue (line 95) | @Test method testDecodingSingleFieldRepeated (line 106) | @Test method testEmptyHeadersSuppliedToServeMethodFromSimpleWorkingGetRequest (line 115) | @Test method testFullyQualifiedWorkingGetRequest (line 125) | @Test method testMultipleGetParameters (line 141) | @Test method testMultipleGetParametersWithMissingValue (line 150) | @Test method testMultipleGetParametersWithMissingValueAndRequestHeaders (line 159) | @Test method testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest (line 169) | @Test method testOutputOfServeSentBackToClient (line 178) | @Test method testSingleGetParameter (line 197) | @Test method testMultipleValueGetParameter (line 204) | @Test method testSingleGetParameterWithNoValue (line 213) | @Test method testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest (line 220) | @Test method testGetQueryParameterContainsSpace (line 229) | @Test method testGetQueryParameterContainsQuestionMark (line 236) | @Test method testGetQueryParameterContainsAmpersand (line 243) | @Test method testGetQueryParameterContainsSpecialCharactersSingleFieldRepeated (line 250) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/HttpHeadRequestTest.java class HttpHeadRequestTest (line 47) | public class HttpHeadRequestTest extends HttpServerTest { method setUp (line 49) | @Override method testDecodingFieldWithEmptyValueAndFieldWithMissingValueGiveDifferentResults (line 56) | @Test method testDecodingMixtureOfParameters (line 66) | @Test method testDecodingParametersFromParameterMap (line 80) | @Test method testDecodingParametersWithSingleValue (line 89) | @Test method testDecodingParametersWithSingleValueAndMissingValue (line 101) | @Test method testDecodingSingleFieldRepeated (line 112) | @Test method testEmptyHeadersSuppliedToServeMethodFromSimpleWorkingGetRequest (line 121) | @Test method testHeadRequestDoesntSendBackResponseBody (line 131) | @Test method testMultipleGetParameters (line 147) | @Test method testMultipleGetParametersWithMissingValue (line 156) | @Test method testMultipleGetParametersWithMissingValueAndRequestHeaders (line 165) | @Test method testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest (line 175) | @Test method testSingleGetParameter (line 184) | @Test method testMultipleValueGetParameter (line 191) | @Test method testSingleGetParameterWithNoValue (line 200) | @Test method testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest (line 207) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/HttpKeepAliveTest.java class HttpKeepAliveTest (line 46) | public class HttpKeepAliveTest extends HttpServerTest { method testManyGetRequests (line 50) | @Test method testManyPutRequests (line 64) | @Test method testManyRequests (line 89) | public void testManyRequests(final String request, final String[] expe... FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/HttpParsingTest.java class HttpParsingTest (line 40) | public class HttpParsingTest extends HttpServerTest { method testMultibyteCharacterSupport (line 42) | @Test method testNormalCharacters (line 49) | @Test method testPlusInQueryParams (line 59) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/HttpPostRequestTest.java class HttpPostRequestTest (line 47) | public class HttpPostRequestTest extends HttpServerTest { method preparePostWithMultipartForm (line 73) | private String preparePostWithMultipartForm(String fileName, String fi... method testPostWithMultipartFormUpload (line 87) | @Test method testPostWithMultipartFormUploadFilenameHasSpaces (line 104) | @Test method testPostWithMultipleMultipartFormFields (line 119) | @Test method testPostWithMultipleMultipartFormFieldsWhereContentTypeWasSeparatedByComma (line 142) | @Test method testSimplePostWithSingleMultipartFormField (line 165) | @Test method testSimpleRawPostData (line 185) | @Test method testPostWithMultipartFormFieldsAndFile (line 200) | @Test method testPostWithMultipartFormUploadMultipleFiles (line 228) | @Test method testPostWithMultipartFormUploadFileWithMultilineContent (line 274) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/HttpPutRequestTest.java class HttpPutRequestTest (line 45) | public class HttpPutRequestTest extends HttpServerTest { method testPutRequestSendsContent (line 47) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/HttpSSLServerTest.java class HttpSSLServerTest (line 50) | public class HttpSSLServerTest extends HttpServerTest { method testSSLConnection (line 52) | @Test method testHttpOnSSLConnection (line 70) | @Test(expected = ClientProtocolException.class) method setUp (line 77) | @Before method tearDown (line 97) | @After FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/HttpServerTest.java class HttpServerTest (line 79) | public class HttpServerTest { class TestServer (line 81) | public static class TestServer extends NanoHTTPD { method TestServer (line 103) | public TestServer() { method TestServer (line 107) | public TestServer(int port) { method createSession (line 111) | public HTTPSession createSession(ITempFileManager tempFileManager, I... method createSession (line 115) | public HTTPSession createSession(ITempFileManager tempFileManager, I... method serve (line 119) | @Override class TestTempFileManager (line 140) | public static class TestTempFileManager extends DefaultTempFileManager { method _clear (line 142) | public void _clear() { method clear (line 146) | @Override method assertLinesOfText (line 158) | protected void assertLinesOfText(String[] expected, List lines) { method assertResponse (line 166) | protected void assertResponse(ByteArrayOutputStream outputStream, Stri... method getOutputLines (line 171) | protected List getOutputLines(ByteArrayOutputStream outputStre... method invokeServer (line 176) | protected ByteArrayOutputStream invokeServer(String request) { method readLinesFromFile (line 189) | protected List readLinesFromFile(BufferedReader reader) throws... method setUp (line 201) | @Before method tearDown (line 207) | @After method testServerExists (line 212) | @Test method testMultipartFormData (line 217) | @Test method testTempFileInterface (line 276) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/HttpSessionHeadersTest.java class HttpSessionHeadersTest (line 46) | public class HttpSessionHeadersTest extends HttpServerTest { method testHeadersRemoteIp (line 52) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/HttpSessionTest.java class HttpSessionTest (line 46) | public class HttpSessionTest extends HttpServerTest { method testSessionRemoteIPAddress (line 52) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/InvalidRequestTest.java class InvalidRequestTest (line 40) | public class InvalidRequestTest extends HttpServerTest { method testGetRequestWithoutProtocol (line 42) | @Test method testGetRequestWithProtocol (line 53) | @Test method testPostRequestWithoutProtocol (line 64) | @Test method testPostRequestWithProtocol (line 74) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/JavaIOTempDirExistTest.java class JavaIOTempDirExistTest (line 48) | public class JavaIOTempDirExistTest { method testJavaIoTempDefault (line 50) | @Test method testJavaIoTempSpecific (line 70) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/LoadKeyStoreTest.java class LoadKeyStoreTest (line 49) | public class LoadKeyStoreTest { method loadKeyStoreFromResources (line 54) | @Test method loadKeyStoreFromResourcesWrongPassword (line 64) | @Test method loadNonExistentKeyStoreFromResources (line 74) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/MimeTest.java class MimeTest (line 40) | public class MimeTest { method testExistingMimeType (line 42) | @Test method testNotExistingMimeType (line 47) | @Test method testOverwritenMimeType (line 53) | @Test method testManualMimeType (line 58) | @Test FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/SSLServerSocketFactoryTest.java class SSLServerSocketFactoryTest (line 55) | public class SSLServerSocketFactoryTest extends HttpServerTest { method testSSLConnection (line 57) | @Test method testCreatePassesTheProtocolsToServerSocket (line 69) | @Test method setUp (line 87) | @Before method tearDown (line 107) | @After FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/ServerSocketFactoryTest.java class ServerSocketFactoryTest (line 47) | public class ServerSocketFactoryTest extends NanoHTTPD { method ServerSocketFactoryTest (line 51) | public ServerSocketFactoryTest() { method isCustomServerSocketFactory (line 57) | @Test method testCreateServerSocket (line 63) | @Test method testSSLServerSocketFail (line 74) | @Test class TestFactory (line 90) | private class TestFactory implements IFactoryThrowing { method createTestServer (line 52) | public abstract T createTestServer(); method setUp (line 54) | @Before method tearDown (line 65) | @After FILE: core/src/test/java/org/nanohttpd/junit/protocols/http/integration/PutStreamIntegrationTest.java class PutStreamIntegrationTest (line 53) | public class PutStreamIntegrationTest extends IntegrationTestBase parseRequest(IHTTPSession session) throws FileUp... method parseParameterMap (line 110) | public Map> parseParameterMap(IHTTPSession sess... method getItemIterator (line 114) | public FileItemIterator getItemIterator(IHTTPSession session) throws F... FILE: fileupload/src/test/java/org/nanohttpd/junit/fileupload/TestNanoFileUpLoad.java class TestNanoFileUpLoad (line 83) | @FixMethodOrder class TestServer (line 90) | public static class TestServer extends NanoHTTPD { method TestServer (line 110) | public TestServer() { method createSession (line 115) | public HTTPSession createSession(ITempFileManager tempFileManager, I... method createSession (line 119) | public HTTPSession createSession(ITempFileManager tempFileManager, I... method serve (line 125) | @Override method testNormalRequest (line 173) | @Test method testPostWithMultipartFormUpload1 (line 182) | @Test method testPostWithMultipartFormUpload2 (line 193) | @Test method testPostWithMultipartFormUpload3 (line 204) | @Test method executeUpload (line 215) | private void executeUpload(CloseableHttpClient httpclient, String text... method setUp (line 230) | @Before method tearDown (line 247) | @After FILE: markdown-plugin/src/main/java/org/nanohttpd/markdown/MarkdownWebServerPlugin.java class MarkdownWebServerPlugin (line 56) | public class MarkdownWebServerPlugin implements WebServerPlugin { method MarkdownWebServerPlugin (line 65) | public MarkdownWebServerPlugin() { method canServeUri (line 69) | @Override method initialize (line 75) | @Override method readSource (line 79) | private String readSource(File file) { method serveFile (line 112) | @Override FILE: markdown-plugin/src/main/java/org/nanohttpd/markdown/MarkdownWebServerPluginInfo.java class MarkdownWebServerPluginInfo (line 42) | public class MarkdownWebServerPluginInfo implements WebServerPluginInfo { method getIndexFilesForMimeType (line 44) | @Override method getMimeTypes (line 51) | @Override method getWebServerPlugin (line 58) | @Override FILE: nanolets/src/main/java/org/nanohttpd/router/RouterNanoHTTPD.java class RouterNanoHTTPD (line 64) | public class RouterNanoHTTPD extends NanoHTTPD { type UriResponder (line 71) | public interface UriResponder { method get (line 73) | public Response get(UriResource uriResource, Map url... method put (line 75) | public Response put(UriResource uriResource, Map url... method post (line 77) | public Response post(UriResource uriResource, Map ur... method delete (line 79) | public Response delete(UriResource uriResource, Map ... method other (line 81) | public Response other(String method, UriResource uriResource, Map url... method post (line 100) | public Response post(UriResource uriResource, Map ur... method put (line 104) | public Response put(UriResource uriResource, Map url... method delete (line 108) | public Response delete(UriResource uriResource, Map ... method other (line 112) | public Response other(String method, UriResource uriResource, Map url... method getData (line 131) | @Override class GeneralHandler (line 140) | public static class GeneralHandler extends DefaultHandler { method getText (line 142) | @Override method getMimeType (line 147) | @Override method getStatus (line 152) | @Override method get (line 157) | public Response get(UriResource uriResource, Map url... class StaticPageHandler (line 183) | public static class StaticPageHandler extends DefaultHandler { method getPathArray (line 185) | private static String[] getPathArray(String uri) { method getText (line 198) | @Override method getMimeType (line 203) | @Override method getStatus (line 208) | @Override method get (line 213) | public Response get(UriResource uriResource, Map url... method fileToInputStream (line 243) | protected BufferedInputStream fileToInputStream(File fileOrdirectory... class Error404UriHandler (line 251) | public static class Error404UriHandler extends DefaultHandler { method getText (line 253) | public String getText() { method getMimeType (line 257) | @Override method getStatus (line 262) | @Override class IndexHandler (line 271) | public static class IndexHandler extends DefaultHandler { method getText (line 273) | public String getText() { method getMimeType (line 277) | @Override method getStatus (line 282) | @Override class NotImplementedHandler (line 289) | public static class NotImplementedHandler extends DefaultHandler { method getText (line 291) | public String getText() { method getMimeType (line 295) | @Override method getStatus (line 300) | @Override method normalizeUri (line 306) | public static String normalizeUri(String value) { class UriResource (line 320) | public static class UriResource implements Comparable { method UriResource (line 340) | public UriResource(String uri, int priority, Class handler, Objec... method UriResource (line 345) | public UriResource(String uri, Class handler, Object... initParam... method parse (line 358) | private void parse() { method createUriPattern (line 361) | private Pattern createUriPattern() { method process (line 376) | public Response process(Map urlParams, IHTTPSession ... method toString (line 411) | @Override method getUri (line 419) | public String getUri() { method initParameter (line 423) | public T initParameter(Class paramClazz) { method initParameter (line 427) | public T initParameter(int parameterIndex, Class paramClazz) { method match (line 435) | public Map match(String url) { method compareTo (line 451) | @Override method setPriority (line 464) | public void setPriority(int priority) { type IRoutePrioritizer (line 470) | public static interface IRoutePrioritizer { method addRoute (line 472) | void addRoute(String url, int priority, Class handler, Object... ... method removeRoute (line 474) | void removeRoute(String url); method getPrioritizedRoutes (line 476) | Collection getPrioritizedRoutes(); method setNotImplemented (line 478) | void setNotImplemented(Class notImplemented); class BaseRoutePrioritizer (line 481) | public static abstract class BaseRoutePrioritizer implements IRoutePri... method BaseRoutePrioritizer (line 487) | public BaseRoutePrioritizer() { method addRoute (line 492) | @Override method removeRoute (line 503) | public void removeRoute(String url) { method getPrioritizedRoutes (line 515) | @Override method setNotImplemented (line 520) | @Override method newMappingCollection (line 525) | protected abstract Collection newMappingCollection(); class ProvidedPriorityRoutePrioritizer (line 528) | public static class ProvidedPriorityRoutePrioritizer extends BaseRoute... method addRoute (line 530) | @Override method newMappingCollection (line 545) | @Override class DefaultRoutePrioritizer (line 552) | public static class DefaultRoutePrioritizer extends BaseRoutePrioritiz... method newMappingCollection (line 554) | protected Collection newMappingCollection() { class InsertionOrderRoutePrioritizer (line 559) | public static class InsertionOrderRoutePrioritizer extends BaseRoutePr... method newMappingCollection (line 561) | protected Collection newMappingCollection() { class UriRouter (line 566) | public static class UriRouter { method UriRouter (line 572) | public UriRouter() { method process (line 586) | public Response process(IHTTPSession session) { method addRoute (line 600) | private void addRoute(String url, int priority, Class handler, Ob... method removeRoute (line 604) | private void removeRoute(String url) { method setNotFoundHandler (line 608) | public void setNotFoundHandler(Class handler) { method setNotImplemented (line 612) | public void setNotImplemented(Class handler) { method setRoutePrioritizer (line 616) | public void setRoutePrioritizer(IRoutePrioritizer routePrioritizer) { method RouterNanoHTTPD (line 624) | public RouterNanoHTTPD(int port) { method RouterNanoHTTPD (line 629) | public RouterNanoHTTPD(String hostname, int port) { method addMappings (line 642) | public void addMappings() { method addRoute (line 649) | public void addRoute(String url, Class handler, Object... initParam... method setNotImplementedHandler (line 653) | public void setNotImplementedHandler(Class... method setNotFoundHandler (line 657) | public void setNotFoundHandler(Class handl... method removeRoute (line 661) | public void removeRoute(String url) { method setRoutePrioritizer (line 665) | public void setRoutePrioritizer(IRoutePrioritizer routePrioritizer) { method serve (line 669) | @Override FILE: nanolets/src/test/java/org/nanohttpd/junit/router/AppNanolets.java class AppNanolets (line 62) | public class AppNanolets extends RouterNanoHTTPD { class UserHandler (line 66) | public static class UserHandler extends DefaultHandler { method getText (line 68) | @Override method getText (line 73) | public String getText(Map urlParams, IHTTPSession se... method getMimeType (line 92) | @Override method getStatus (line 97) | @Override method get (line 102) | public Response get(UriResource uriResource, Map url... class StreamUrl (line 111) | static public class StreamUrl extends DefaultStreamHandler { method getMimeType (line 113) | @Override method getStatus (line 118) | @Override method getData (line 123) | @Override class StaticPageTestHandler (line 130) | public static class StaticPageTestHandler extends StaticPageHandler { method fileToInputStream (line 132) | @Override method AppNanolets (line 144) | public AppNanolets() throws IOException { method addMappings (line 155) | @Override method main (line 179) | public static void main(String[] args) { FILE: nanolets/src/test/java/org/nanohttpd/junit/router/TestNanolets.java class TestNanolets (line 75) | public class TestNanolets { method setUp (line 81) | @BeforeClass method main (line 98) | public static void main(String[] args) { method doSomeBasicMethodTest (line 119) | @Test method doEncodedRequest (line 156) | @Test method doNonRouterRequest (line 164) | @Test method doExceptionRequest (line 176) | @Test method doDeletedRoute (line 188) | @Test method doUriSelection1 (line 200) | @Test method doStreamOfData (line 212) | @Test method illegalMethod1 (line 224) | @Test(expected = IllegalStateException.class) method illegalMethod2 (line 229) | @Test(expected = IllegalStateException.class) method illegalMethod3 (line 234) | @Test(expected = IllegalStateException.class) method illegalMethod4 (line 239) | @Test(expected = IllegalStateException.class) method checkIniParameter1 (line 244) | @Test(expected = ClassCastException.class) method checkIniParameter2 (line 250) | @Test method doGeneralParams (line 256) | @Test method doIndexHandler (line 269) | @Test method doMissingHandler (line 281) | @Test method uriToString (line 293) | @Test method doOtherMethod (line 300) | @Test method normalize (line 312) | @Test method readContents (line 320) | private byte[] readContents(HttpEntity entity) throws IOException { method readContents (line 325) | private byte[] readContents(InputStream instream) throws IOException { method staticFiles (line 342) | @Test method tearDown (line 389) | @AfterClass method testGeneralHandlerGetStatus (line 396) | @Test method testStaticPageHandlerGetStatus (line 401) | @Test method testError404UriHandlerGetStatus (line 406) | @Test method testError404UriHandlerGetMimeType (line 411) | @Test method testNotImplementedHandlerGetStatus (line 416) | @Test method testIndexHandlerGetStatus (line 421) | @Test method testIndexHandlerGetMimeType (line 426) | @Test method testNotImplementedHandlerGetMimeType (line 431) | @Test method testBaseRoutePrioritizerAddNullRoute (line 436) | @Test method testInsertionOrderRoutePrioritizer (line 443) | @Test method testProvidedPriorityRoutePrioritizerNullUri (line 476) | @Test method testProvidedPriorityRoutePrioritizerNullHandler (line 484) | @Test method testProvidedPriorityRoutePrioritizer (line 492) | @Test method testUriResourceComparator (line 524) | @Test method testUriResourceMatch (line 541) | @Test method testRoutePrioritizerRemoveRouteNoRouteMatches (line 548) | @Test method testHandlerSetters (line 557) | @Test class TestRouter (line 579) | private static final class TestRouter extends UriRouter { method setNotFoundHandler (line 585) | @Override method setNotImplemented (line 590) | @Override FILE: samples/src/main/java/org/nanohttpd/samples/http/DebugServer.java class DebugServer (line 45) | public class DebugServer extends NanoHTTPD { method main (line 47) | public static void main(String[] args) { method DebugServer (line 51) | public DebugServer() { method listItem (line 55) | private void listItem(StringBuilder sb, Map.Entry map) { method unsortedList (line 99) | private String unsortedList(Map map) { FILE: samples/src/main/java/org/nanohttpd/samples/http/HelloServer.java class HelloServer (line 48) | public class HelloServer extends NanoHTTPD { method main (line 55) | public static void main(String[] args) { method HelloServer (line 59) | public HelloServer() { method serve (line 63) | @Override FILE: samples/src/main/java/org/nanohttpd/samples/tempfiles/TempFilesServer.java class TempFilesServer (line 50) | public class TempFilesServer extends DebugServer { class ExampleManager (line 52) | private static class ExampleManager implements ITempFileManager { method ExampleManager (line 58) | private ExampleManager() { method clear (line 63) | @Override method createTempFile (line 78) | @Override class ExampleManagerFactory (line 87) | private static class ExampleManagerFactory implements IFactory headers, String uri) { method getHeaders (line 58) | public Map getHeaders() { method getUri (line 62) | public String getUri() { FILE: webserver/src/main/java/org/nanohttpd/webserver/SimpleWebServer.java class SimpleWebServer (line 62) | public class SimpleWebServer extends NanoHTTPD { method main (line 103) | public static void main(String[] args) { method registerPluginForMimeType (line 179) | protected static void registerPluginForMimeType(String[] indexFiles, S... method SimpleWebServer (line 204) | public SimpleWebServer(String host, int port, File wwwroot, boolean qu... method SimpleWebServer (line 208) | public SimpleWebServer(String host, int port, File wwwroot, boolean qu... method SimpleWebServer (line 212) | public SimpleWebServer(String host, int port, List wwwroots, boo... method SimpleWebServer (line 216) | public SimpleWebServer(String host, int port, List wwwroots, boo... method canServeUri (line 225) | private boolean canServeUri(String uri, File homeDir) { method encodeUri (line 242) | private String encodeUri(String uri) { method findIndexFileInDirectory (line 261) | private String findIndexFileInDirectory(File directory) { method getForbiddenResponse (line 271) | protected Response getForbiddenResponse(String s) { method getInternalErrorResponse (line 275) | protected Response getInternalErrorResponse(String s) { method getNotFoundResponse (line 279) | protected Response getNotFoundResponse() { method init (line 286) | public void init() { method listDirectory (line 289) | protected String listDirectory(String uri, File f) { method newFixedLengthResponse (line 357) | public static Response newFixedLengthResponse(IStatus status, String m... method respond (line 363) | private Response respond(Map headers, IHTTPSession ses... method defaultRespond (line 378) | private Response defaultRespond(Map headers, IHTTPSess... method serve (line 440) | @Override method serveFile (line 474) | Response serveFile(String uri, Map header, File file, ... method newFixedFileResponse (line 573) | private Response newFixedFileResponse(File file, String mime) throws F... method addCORSHeaders (line 580) | protected Response addCORSHeaders(Map queryHeaders, Re... method calculateAllowHeaders (line 590) | private String calculateAllowHeaders(Map queryHeaders) { FILE: webserver/src/main/java/org/nanohttpd/webserver/WebServerPlugin.java type WebServerPlugin (line 45) | public interface WebServerPlugin { method canServeUri (line 47) | boolean canServeUri(String uri, File rootDir); method initialize (line 49) | void initialize(Map commandLineOptions); method serveFile (line 51) | Response serveFile(String uri, Map headers, IHTTPSessi... FILE: webserver/src/main/java/org/nanohttpd/webserver/WebServerPluginInfo.java type WebServerPluginInfo (line 39) | public interface WebServerPluginInfo { method getIndexFilesForMimeType (line 41) | String[] getIndexFilesForMimeType(String mime); method getMimeTypes (line 43) | String[] getMimeTypes(); method getWebServerPlugin (line 45) | WebServerPlugin getWebServerPlugin(String mimeType); FILE: webserver/src/test/java/org/nanohttpd/junit/webserver/AbstractTestHttpServer.java class AbstractTestHttpServer (line 45) | public class AbstractTestHttpServer { method readContents (line 47) | protected byte[] readContents(HttpEntity entity) throws IOException { method readContents (line 52) | protected byte[] readContents(InputStream instream) throws IOException { FILE: webserver/src/test/java/org/nanohttpd/junit/webserver/DummyPlugin.java class DummyPlugin (line 47) | public class DummyPlugin implements WebServerPlugin { method canServeUri (line 49) | @Override method initialize (line 54) | @Override method serveFile (line 58) | @Override FILE: webserver/src/test/java/org/nanohttpd/junit/webserver/DummyPluginInfo.java class DummyPluginInfo (line 39) | public class DummyPluginInfo implements WebServerPluginInfo { method getIndexFilesForMimeType (line 41) | @Override method getMimeTypes (line 49) | @Override method getWebServerPlugin (line 56) | @Override FILE: webserver/src/test/java/org/nanohttpd/junit/webserver/TestCorsHttpServer.java class TestCorsHttpServer (line 54) | public class TestCorsHttpServer extends AbstractTestHttpServer { method setUp (line 60) | @BeforeClass method tearDown (line 85) | @AfterClass method doTestOption (line 92) | @Test method doSomeBasicTest (line 103) | @Test method testAccessControlAllowHeaderUsesDefaultsWithoutSystemProperty (line 117) | @Test method testAccessControlAllowHeaderUsesSystemPropertyWhenSet (line 131) | @Test FILE: webserver/src/test/java/org/nanohttpd/junit/webserver/TestCorsHttpServerWithSingleOrigin.java class TestCorsHttpServerWithSingleOrigin (line 54) | public class TestCorsHttpServerWithSingleOrigin extends AbstractTestHttp... method setUp (line 60) | @BeforeClass method tearDown (line 85) | @AfterClass method doTestOption (line 92) | @Test method doSomeBasicTest (line 104) | @Test FILE: webserver/src/test/java/org/nanohttpd/junit/webserver/TestHttpServer.java class TestHttpServer (line 57) | public class TestHttpServer extends AbstractTestHttpServer { method setUp (line 63) | @BeforeClass method tearDown (line 87) | @AfterClass method doTest404 (line 94) | @Test method doPlugin (line 103) | @Test method doSomeBasicTest (line 119) | @Test method doArgumentTest (line 154) | @Test method testURLContainsParentDirectory (line 191) | @Test method testIndexFileIsShownWhenURLEndsWithDirectory (line 207) | @Test method testPluginInternalRewrite (line 225) | @Test method testRangeHeaderWithStartPositionOnly (line 243) | @Test method testRangeStartGreaterThanFileLength (line 268) | @Test method testRangeHeaderWithStartAndEndPosition (line 287) | @Test method testIfNoneMatchHeader (line 312) | @Test method testRangeHeaderAndIfNoneMatchHeader (line 329) | @Test FILE: websocket/src/main/java/org/nanohttpd/protocols/websockets/CloseCode.java type CloseCode (line 36) | public enum CloseCode { method find (line 50) | public static CloseCode find(int value) { method CloseCode (line 61) | private CloseCode(int code) { method getValue (line 65) | public int getValue() { FILE: websocket/src/main/java/org/nanohttpd/protocols/websockets/CloseFrame.java class CloseFrame (line 38) | public class CloseFrame extends WebSocketFrame { method generatePayload (line 40) | private static byte[] generatePayload(CloseCode code, String closeReas... method CloseFrame (line 57) | public CloseFrame(CloseCode code, String closeReason) throws Character... method CloseFrame (line 61) | public CloseFrame(WebSocketFrame wrap) throws CharacterCodingException { method getCloseCode (line 70) | public CloseCode getCloseCode() { method getCloseReason (line 74) | public String getCloseReason() { FILE: websocket/src/main/java/org/nanohttpd/protocols/websockets/NanoWSD.java class NanoWSD (line 47) | public abstract class NanoWSD extends NanoHTTPD { method encodeBase64 (line 88) | private static String encodeBase64(byte[] buf) { method makeAcceptKey (line 113) | public static String makeAcceptKey(String key) throws NoSuchAlgorithmE... class Interceptor (line 121) | protected final class Interceptor implements IHandler header... method isWebsocketRequested (line 147) | protected boolean isWebsocketRequested(IHTTPSession session) { method openWebSocket (line 157) | protected abstract WebSocket openWebSocket(IHTTPSession handshake); method handleWebSocket (line 159) | public Response handleWebSocket(final IHTTPSession session) { FILE: websocket/src/main/java/org/nanohttpd/protocols/websockets/OpCode.java type OpCode (line 36) | public enum OpCode { method find (line 44) | public static OpCode find(byte value) { method OpCode (line 55) | private OpCode(int code) { method getValue (line 59) | public byte getValue() { method isControlFrame (line 63) | public boolean isControlFrame() { FILE: websocket/src/main/java/org/nanohttpd/protocols/websockets/State.java type State (line 36) | public enum State { FILE: websocket/src/main/java/org/nanohttpd/protocols/websockets/WebSocket.java class WebSocket (line 48) | public abstract class WebSocket { method send (line 66) | @Override method WebSocket (line 77) | public WebSocket(IHTTPSession handshakeRequest) { method isOpen (line 86) | public boolean isOpen() { method onOpen (line 90) | protected abstract void onOpen(); method onClose (line 92) | protected abstract void onClose(CloseCode code, String reason, boolean... method onMessage (line 94) | protected abstract void onMessage(WebSocketFrame message); method onPong (line 96) | protected abstract void onPong(WebSocketFrame pong); method onException (line 98) | protected abstract void onException(IOException exception); method debugFrameReceived (line 106) | protected void debugFrameReceived(WebSocketFrame frame) { method debugFrameSent (line 116) | protected void debugFrameSent(WebSocketFrame frame) { method close (line 119) | public void close(CloseCode code, String reason, boolean initiatedByRe... method doClose (line 129) | private void doClose(CloseCode code, String reason, boolean initiatedB... method getHandshakeRequest (line 153) | public IHTTPSession getHandshakeRequest() { method getHandshakeResponse (line 157) | public Response getHandshakeResponse() { method handleCloseFrame (line 161) | private void handleCloseFrame(WebSocketFrame frame) throws IOException { method handleFrameFragment (line 176) | private void handleFrameFragment(WebSocketFrame frame) throws IOExcept... method handleWebsocketFrame (line 203) | private void handleWebsocketFrame(WebSocketFrame frame) throws IOExcep... method ping (line 224) | public void ping(byte[] payload) throws IOException { method readWebsocket (line 231) | private void readWebsocket() { method send (line 249) | public void send(byte[] payload) throws IOException { method send (line 253) | public void send(String payload) throws IOException { method sendFrame (line 257) | public synchronized void sendFrame(WebSocketFrame frame) throws IOExce... FILE: websocket/src/main/java/org/nanohttpd/protocols/websockets/WebSocketException.java class WebSocketException (line 38) | public class WebSocketException extends IOException { method WebSocketException (line 46) | public WebSocketException(CloseCode code, String reason) { method WebSocketException (line 50) | public WebSocketException(CloseCode code, String reason, Exception cau... method WebSocketException (line 56) | public WebSocketException(Exception cause) { method getCode (line 60) | public CloseCode getCode() { method getReason (line 64) | public String getReason() { FILE: websocket/src/main/java/org/nanohttpd/protocols/websockets/WebSocketFrame.java class WebSocketFrame (line 45) | public class WebSocketFrame { method binary2Text (line 49) | public static String binary2Text(byte[] payload) throws CharacterCodin... method binary2Text (line 53) | public static String binary2Text(byte[] payload, int offset, int lengt... method checkedRead (line 57) | private static int checkedRead(int read) throws IOException { method read (line 64) | public static WebSocketFrame read(InputStream in) throws IOException { method text2Binary (line 87) | public static byte[] text2Binary(String payload) throws CharacterCodin... method WebSocketFrame (line 105) | private WebSocketFrame(OpCode opCode, boolean fin) { method WebSocketFrame (line 110) | public WebSocketFrame(OpCode opCode, boolean fin, byte[] payload) { method WebSocketFrame (line 114) | public WebSocketFrame(OpCode opCode, boolean fin, byte[] payload, byte... method WebSocketFrame (line 120) | public WebSocketFrame(OpCode opCode, boolean fin, String payload) thro... method WebSocketFrame (line 124) | public WebSocketFrame(OpCode opCode, boolean fin, String payload, byte... method WebSocketFrame (line 130) | public WebSocketFrame(OpCode opCode, List fragments) t... method WebSocketFrame (line 151) | public WebSocketFrame(WebSocketFrame clone) { method getBinaryPayload (line 158) | public byte[] getBinaryPayload() { method getMaskingKey (line 162) | public byte[] getMaskingKey() { method getOpCode (line 166) | public OpCode getOpCode() { method getTextPayload (line 172) | public String getTextPayload() { method isFin (line 183) | public boolean isFin() { method isMasked (line 187) | public boolean isMasked() { method payloadToString (line 191) | private String payloadToString() { method readPayload (line 217) | private void readPayload(InputStream in) throws IOException { method readPayloadInfo (line 238) | private void readPayloadInfo(InputStream in) throws IOException { method setBinaryPayload (line 280) | public void setBinaryPayload(byte[] payload) { method setFin (line 286) | public void setFin(boolean fin) { method setMaskingKey (line 290) | public void setMaskingKey(byte[] maskingKey) { method setOpCode (line 297) | public void setOpCode(OpCode opcode) { method setTextPayload (line 301) | public void setTextPayload(String payload) throws CharacterCodingExcep... method setUnmasked (line 309) | public void setUnmasked() { method toString (line 313) | @Override method write (line 326) | public void write(OutputStream out) throws IOException { FILE: websocket/src/main/java/org/nanohttpd/samples/websockets/DebugWebSocketServer.java class DebugWebSocketServer (line 49) | public class DebugWebSocketServer extends NanoWSD { method DebugWebSocketServer (line 58) | public DebugWebSocketServer(int port, boolean debug) { method openWebSocket (line 63) | @Override class DebugWebSocket (line 68) | private static class DebugWebSocket extends WebSocket { method DebugWebSocket (line 72) | public DebugWebSocket(DebugWebSocketServer server, IHTTPSession hand... method onOpen (line 77) | @Override method onClose (line 81) | @Override method onMessage (line 89) | @Override method onPong (line 99) | @Override method onException (line 106) | @Override method debugFrameReceived (line 111) | @Override method debugFrameSent (line 118) | @Override FILE: websocket/src/main/java/org/nanohttpd/samples/websockets/EchoSocketSample.java class EchoSocketSample (line 40) | public class EchoSocketSample { method main (line 42) | public static void main(String[] args) throws IOException { FILE: websocket/src/test/java/org/nanohttpd/junit/protocols/websockets/EchoWebSocketsTest.java class EchoWebSocketsTest (line 55) | public class EchoWebSocketsTest { method setUp (line 59) | @BeforeClass method tearDown (line 65) | @AfterClass method testDirectoryArgument (line 70) | @Test method testWebsocketClient (line 100) | @Test method createString (line 132) | private String createString(int i) { FILE: websocket/src/test/java/org/nanohttpd/junit/protocols/websockets/SimpleEchoSocket.java class SimpleEchoSocket (line 52) | @WebSocket(maxTextMessageSize = 64 * 1024) method SimpleEchoSocket (line 61) | public SimpleEchoSocket() { method awaitClose (line 65) | public boolean awaitClose(int duration, TimeUnit unit) throws Interrup... method getReceivedMessages (line 69) | public List getReceivedMessages() { method getToSendMessages (line 73) | public List getToSendMessages() { method onClose (line 77) | @OnWebSocketClose method onConnect (line 83) | @OnWebSocketConnect method onMessage (line 99) | @OnWebSocketMessage FILE: websocket/src/test/java/org/nanohttpd/junit/protocols/websockets/WebSocketResponseHandlerTest.java class WebSocketResponseHandlerTest (line 65) | @RunWith(MockitoJUnitRunner.class) class MockedWSD (line 75) | private static class MockedWSD extends NanoWSD { method MockedWSD (line 77) | public MockedWSD(int port) { method MockedWSD (line 81) | public MockedWSD(String hostname, int port) { method initialize (line 86) | public void initialize() { method openWebSocket (line 99) | @Override method setUp (line 126) | @Before method testConnectionHeaderHandlesKeepAlive_FixingFirefoxConnectIssue (line 147) | @Test method testHandshakeReturnsResponseWithExpectedHeaders (line 155) | @Test method testMissingKeyReturnsErrorResponse (line 165) | @Test method testWrongConnectionHeaderReturnsNullResponse (line 175) | @Test method testWrongUpgradeHeaderReturnsNullResponse (line 182) | @Test method testWrongWebsocketVersionReturnsErrorResponse (line 189) | @Test method testSetMaskingKeyThrowsExceptionMaskingKeyLengthIsNotFour (line 199) | @Test method testIsMasked (line 214) | @Test method testWriteWhenNotMasked (line 224) | @Test method testWriteWhenMasked (line 246) | @Test method testWriteWhenNotMaskedPayloadLengthGreaterThan125 (line 278) | @Test method testWriteWhenMaskedPayloadLengthGreaterThan125 (line 297) | @Test method testWriteWhenNotMaskedPayloadLengthGreaterThan65535 (line 322) | @Test