--- a/src/java/de/uapcore/lightpit/modules/LanguageModule.java Sun Dec 17 01:45:28 2017 +0100 +++ b/src/java/de/uapcore/lightpit/modules/LanguageModule.java Sat Dec 23 17:28:19 2017 +0100 @@ -35,6 +35,7 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import de.uapcore.lightpit.RequestMapping; +import de.uapcore.lightpit.ResponseType; @LightPITModule( @@ -48,7 +49,8 @@ public final class LanguageModule extends AbstractLightPITServlet { @RequestMapping(method = HttpMethod.GET) - public void handle(HttpServletRequest req, HttpServletResponse resp) { + public ResponseType handle(HttpServletRequest req, HttpServletResponse resp) { + return ResponseType.HTML_FULL; } }