* {@inheritDoc}
*/
@Override
- public Response handleRequest(FreenetRequest request, Response response) throws IOException {
+ public final Response handleRequest(FreenetRequest request, Response response) throws IOException {
String redirectTarget = getRedirectTarget(request);
if (redirectTarget != null) {
return new RedirectResponse(redirectTarget);
"href" to "http://${request.httpRequest.getHeader("host")}/Sone/OpenSearch.xml"
))
- override public fun processTemplate(freenetRequest: FreenetRequest, templateContext: TemplateContext) {
+ final override public fun processTemplate(freenetRequest: FreenetRequest, templateContext: TemplateContext) {
super.processTemplate(freenetRequest, templateContext)
templateContext["preferences"] = core.preferences
templateContext["currentSone"] = getCurrentSone(freenetRequest.toadletContext)