|
6 | 6 | [](https://github.com/Ktt-Development/simplehttpserver/releases) |
7 | 7 | [](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html) |
8 | 8 |
|
9 | | -Based on the java sun Http Server. Complicated features made easy. |
| 9 | +SimpleHttpServer is a simplified implementation of the [sun http server](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.httpserver/com/sun/net/httpserver/package-summary.html) for JDK11. This library simplifies complex operations for both the server, exchange, and handler. |
10 | 10 |
|
11 | | -## New Http Server Methods |
12 | | -### Temporary Contexts |
13 | | -Handlers that will process a single request before removing itself. Useful for single use download links or image hosting. |
| 11 | +### Setup |
| 12 | +- [Setting Up SimpleHttpServer](https://github.com/Ktt-Development/simplehttpserver/wiki/setup) |
| 13 | +- [Read the Wiki](https://github.com/Ktt-Development/simplehttpserver/wiki) |
14 | 14 |
|
15 | | -### Context Retrieval |
16 | | -Get the contexts that the server has loaded (why wasn't this already a feature?). |
| 15 | +### Documentation |
| 16 | +- [Documentation](https://www.kttdevelopment.com/simplehttpserver/docs) |
| 17 | +- [Wiki](https://github.com/Ktt-Development/simplehttpserver/wiki) |
17 | 18 |
|
18 | | -## New Exchange Methods |
19 | | -### HTTP GET |
20 | | -Get requests are parsed into a hashmap. |
21 | | -### HTTP POST |
22 | | -Post requests are parsed into a hashmap (`multipart/form-data` as well!). |
23 | | - |
24 | | -## Http Handlers |
25 | | -### SSE Handler |
26 | | -Sever sent event events made easy. |
27 | | -### Redirect Handler |
28 | | -A simple handler to redirect links without leaving a mark in the history. |
29 | | -### Predicate Handler |
30 | | -A simple handler to handle requests based on a predicate. |
31 | | -### Root Handler |
32 | | -A handler to help process homepage and 404 requests. |
33 | | -### File Handler |
34 | | -Host files, set their contexts, control their output, host directories and support for file walking. |
35 | | - |
36 | | -## New Features |
37 | | -### Constants |
38 | | -Static variables for HTTP codes and methods. |
39 | | -### Http Session |
40 | | -Keep track of the user across different exchanges. |
41 | | -### Cookies |
42 | | -Get and set cookies. |
| 19 | +### Reporting Issues |
| 20 | +Issues or suggestions can be posted [here](https://github.com/Ktt-Development/simplehttpserver/issues). |
0 commit comments