rstoyanchev
ccbb4bdd27
PayloadMethodArgumentResolver supports Optional
...
Closes gh-28945
2 years ago
rstoyanchev
5b79a57f14
Polishing
...
See gh-28945
2 years ago
Arjen Poutsma
3e2f58cdd2
Offer restricted access to DataBuffer's ByteBuffer
...
This commit introduces DataBuffer::readableByteBuffers and
DataBuffer::writableByteBuffers, allowing restricted access to the
ByteBuffer used internally by DataBuffer implementations.
Closes gh-29943
2 years ago
Sam Brannen
97e557c886
Update copyright headers
2 years ago
Sam Brannen
ac6385025b
Polishing
2 years ago
Olga Maciaszek-Sharma
4beb05ddb3
Add native support for RSocketExchange.
...
This commit introduces new AOT processors that look for
`@RSocketExchange` annotated methods on interfaces implemented by beans
and registers reachability metadata accordingly:
* JDK proxies for the beans themselves
* invocation reflection for annotated methods
* binding reflection for arguments and return types
This allows to compile such clients to Native Images.
Closes gh-29877
2 years ago
Juergen Hoeller
4d6249811e
Explicit target ClassLoader for interface-based infrastructure proxies
...
Includes direct JDK Proxy usage instead of ProxyFactory where possible.
Closes gh-29913
2 years ago
Sam Brannen
0502d18e3d
Update copyright headers
2 years ago
Sam Brannen
c4c786596f
Migrate to Mockito.mock(T...) where feasible
2 years ago
Sam Brannen
a12c9a0430
Update copyright headers
2 years ago
Sam Brannen
8be542016b
Apply "instanceof pattern matching" in spring-jms
2 years ago
Sam Brannen
a4956dfe26
Update copyright headers
2 years ago
Sam Brannen
0415975dd1
Polish contribution and related code
2 years ago
Krzysztof Krason
afb8a0d1b1
Use new Java features (switch expressions, text blocks, new JDK methods)
...
Closes gh-29747
2 years ago
Sam Brannen
5c28b56823
Remove duplicated words in Javadoc
2 years ago
Sam Brannen
46fc28fd1a
Clean up Javadoc and source code regarding " ." typos
2 years ago
Sam Brannen
ad60164911
Update copyright headers for source code changed since August 2022
...
The changes in this commit were performed using the newly introduced
update_copyright_headers.sh script.
2 years ago
Sam Brannen
a88dbbec98
Apply project formatting rules for ternary operator
...
Discovered via RegEx: ^\s+\?
2 years ago
rstoyanchev
a3c89092e1
Log connection info in StompBrokerRelayMessageHandler
...
See gh-29287
2 years ago
rstoyanchev
98c514ecbe
Increase logging for spring-messaging tests
...
See gh-29287
2 years ago
Juergen Hoeller
459e8a1ea5
Deprecate LocalVariableTableParameterNameDiscoverer completely
...
LocalVariableTableParameterNameDiscoverer is not registered by default anymore now.
Java sources should be compiled with `-parameters` instead (available since Java 8).
Also retaining standard Java parameter names for all of Spring's Kotlin sources now.
Closes gh-29531
2 years ago
rstoyanchev
7e52b803be
Temporarily re-enable ReactorNetty2StompBrokerRelayIntegrationTests
...
To see if it still fails on the CI server as it doesn't fail locally
for me, and if it does to get details to investigate.
See gh-29287
2 years ago
Sam Brannen
7fcd1de8e3
Use AssertJ's isEmpty() instead of hasSize(0)
...
Achieved via global search-and-replace.
2 years ago
Sam Brannen
d5b0b2b1a1
User AssertJ's hasSize() for arrays
...
Achieved via global search-and-replace.
2 years ago
Sam Brannen
36f7597f25
Use AssertJ's hasSize() for collections and maps
...
Achieved via a global search-and-replace.
2 years ago
Sam Brannen
0c878d2d06
Apply additional 'instanceof pattern matching' in spring-web
...
See gh-29530
2 years ago
Arjen Poutsma
792371ac1f
Generalize Jackson version numbers
...
This commit removes specific version info from Jackson codecs and
converters, in favor of generic info or removing the version information
all together.
See gh-29508
2 years ago
Sam Brannen
abf3400c07
Use Assert.state() where appropriate
2 years ago
Sam Brannen
eb91d21ada
Polishing
2 years ago
Christoph Dreis
55b258f2de
Avoid unnecessary allocations in StompDecoder#unescape
...
Closes gh-29443
2 years ago
Sam Brannen
3438c47744
Polishing
2 years ago
rstoyanchev
aeb35663d4
Remove deprecated methods in HttpServiceProxyFactory
2 years ago
Sam Brannen
ac5eb9bfd3
Avoid String allocations with Assert.isTrue()
2 years ago
Sam Brannen
5f02323b9c
Avoid String allocations with Assert.isTrue()
2 years ago
Sam Brannen
2afcf60566
Avoid String allocations with Assert.state()
2 years ago
Sam Brannen
a281d8c3fd
Polishing
2 years ago
rstoyanchev
5aeafc0761
Fix ISE in [Http|RSocket]ServiceProxyFactory
...
Closes gh-29376
2 years ago
rstoyanchev
d4f7484252
Add Builder to RSocketServiceProxyFactory
...
RSocketServiceProxyFactory now support programmatic initialization
through a builder, while bean-style initialization is deprecated.
Closes gh-29296
2 years ago
Sébastien Deleuze
aa776e40f9
Ensure classpath checks can be evaluated at build-time
...
Closes gh-29352
2 years ago
Johnny Lim
1c1a0afbed
Use AssertJ static imports consistently in 5.3.x
...
Closes gh-29282
2 years ago
Sam Brannen
c1ff812d84
Disable flaky ReactorNetty2StompBrokerRelayIntegrationTests
...
See gh-29287
2 years ago
Violeta Georgieva
b5adae2086
Switch to Reactor Netty 2 snapshots
...
Update to Reactor BOM 2022.0.0-SNAPSHOT.
Process package changes.
Adapt to new `HttpHeaders` API.
Adapt to new cookies API.
See gh-29247
2 years ago
Sam Brannen
321092ce6f
Consistent use of @Deprecated(since = "6.0")
2 years ago
Marc Wrobel
ce49068ff9
Fix links in Javadoc and reference docs
...
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349 : this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up nohttp allowlist.lines
Closes gh-28876
2 years ago
Marc Wrobel
92a231cf91
Fix typos in Javadoc, reference docs, and code
...
Closes gh-28822
2 years ago
rstoyanchev
bbe5e91ebc
Minor change in ReactorNetty2TcpClient
...
A follow-up on recent addition of ReactorNetty2TcpClient and switch to
Netty 5 Buffer.
2 years ago
rstoyanchev
4e97776969
Polishing contribution
...
Closes gh-28715
2 years ago
Napster
d42f950a36
Pass headers to STOMP receipt callbacks
...
See gh-28715
2 years ago
rstoyanchev
3a5f550a30
Support Reactor Netty 2 / Netty 5 in spring-messaging
...
Closes gh-28847
2 years ago
Brian Clozel
2b5ca63339
Fix serialization compiler warnings with Java 18
...
As of Java 18, the serial lint warning in javac has been expanded to
check for class fields that are not marked as `Serializable`.
See https://www.oracle.com/java/technologies/javase/18all-relnotes.html#JDK-8202056
In the Spring Framework codebase, this can happen with `Map`, `Set` or
`List` attributes which are often assigned with an unmodifiable
implementation variant. Such implementations are `Serializable` but
cannot be used as field types.
This commit ensures that the following changes are applied:
* fields are marked as transient if they can't be serialized
* classes are marked as `Serializable` if this was missing
* `@SuppressWarnings("serial")` is applied where relevant
2 years ago