There was an error while loading. Please reload this page.
HTTPServerSettings settings = new HTTPServerSettings( <server_name = "WebDav Server">, <command_list = HTTPCommand.getStandardCommands()>, <resource_manager_class = StandardResourceManager.class>, <resource_root = "">, <timeout = 5>, <nb_request_max_by_tcp_connection = 100> );
Legend <description = defaultValue>
HTTPServer server = new HTTPServer(<port>, <settings>);
server.run(); // blocking call
new Thread(server).start(); // asynchronous call
HTTPServerSettings settings = new HTTPServerSettings( "WebDAV Server", HTTPCommand.getStandardCommands(), StandardResourceManager.class, "<my folder>" ); HTTPServer s = new HTTPServer(1700, settings); s.run(); // Run the server
LocalCryptedResourceManager.loadCipherCrypter(ICrypter.Algorithm.AES_ECB_PKCS5Padding); LocalCryptedResourceManager.setKey("<my password>"); HTTPServerSettings settings = new HTTPServerSettings( "WebDAV Server", HTTPCommand.getStandardCommands(), LocalCryptedResourceManager.class, "<my folder>" ); HTTPServer s = new HTTPServer(1700, settings); s.run(); // Run the server