Skip to content

Commit 9fe69e2

Browse files
committed
Merge branch '6.2.x'
2 parents cb63383 + 68997d8 commit 9fe69e2

File tree

5 files changed

+8
-17
lines changed

5 files changed

+8
-17
lines changed

spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/AbstractAsyncReturnValueHandler.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -22,9 +22,7 @@
2222

2323
/**
2424
* Convenient base class for {@link AsyncHandlerMethodReturnValueHandler}
25-
* implementations that support only asynchronous (Future-like) return values
26-
* and merely serve as adapters of such types to Spring's
27-
* {@link org.springframework.util.concurrent.ListenableFuture ListenableFuture}.
25+
* implementations that support only asynchronous (Future-like) return values.
2826
*
2927
* @author Sebastien Deleuze
3028
* @since 4.2

spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/AsyncHandlerMethodReturnValueHandler.java

-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
/**
2525
* An extension of {@link HandlerMethodReturnValueHandler} for handling async,
2626
* Future-like return value types that support success and error callbacks.
27-
* Essentially anything that can be adapted to a
28-
* {@link org.springframework.util.concurrent.ListenableFuture ListenableFuture}.
2927
*
3028
* <p>Implementations should consider extending the convenient base class
3129
* {@link AbstractAsyncReturnValueHandler}.

spring-web/src/main/java/org/springframework/http/client/SimpleClientHttpRequestFactory.java

-5
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ public void setProxy(Proxy proxy) {
6262
/**
6363
* Set the number of bytes to write in each chunk when not buffering request
6464
* bodies locally.
65-
* <p>Note that this parameter is only used when
66-
* {@link #setBufferRequestBody(boolean) bufferRequestBody} is set to {@code false},
67-
* and the {@link org.springframework.http.HttpHeaders#getContentLength() Content-Length}
68-
* is not known in advance.
69-
* @see #setBufferRequestBody(boolean)
7065
*/
7166
public void setChunkSize(int chunkSize) {
7267
this.chunkSize = chunkSize;

spring-web/src/main/java/org/springframework/http/client/support/HttpAccessor.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -67,7 +67,7 @@ public abstract class HttpAccessor {
6767
* @see #createRequest(URI, HttpMethod)
6868
* @see SimpleClientHttpRequestFactory
6969
* @see org.springframework.http.client.HttpComponentsClientHttpRequestFactory
70-
* @see org.springframework.http.client.OkHttp3ClientHttpRequestFactory
70+
* @see org.springframework.http.client.JdkClientHttpRequestFactory
7171
*/
7272
public void setRequestFactory(ClientHttpRequestFactory requestFactory) {
7373
Assert.notNull(requestFactory, "ClientHttpRequestFactory must not be null");

spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/SockJsClient.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ private static InfoReceiver initInfoReceiver(List<Transport> transports) {
116116

117117

118118
/**
119-
* The names of HTTP headers that should be copied from the handshake headers
120-
* of each call to {@link SockJsClient#doHandshake(WebSocketHandler, WebSocketHttpHeaders, URI)}
121-
* and also used with other HTTP requests issued as part of that SockJS
122-
* connection, for example, the initial info request, XHR send or receive requests.
119+
* The names of HTTP headers that should be copied from the handshake headers of each
120+
* call to {@link SockJsClient#execute(WebSocketHandler, WebSocketHttpHeaders, URI)}
121+
* and also used with other HTTP requests issued as part of that SockJS connection,
122+
* for example, the initial info request, XHR send or receive requests.
123123
* <p>By default if this property is not set, all handshake headers are also
124124
* used for other HTTP requests. Set it if you want only a subset of handshake
125125
* headers (for example, auth headers) to be used for other HTTP requests.

0 commit comments

Comments
 (0)