Use a String instead of a Key for redirects
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / quelaton / ClientPutCommand.java
index bc8046f..231af10 100644 (file)
@@ -14,7 +14,7 @@ import net.pterodactylus.fcp.Key;
 public interface ClientPutCommand {
 
        ClientPutCommand named(String targetFilename);
-       Keyed<Optional<Key>> redirectTo(Key key);
+       Keyed<Optional<Key>> redirectTo(String uri);
        Keyed<Optional<Key>> from(File file);
        Lengthed<Keyed<Optional<Key>>> from(InputStream inputStream);