perwendel / spark

A simple expressive web framework for java. Spark has a kotlin DSL https://github.com/perwendel/spark-kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is sparkjava supports http2 ?

khalidmrabti opened this issue · comments

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

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

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.