https://github.com/humbertodias/netty-http-server
Simple Demo of a Non-Blocking Http Server using Netty.
https://github.com/humbertodias/netty-http-server
netty netty-http
Last synced: 4 months ago
JSON representation
Simple Demo of a Non-Blocking Http Server using Netty.
- Host: GitHub
- URL: https://github.com/humbertodias/netty-http-server
- Owner: humbertodias
- Created: 2019-04-30T21:17:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-01T16:24:12.000Z (about 6 years ago)
- Last Synced: 2025-03-02T02:09:05.306Z (4 months ago)
- Topics: netty, netty-http
- Language: Java
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Netty Http Server
Simple Demo of a NIO Http Server using Netty.
## Req
* Java 8+
* Maven 3+## Package
mvn package
## Run
java -DPORT=8080 -jar target/netty-http.server.jar ✘ hldias@hp /opt/dev/repository/netty-http-server master ●✚ java -DPORT=8888 -jar target/netty-http-server.jar
## Open
http://localhost:8080/
http://localhost:8080/time
http://localhost:8080/echo?p1=BBB&p2=222&p2=aaaa