projects
/
jFCPlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Follow redirects in ClientGet
[jFCPlib.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
fcp
/
quelaton
/
ClientGetCommand.java
diff --git
a/src/main/java/net/pterodactylus/fcp/quelaton/ClientGetCommand.java
b/src/main/java/net/pterodactylus/fcp/quelaton/ClientGetCommand.java
index
01f88e9
..
385506f
100644
(file)
--- a/
src/main/java/net/pterodactylus/fcp/quelaton/ClientGetCommand.java
+++ b/
src/main/java/net/pterodactylus/fcp/quelaton/ClientGetCommand.java
@@
-2,6
+2,7
@@
package net.pterodactylus.fcp.quelaton;
import java.io.InputStream;
import java.util.Optional;
import java.io.InputStream;
import java.util.Optional;
+import java.util.function.Consumer;
import net.pterodactylus.fcp.Priority;
import net.pterodactylus.fcp.Priority;
@@
-12,6
+13,7
@@
import net.pterodactylus.fcp.Priority;
*/
public interface ClientGetCommand {
*/
public interface ClientGetCommand {
+ ClientGetCommand onRedirect(Consumer<String> onRedirect);
ClientGetCommand ignoreDataStore();
ClientGetCommand dataStoreOnly();
ClientGetCommand maxSize(long maxSize);
ClientGetCommand ignoreDataStore();
ClientGetCommand dataStoreOnly();
ClientGetCommand maxSize(long maxSize);