- WithUri<Optional<Key>> redirectTo(String uri);
- WithUri<Optional<Key>> from(File file);
- Lengthed<WithUri<Optional<Key>>> from(InputStream inputStream);
+ WithUri redirectTo(String uri);
+ WithUri from(File file);
+ WithLength from(InputStream inputStream);
+
+ interface WithLength {
+
+ WithUri length(long length);
+
+ }
+
+ interface WithUri {
+
+ Executable<Optional<Key>> uri(String uri);
+
+ }