Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

Commit 006801f

Browse files
committed
Update README.md
1 parent 58ae673 commit 006801f

File tree

1 file changed

+9
-31
lines changed

1 file changed

+9
-31
lines changed

README.md

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,15 @@
66
[![downloads](https://img.shields.io/github/downloads/ktt-development/simplehttpserver/total?color=ff5555&style=flat-square)](https://github.com/Ktt-Development/simplehttpserver/releases)
77
[![license](https://img.shields.io/github/license/Ktt-Development/simplehttpserver?color=ff5555&style=flat-square)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
88

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.
1010

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)
1414

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)
1718

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

Comments
 (0)