konrad-kaminski / spring-kotlin-coroutine

Kotlin coroutine support for Spring.
448 stars 69 forks source link

Added missing HttpMethods to RouterFunctionDsl #30

Open r6q opened 6 years ago

r6q commented 6 years ago

Added missing PUT, DELETE, PATCH, OPTIONS, HEAD methods to router function, as well as and, or infixes and not operator.

Moved CoroutineServerResponse builder build() method from body builder to header builder, as building response shouldn't require to have a body, e.g. CoroutineServerResponse.noContent().build()