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

Commit d83c37e

Browse files
committed
Update README.md
1 parent 3caf771 commit d83c37e

File tree

1 file changed

+43
-6
lines changed

1 file changed

+43
-6
lines changed

README.md

Lines changed: 43 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,45 @@
1-
[![master](https://jitpack.io/v/com.kttdevelopment/simplehttpserver.svg)](https://jitpack.io/#com.kttdevelopment/simplehttpserver)
2-
[![master](https://jitci.com/gh/Ktt-Development/simplehttpserver/svg)](https://jitci.com/gh/Ktt-Development/simplehttpserver)
3-
[![License: GPL v2](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
1+
# SimpleHttpServer
2+
[![watchers](https://img.shields.io/github/watchers/ktt-development/simplehttpserver?color=5555ff&label=watchers&style=flat-square)](https://github.com/Ktt-Development/simplehttpserver/watchers)
3+
[![stars](https://img.shields.io/github/stars/Ktt-Development/simplehttpserver?color=5555ff&style=flat-square)](https://github.com/Ktt-Development/simplehttpserver/stargazers)
4+
[![forks](https://img.shields.io/github/forks/Ktt-Development/simplehttpserver?color=5555ff&style=flat-square)](https://github.com/Ktt-Development/simplehttpserver/network/members)
5+
[![issues](https://img.shields.io/github/issues/Ktt-Development/simplehttpserver?color=ffaa00&style=flat-square)](https://github.com/Ktt-Development/simplehttpserver/issues)
6+
[![pull](https://img.shields.io/github/issues-pr/ktt-development/simplehttpserver?color=ff55ff&style=flat-square)](https://github.com/Ktt-Development/simplehttpserver/pulls)
7+
[![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)
48

5-
# ktt.lib.httpserver
6-
Enhanced version of the the default Http Server
9+
[![jitpack](https://jitpack.io/v/com.kttdevelopment/simplehttpserver.svg?style=flat-square)](https://jitpack.io/#com.kttdevelopment/simplehttpserver)
10+
[![jitci](https://jitci.com/gh/Ktt-Development/simplehttpserver/svg?style=flat-square)](https://jitci.com/gh/Ktt-Development/simplehttpserver)
11+
[![version](https://img.shields.io/github/v/release/ktt-development/simplehttpserver?color=ff5555&include_prereleases&style=flat-square)](https://github.com/Ktt-Development/simplehttpserver/releases)
12+
[![downloads](https://img.shields.io/github/downloads/ktt-development/simplehttpserver/total?color=ff5555&style=flat-square)](https://github.com/Ktt-Development/simplehttpserver/releases)
713

8-
compiled builds on site
14+
Based on the java sun Http Server. Complicated features made easy.
15+
16+
## New Http Server Methods
17+
##### Temporary Contexts
18+
Handlers that will process a single request before removing itself. Useful for single use download links or image hosting.
19+
20+
##### Context Retrieval
21+
Get the contexts that the server has loaded (why wasn't this already a feature?).
22+
23+
## New Exchange Methods
24+
##### HTTP GET
25+
Get requests are parsed into a hashmap.
26+
##### HTTP POST
27+
Post requests are parsed into a hashmap (`multipart/form-data` as well!).
28+
29+
##Http Handlers
30+
##### Redirect Handler
31+
A simple handler to redirect links without leaving a mark in the history.
32+
##### Predicate Handler
33+
A simple handler to handle requests based on a predicate.
34+
##### Root Handler
35+
A handler to help process homepage and 404 requests.
36+
##### File Handler
37+
Host files, set their contexts, control their output, host directories and support for file walking,
38+
39+
## New Features
40+
##### Constants
41+
Static variables for HTTP codes and methods.
42+
##### Http Session
43+
Keep track of the user across different exchanges.
44+
##### Cookies
45+
Get and set cookies.

0 commit comments

Comments
 (0)