Author: toad
Date: 2009-01-06 20:25:39 +0000 (Tue, 06 Jan 2009)
New Revision: 24932

Modified:
   trunk/freenet/src/freenet/clients/http/ToadletContext.java
Log:
And another one


Modified: trunk/freenet/src/freenet/clients/http/ToadletContext.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ToadletContext.java  2009-01-06 
20:25:00 UTC (rev 24931)
+++ trunk/freenet/src/freenet/clients/http/ToadletContext.java  2009-01-06 
20:25:39 UTC (rev 24932)
@@ -12,7 +12,7 @@
  * Object represents context for a single request. Is used as a token,
  * when the Toadlet wants to e.g. write a reply.
  */
-public interface ToadletContext {
+public interface ToadletContext extends LinkFixer {
 
        /**
         * Write reply headers.
@@ -85,5 +85,13 @@
        boolean doRobots();
 
        ToadletContainer getContainer();
+
+       /**
+        * Add a valid ?sessionid= to a link
+        * @param string
+        * @param string2
+        * @return
+        */
+       String fixLink(String orig);
 }
 

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to