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
Fix complexity for DefaultHttpHeaderMapper (#2881)
* Fix complexity for DefaultHttpHeaderMapper
* Deprecate `DefaultHttpHeaderMapper` constants which are fully
Spring Web `HttpHeaders` constants
* Introduce lowercase constants for `getHttpHeader()` switch
* Reuse `HttpHeaders` API as much as possible
* Simplify logic in some methods to break them to smaller methods
* * Remove Java Streams from critical paths
* Rework `setHttpHeader()` for `switch`
* * Use `ObjectUtils.toObjectArray()` to simplify complexity
* * Fix complexity in `setAccept()`, `setAcceptCharset()`, `setAllow()`
& `setIfNoneMatch()` using newly extracted `valueToCollection()`
Copy file name to clipboardExpand all lines: spring-integration-http/src/main/java/org/springframework/integration/http/outbound/AbstractHttpRequestExecutingMessageHandler.java
+2-8
Original file line number
Diff line number
Diff line change
@@ -188,9 +188,7 @@ public void setExpectReply(boolean expectReply) {
188
188
* be returned as a payload of the reply Message.
189
189
* To take advantage of the HttpMessageConverters
190
190
* registered on this adapter, provide a different type).
191
-
*
192
191
* @param expectedResponseType The expected type.
193
-
*
194
192
* Also see {@link #setExpectedResponseTypeExpression(Expression)}
Copy file name to clipboardExpand all lines: spring-integration-http/src/main/java/org/springframework/integration/http/outbound/HttpRequestExecutingMessageHandler.java
0 commit comments