Commit Graph

9 Commits

Author SHA1 Message Date
Aurora Lahtela bc4aef8b2b Add some missing javadocs to not generate warnings 2024-01-06 18:01:50 +02:00
Aurora Lahtela 7d8b797b42
Fix CompositeResolver using its own isAuthRequired method (#2124)
Fixes CompositeResolver using its own isAuthRequired method instead of the child resolver, leading NoAuthResolver to need authentication in some cases.
2021-10-11 20:24:39 +03:00
Risto Lahtela bdcd84749b Added some package-info files for javadocs 2021-03-10 11:38:48 +02:00
Rsl1122 94c9dd3f95 Username change Rsl1122 -> AuroraLS3 2021-02-13 15:16:03 +02:00
Risto Lahtela c204ce9b1b Fixed some code smells & bugs 2020-03-14 12:40:19 +02:00
Rsl1122 1ab5f3473d Refactored JSONResolvers to use the new API 2020-03-14 12:39:53 +02:00
Rsl1122 6ed6dd1f9f Refactored Resolver to use new Request class
URIPath and URIQuery were not enough info on the Request
In addition the Request supports
- WebUser
- Request Headers
- Request method (GET, POST etc)
2020-03-14 12:39:30 +02:00
Rsl1122 2736ba042a Refactored /debug page to use ResolverService
Some issues that were identified:
- Going to /debug/ makes the style requests return the debug page content
  because the /debug resolver is used
- In the future when / is to be resolved it might override a bunch of requests.
- Use of RequestTarget as incompatible with URIPath for some reason which lead to infinite
  redirect, so the attempted change was reverted before this commit.
- Some Responses are using PlanFiles to obtain a html file (SRP violation)

Rest of the pages still use the old resolution that is now deprecated.
2020-03-14 12:37:23 +02:00
Rsl1122 7f0341087e Implemented a CompositeResolver
Allows building tree-like structure for resolution
2020-03-14 12:35:05 +02:00