rstoyanchev
5168e3a38b
Polishing contribution
...
Closes gh-36400
1 week ago
husseinvr97
d4893fb32f
Support defaultHtmlEscape in WebFlux
...
See gh-36400
Signed-off-by: husseinvr97 <husseinmustafabas05@gmail.com>
1 week ago
rstoyanchev
ab9895b5a9
Polishing contribution
...
Closes gh-36325
2 weeks ago
rstoyanchev
f73302a66e
Polishing contribution
...
Closes gh-36398
2 weeks ago
Martin Mois
348482b5a0
Add usePathSegment with Predicate<RequestPath>
...
See gh-36398
Signed-off-by: Martin Mois <martin.mois@gmail.com>
2 weeks ago
rstoyanchev
25bb264bd9
Polishing in ReactorNettyWebSocketClient
...
Also, remove local variables that should have been removed when
the corresponding, deprecated setters were removed in
2ed281f6a8 .
Closes gh-36370
2 weeks ago
Artem Voronin
9819e1cad5
Propagate max frame length to WebSocket session
...
This change ensures that maxFramePayloadLength from
WebsocketClientSpec is passed to ReactorNettyWebSocketSession.
Previously, the session used the default 64KB limit regardless
of client configuration, causing TooLongFrameException when
receiving larger frames from servers like Tomcat or Jetty.
See gh-36370
Signed-off-by: Artem Voronin <artem.voronin.dev@gmail.com>
2 weeks ago
Sam Brannen
04186fdf0e
Consistently refer to URLs and URIs in documentation
3 weeks ago
rstoyanchev
b83cb4a947
Make newRequest methods public
...
The methods to build a request in RestClientAdapter and WebClientAdapter
are now public to make it easier to create a custom adapter that wraps
the built-in ones and delegates for methods that can be the same.
Closes gh-36374
3 weeks ago
Sam Brannen
2ec630ef45
Remove obsolete EMPTY_GROUPS constant in InvocableHandlerMethod
...
See gh-36274
3 weeks ago
rstoyanchev
e3568a3f0a
Fix generic return type support in HttpServiceMethod
...
Closes gh-36326
1 month ago
rstoyanchev
e106fc0434
Polishing in RestClientAdapterTests and WebClientAdapterTests
1 month ago
Juergen Hoeller
9b10bb5e08
Polishing
1 month ago
Juergen Hoeller
8bf85d2596
Polishing
1 month ago
Juergen Hoeller
d291272736
Use HandlerMethod-determined validation groups
...
Closes gh-36336
1 month ago
Juergen Hoeller
bc2e89a786
Cache ResponseBody annotation presence per controller class
...
See gh-36311
1 month ago
rstoyanchev
1bb0fdda6b
Move validation group determination to ValidationAnnotationUtils
...
See gh-36274
1 month ago
rstoyanchev
78967d4bd6
Optimize version match
...
Closes gh-36276
1 month ago
rstoyanchev
1d2351c87b
Optimize single PathPattern match
...
Closes gh-36275
1 month ago
Sébastien Deleuze
bc01eeb433
Leverage JUnit 6 suspending function support
...
Closes gh-36215
2 months ago
Sébastien Deleuze
8fbd147f0b
Upgrade nullability plugin to 0.10.0
...
Closes gh-36188
2 months ago
Juergen Hoeller
1c56ec3f7e
Polishing
2 months ago
Sam Brannen
5490ba94ae
Simplify tests
2 months ago
Sam Brannen
357205723f
Simplify tests
2 months ago
Sam Brannen
7917ae53e8
Polishing
2 months ago
rstoyanchev
fe2113f5a3
Clear Netty channel attribute
...
Closes gh-36158
2 months ago
rstoyanchev
b69cbad38d
Fall back on the value type in BodyInserters if necessary
...
Closes gh-36078
2 months ago
rstoyanchev
39106b5811
Restore ApiVersionResolver contract
...
Instead of making it async and having a sync subinterface variant,
this restores ApiVersionResolver to be as it was with an async
subinterface variant.
ApiVersionStrategy, and the infrastructure invoking it, remains
async first, but also accommodates sync resolvers.
This should provide a better balance with backwards compatibility
while also accommodating async version resolution as the less
common scenario.
See gh-36084
2 months ago
rstoyanchev
2f91baa71c
Polishing in ApiVersionResolver
2 months ago
rstoyanchev
8ff89ffda2
Update contribution
...
- deprecate sync method on ApiVersionResolver
- add SyncApiVersionResolver
- refactor resolverParseAndValidateApiVersion method
See gh-36084
2 months ago
rstoyanchev
dcf5d69d94
Rename async methods
...
See gh-36084
2 months ago
rstoyanchev
7d33a87278
Polishing contribution
...
See gh-36084
2 months ago
Jonathan Kaplan
b878771dca
Update ApiVersionResolver to return Mono String
...
See gh-36084
Signed-off-by: Jonathan Kaplan <jkaplan@empty-nes.com>
2 months ago
Sam Brannen
06f0f2f317
Polishing
2 months ago
rstoyanchev
e0aa116217
Re-initialize API version in each HandlerMapping
...
Each HandlerMapping may have its own ApiVersionStrategy rules, or may not
have one at all. This change ensures independent decisions.
See gh-36059
2 months ago
rstoyanchev
a9027ddf76
Refine handling of API version errors
...
Among HandlerMapping's some may not expect an API version. This is why
those that do must be careful not to raise API validation errors if
they don't match the request.
Closes gh-36059
2 months ago
Sébastien Deleuze
6939cb90df
Add ServerRequest.bindAndAwait Kotlin extension
...
Closes gh-36092
3 months ago
Manu Sridharan
d36244ee56
Update to NullAway 0.12.15 and fix new warnings
...
Closes gh-36054
Signed-off-by: Manu Sridharan <msridhar@gmail.com>
3 months ago
木葉 Scarlet
d077e043d6
Consistently declare @Nullable on parameter in equals() implementations
...
Closes gh-36075
Signed-off-by: 木葉 Scarlet <93977077+mukjepscarlet@users.noreply.github.com>
3 months ago
Juergen Hoeller
c813577908
Consistently use DefaultParameterNameDiscoverer.getSharedInstance()
...
This includes MethodParameter resolving getParameterName() by default now.
initParameterNameDiscovery(null) can be used to suppress such resolution.
Closes gh-36024
3 months ago
Sébastien Deleuze
d4e4250bb1
Remove JavaScript/Kotlin from ScriptEngine documentation
...
Closes gh-27919
3 months ago
rstoyanchev
0eefac21c9
Polishing contribution
...
Closes gh-35758
3 months ago
Juergen Hoeller
07c0213f20
Polishing
4 months ago
John Niang
5dcb85db8d
BindingContext constructor uses given ReactiveAdapterRegistry arg
...
Closes gh-35771
Signed-off-by: John Niang <johnniang@foxmail.com>
4 months ago
rstoyanchev
4ae03ecd40
Use channelId for ReactorNettyWebSocketSession's id
...
Closes gh-35883
4 months ago
Juergen Hoeller
c6810334ca
Move extended web data binders to common support packages
...
This resolves cyclic dependencies between function and annotation-based packages.
See gh-35800
4 months ago
rstoyanchev
a9a404266c
Data binding from pathvars and headers in fn handlers
...
Closes gh-35800
4 months ago
Vincent Potucek
83bbf16e6c
Modernize java.time API usages
...
See gh-35861
Signed-off-by: Vincent Potucek <vpotucek@me.com>
4 months ago
Sébastien Deleuze
c10266e57e
Fix handling of ServerSentEvent with Jackson encoder
...
This commit fixes ServerSentEvent handling with Jackson encoder
when no Accept header is specified.
It also moves the String checks to the JSON codec level, as they do not
make sense for binary formats.
Closes gh-35872
4 months ago
Sébastien Deleuze
1b6b163f24
Polishing
4 months ago