132
Javalin 1.1.0 - GZIP, CORS and WebSocket improvements - Javalin: Simple REST API...
source link: https://javalin.io/news/2017/11/18/javalin-1.1.0-released.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
A lightweight Java and Kotlin web framework
Javalin 1.1.0 released
GZIP, CORS and WebSocket improvements (Nov 18, 2017)
What's Javalin? Javalin is a very lightweight Java and Kotlin web framework which focuses on simplicity and Java/Kotlin interoperability.
Read more on our landing page.
New features
- Added
enableDynamicGzip()
option to gzip any response over 1500 bytes - Added
*
as possible origin so you can doenableCorsForOrigin("*")
- Added
enableCorsForAllOrigins()
which just calls the above ^ - Added
session.send()
and differentsession.queryParam()
methods to websocketsession
object
Bugfixes
isMultipart()
now checks for any type of multipart (previously justmultipart/form-data
)
Javalin is a Java and Kotlin web framework, open sourced under the Apache 2 license | Download | About | Contact | For educators
Like Javalin?
Star us 😊
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK