Don’t check identifiers twice
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / quelaton / ClientPutCommand.java
index bc8046f..53eccef 100644 (file)
@@ -14,8 +14,8 @@ import net.pterodactylus.fcp.Key;
 public interface ClientPutCommand {
 
        ClientPutCommand named(String targetFilename);
-       Keyed<Optional<Key>> redirectTo(Key key);
-       Keyed<Optional<Key>> from(File file);
-       Lengthed<Keyed<Optional<Key>>> from(InputStream inputStream);
+       WithUri<Optional<Key>> redirectTo(String uri);
+       WithUri<Optional<Key>> from(File file);
+       WithLength<WithUri<Optional<Key>>> from(InputStream inputStream);
 
 }