Home | History | Annotate | Download | only in markdown

Lines Matching refs:http

3 *NanoHTTPD* is a light-weight HTTP server designed for embedding in other applications, released under a Modified BSD licence.
13 We'll create a custom HTTP server project using Maven for build/dep system. This tutorial assumes you are using a Unix variant and a shell. First, install Maven and Java SDK if not already installed. Then run:
18 You should now have a HTTP file server running on <http://localhost:8080/>.
48 System.out.println( "\nRunning! Point your browers to http://localhost:8080/ \n" );
79 If it started ok, point your browser at <http://localhost:8080/> and enjoy a web server that asks your name and replies with a greeting.
94 * `/core` ? Fully functional HTTP(s) server consisting of one (1) Java file, ready to be customized/inherited for your own project
108 * Only one Java file, providing HTTP 1.1 support.
113 * Some built-in support for HEAD, POST and DELETE requests. You can easily implement/customize any HTTP method, though.
124 * Default code serves files and shows (prints on console) all HTTP parameters and headers.
144 * `--cors=http://appOne.company.com`
145 * `--cors="http://appOne.company.com, http://appTwo.company.com"`: note the double quotes so that the 2 URLs are considered part of a single argument.
165 In gradle you can use nano http the same way because gradle accesses the same central repository:
175 ### Develop your own specialized HTTP service
177 For a specialized HTTP (HTTPS) service you can use the module with artifactId *nanohttpd*.
199 ### Develop a custom HTTP file server
201 For a more classic aproach, perhaps to just create a HTTP server serving mostly service files from your disk, you can use the module with artifactId *nanohttpd-webserver*.
209 The included class *fi.iki.elonen.SimpleWebServer* is intended to be used as a starting point for your own implementation but it also can be used as is. Staring the class as is will start a http server on port 8080 and publishing the current directory.