1 package net.pterodactylus.sone.web.page
3 import freenet.clients.http.*
5 import freenet.support.api.*
6 import net.pterodactylus.sone.core.*
7 import net.pterodactylus.sone.web.*
8 import net.pterodactylus.util.web.*
11 class SoneRequest(uri: URI, method: Method, httpRequest: HTTPRequest, toadletContext: ToadletContext, l10n: BaseL10n, sessionManager: SessionManager,
13 val webInterface: WebInterface
14 ) : FreenetRequest(uri, method, httpRequest, toadletContext, l10n, sessionManager)
16 fun FreenetRequest.toSoneRequest(core: Core, webInterface: WebInterface) = SoneRequest(uri, method, httpRequest, toadletContext, l10n, sessionManager, core, webInterface)