@@ -704,7 +704,7 @@ public interface Builder {
704
704
/**
705
705
* Set the value of the {@literal name} parameter.
706
706
*/
707
- Builder name (String name );
707
+ Builder name (@ Nullable String name );
708
708
709
709
/**
710
710
* Set the value of the {@literal filename} parameter. The given
@@ -713,7 +713,7 @@ public interface Builder {
713
713
* be escaped with a backslash, e.g. {@code "foo\"bar.txt"} becomes
714
714
* {@code "foo\\\"bar.txt"}.
715
715
*/
716
- Builder filename (String filename );
716
+ Builder filename (@ Nullable String filename );
717
717
718
718
/**
719
719
* Set the value of the {@code filename} that will be encoded as
@@ -724,7 +724,7 @@ public interface Builder {
724
724
* <a href="https://tools.ietf.org/html/rfc7578#section-4.2">RFC 7578, Section 4.2</a>
725
725
* and also RFC 5987 mention it does not apply to multipart requests.
726
726
*/
727
- Builder filename (String filename , Charset charset );
727
+ Builder filename (@ Nullable String filename , @ Nullable Charset charset );
728
728
729
729
/**
730
730
* Set the value of the {@literal size} parameter.
@@ -733,7 +733,7 @@ public interface Builder {
733
733
* to be removed in a future release.
734
734
*/
735
735
@ Deprecated
736
- Builder size (Long size );
736
+ Builder size (@ Nullable Long size );
737
737
738
738
/**
739
739
* Set the value of the {@literal creation-date} parameter.
@@ -742,7 +742,7 @@ public interface Builder {
742
742
* to be removed in a future release.
743
743
*/
744
744
@ Deprecated
745
- Builder creationDate (ZonedDateTime creationDate );
745
+ Builder creationDate (@ Nullable ZonedDateTime creationDate );
746
746
747
747
/**
748
748
* Set the value of the {@literal modification-date} parameter.
@@ -751,7 +751,7 @@ public interface Builder {
751
751
* to be removed in a future release.
752
752
*/
753
753
@ Deprecated
754
- Builder modificationDate (ZonedDateTime modificationDate );
754
+ Builder modificationDate (@ Nullable ZonedDateTime modificationDate );
755
755
756
756
/**
757
757
* Set the value of the {@literal read-date} parameter.
@@ -760,7 +760,7 @@ public interface Builder {
760
760
* to be removed in a future release.
761
761
*/
762
762
@ Deprecated
763
- Builder readDate (ZonedDateTime readDate );
763
+ Builder readDate (@ Nullable ZonedDateTime readDate );
764
764
765
765
/**
766
766
* Build the content disposition.
0 commit comments