perwendel / spark

A simple expressive web framework for java. Spark has a kotlin DSL https://github.com/perwendel/spark-kotlin
Apache License 2.0
9.63k stars 1.56k forks source link

is sparkjava supports http2 ? #1242

Open khalidmrabti opened 3 years ago

khalidmrabti commented 3 years ago

hello spark, my question is simple. is sparkjava supports http2 ? if yes, then how to enable it? i searched for the answer and didnt find any information in the documentation or the source code thanks in advance

Typografikon commented 2 years ago

There is already some work on http2, see #1183 You can also vote for including this feature in Spark 3.0 release

lepe commented 1 year ago

You can test this feature in the unofficial build. Be aware that in most browsers you also need to enable HTTPS in order to work. So far works great.