@@ -704,7 +704,7 @@ public interface Builder {
704704 /**
705705 * Set the value of the {@literal name} parameter.
706706 */
707- Builder name (String name );
707+ Builder name (@ Nullable String name );
708708
709709 /**
710710 * Set the value of the {@literal filename} parameter. The given
@@ -713,7 +713,7 @@ public interface Builder {
713713 * be escaped with a backslash, e.g. {@code "foo\"bar.txt"} becomes
714714 * {@code "foo\\\"bar.txt"}.
715715 */
716- Builder filename (String filename );
716+ Builder filename (@ Nullable String filename );
717717
718718 /**
719719 * Set the value of the {@code filename} that will be encoded as
@@ -724,7 +724,7 @@ public interface Builder {
724724 * <a href="https://tools.ietf.org/html/rfc7578#section-4.2">RFC 7578, Section 4.2</a>
725725 * and also RFC 5987 mention it does not apply to multipart requests.
726726 */
727- Builder filename (String filename , Charset charset );
727+ Builder filename (@ Nullable String filename , @ Nullable Charset charset );
728728
729729 /**
730730 * Set the value of the {@literal size} parameter.
@@ -733,7 +733,7 @@ public interface Builder {
733733 * to be removed in a future release.
734734 */
735735 @ Deprecated
736- Builder size (Long size );
736+ Builder size (@ Nullable Long size );
737737
738738 /**
739739 * Set the value of the {@literal creation-date} parameter.
@@ -742,7 +742,7 @@ public interface Builder {
742742 * to be removed in a future release.
743743 */
744744 @ Deprecated
745- Builder creationDate (ZonedDateTime creationDate );
745+ Builder creationDate (@ Nullable ZonedDateTime creationDate );
746746
747747 /**
748748 * Set the value of the {@literal modification-date} parameter.
@@ -751,7 +751,7 @@ public interface Builder {
751751 * to be removed in a future release.
752752 */
753753 @ Deprecated
754- Builder modificationDate (ZonedDateTime modificationDate );
754+ Builder modificationDate (@ Nullable ZonedDateTime modificationDate );
755755
756756 /**
757757 * Set the value of the {@literal read-date} parameter.
@@ -760,7 +760,7 @@ public interface Builder {
760760 * to be removed in a future release.
761761 */
762762 @ Deprecated
763- Builder readDate (ZonedDateTime readDate );
763+ Builder readDate (@ Nullable ZonedDateTime readDate );
764764
765765 /**
766766 * Build the content disposition.
0 commit comments