spark-framework Questions

4

Solved

I'm building a java application with Spark framework with embedded Jetty and handlebars template engine. But when i get an 500 Internal Error, the console didn't say anything. I have added to my p...
Enteritis asked 22/7, 2016 at 13:56

1

I am tying to use a before filter to add trailing slashes as well as a before filter to handle authentication on certain endpoint. Here is my routing code: // Add filter to all requests which add...
Lattermost asked 26/2, 2018 at 17:48

2

Solved

I have noticed something in the Spark Framework. It does not match trailing slashes with a mapped route. So it considers /api/test and /api/test/ as different URIs. That's fine if there is a way t...
Orchardman asked 12/1, 2016 at 20:17
1

© 2022 - 2024 — McMap. All rights reserved.