Skip to content
Simple spring controller using coroutines
Kotlin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src/main
.gitignore
README.md
build.gradle.kts
gradlew
gradlew.bat
settings.gradle.kts

README.md

Spring Boot example server

This project contains example Controller serving a few endpoints.

Each endpoint:

  • is delayed by a random number of milliseconds (using delay() suspending function, that's why coroutines are present)
  • returns a string: "ok" or "not ok" (depending on simple logic)

To run a server (by default uses netty on port 8087):

$ ./gradlew bootRun
You can’t perform that action at this time.