gradle bootRun
# or customize timeout (default is 5 seconds)
gradle clean build
bash build/libs/*.jar -Dargs=300
java -jar build/libs/*.jar -Dargs=30
porrts are allocated:
5
# cleanup
export listen="$(netstat -AaLlnW|grep -E '3000|8000|8080|8888|9999' | wc -l)"
if [ "$listen" -ne "0" ]; then echo "seems like java is allocating $listen ports"; fi;
killall -9 java
links:
- project page
- webflux sse
- spring 5 functional web framework
- spring 5.0 M5 using
- Spring 5 functional light reactive handlers
- Mono
- Flux
gradle bootRun
http :8080/1
http --stream :8080
http :8888/123
http --stream :8888
http --stream :8888/blabla
# using curl
curl http://localhost:8080/1 | pj
curl http://localhost:8080/