X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpage%2FFreenetRequest.kt;fp=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpage%2FFreenetRequest.kt;h=00424ff8ed9e607ea333ce599b16265d974df823;hb=3f9aed74383ed43027dad4eb9a12eec88d7c479e;hp=0000000000000000000000000000000000000000;hpb=19486ba47204d8554c04e1355dae6c113aa1e6c4;p=Sone.git diff --git a/src/main/kotlin/net/pterodactylus/sone/web/page/FreenetRequest.kt b/src/main/kotlin/net/pterodactylus/sone/web/page/FreenetRequest.kt new file mode 100644 index 0000000..00424ff --- /dev/null +++ b/src/main/kotlin/net/pterodactylus/sone/web/page/FreenetRequest.kt @@ -0,0 +1,25 @@ +/* + * Sone - FreenetRequest.java - Copyright © 2011–2019 David Roden + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package net.pterodactylus.sone.web.page + +import freenet.clients.http.* +import freenet.support.api.* +import net.pterodactylus.util.web.* +import java.net.* + +class FreenetRequest(uri: URI, method: Method, val httpRequest: HTTPRequest, val toadletContext: ToadletContext) : Request(uri, method)