You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return Builder from sslInfo() builder method for MockServerHttpRequest
Prior to this commit, the sslInfo() method in MockServerHttpRequest's
BaseBuilder returned void, which prevented it from being used with the
intended fluent Builder pattern.
This commit changes the return type to the builder (B) for proper method
chaining.
Closesgh-35075
Copy file name to clipboardExpand all lines: spring-web/src/testFixtures/java/org/springframework/web/testfixture/http/server/reactive/MockServerHttpRequest.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -258,7 +258,7 @@ public interface BaseBuilder<B extends BaseBuilder<B>> {
258
258
/**
259
259
* Set SSL session information and certificates.
260
260
*/
261
-
voidsslInfo(SslInfosslInfo);
261
+
BsslInfo(SslInfosslInfo);
262
262
263
263
/**
264
264
* Add one or more cookies.
@@ -458,8 +458,9 @@ public BodyBuilder localAddress(InetSocketAddress localAddress) {
0 commit comments