Sam Brannen
40f1cf67bd
Polish DefaultClientResponseTests and suppress "unchecked" warnings
2 years ago
Sébastien Deleuze
5fd356e44f
Remove outdated `@Suppress("DEPRECATION")` annotations
...
See gh-31127
2 years ago
Sébastien Deleuze
12a01a680b
Document some non-nullable Kotlin extensions can throw NoSuchElementException
...
Closes gh-31189
2 years ago
Sam Brannen
c3a0022c9e
Polish DefaultClientResponseTests and suppress "unchecked" warnings
2 years ago
rstoyanchev
a6b567a630
Polishing
2 years ago
rstoyanchev
7a516170ef
WebClientResponseException supports decoding empty content
...
Closes gh-31179
2 years ago
Sébastien Deleuze
b0aa004d9d
Propagate CoroutineContext in CoWebFilter
...
This provides an elegant and dynamic way to customize the
CoroutineContext in WebFlux with the annotation programming
model.
Closes gh-27522
2 years ago
Sam Brannen
fad70aa252
Update copyright headers
2 years ago
rstoyanchev
b068742ec8
Support method validation for Lists in WebMvc and WebFlux
...
Closes gh-31120
2 years ago
Arjen Poutsma
6597727c86
Upgrade to Jetty 12
...
This commit upgrades Spring Framework to Jetty 12.0.1, and Reactive HTTP
Client 4.0.0.
Closes gh-30698
2 years ago
Sébastien Deleuze
81607238ce
Use consistently `@since 6.1`
2 years ago
rstoyanchev
32f128b6ba
Add create static factory method to WebClientAdapter
...
Closes gh-31120
2 years ago
Sébastien Deleuze
38392233ba
Add context function to CoRouterFunctionDsl
...
This new function allows to customize the CoroutineContext
potentially dynamically based on the incoming
ServerRequest.
Closes gh-27010
2 years ago
Sébastien Deleuze
d47c7f9552
Propagate CoroutineContext in coRouter filters
...
Closes gh-26977
2 years ago
Sébastien Deleuze
bcf11e8919
Replace Reactive awaitSingle() usages by the Mono variant
...
Closes gh-31127
2 years ago
Arjen Poutsma
76c032cc11
Schedule blocking ResourceHttpMessageWriter operations on bounded elastic
...
This commit schedules blocking I/O operations on the bounded elastic
scheduler, which includes retrieving the content length and writing
the resource (region).
Closes gh-30928
2 years ago
Sam Brannen
e737e6d9ba
Update copyright headers
2 years ago
Sébastien Deleuze
21613eabf1
Properly use Reactor Netty 2 in AbstractHttpHandlerIntegrationTests
...
Closes gh-31095
2 years ago
Sébastien Deleuze
e6565c600a
Refine type conversion errors in ModelAttributeMethodProcessor
...
This commit turns TypeMismatchException thrown in
ModelAttributeMethodArgumentResolver#createAttribute into
proper ServerWebInputException in order get HTTP response
with 400 Bad Request status code instead of 500 Internal error.
Closes gh-31045
2 years ago
Sébastien Deleuze
8af9648c43
Polish ModelAttributeMethodArgumentResolverTests
2 years ago
Arjen Poutsma
34477b4f03
Schedule FreeMarker template lookup on bounded elastic scheduler
...
This commit makes sure that FreeMarker template lookups, which
potentially block, are scheduled on the bounded elastic scheduler.
Closes gh-30903
2 years ago
Sébastien Deleuze
02d003127f
Move ServerWebExchange Kotlin extensions
...
This commit moves ServerWebExchange Kotlin extensions
where they belong: in the spring-web module with the
org.springframework.web.server package, like
ServerWebExchange itself.
The extensions in the wrong location are deprecated
and semi-automated migration to the new variants is
made possible via @Deprecated + ReplaceWith(...).
Some tests have been added as well.
Closes gh-31046
2 years ago
Sam Brannen
59b78cc513
Polishing
2 years ago
rstoyanchev
6630b16771
Polishing
...
See gh-30980
2 years ago
Olga MaciaszekSharma
d1d5b54f12
Support @HttpExchange for server-side handling
...
See gh-30980
2 years ago
Juergen Hoeller
d250a5155a
Consistent dependency declarations
2 years ago
Juergen Hoeller
ae279eaced
Polishing
2 years ago
Sam Brannen
f00756bc7c
Update copyright headers
2 years ago
rstoyanchev
78d0dbb519
Ensure handling of 404 errors for static resources
...
Closes gh-30930
2 years ago
Rossen Stoyanchev
85704c890e
Use DispatchExceptionHandler for handler errors
...
See gh-30930
2 years ago
Juergen Hoeller
2573ba4a50
Polishing
2 years ago
Juergen Hoeller
bbde68c49e
Polishing
3 years ago
rstoyanchev
37eaded63d
Support BindParam annotation
...
Allows customizing the name of the request parameter to bind a
constructor parameter to.
Closes gh-30947
3 years ago
Juergen Hoeller
2f33e77ab4
Consistent equals/hashCode style (and related polishing)
3 years ago
Sam Brannen
a34f9fa66c
Update copyright headers
3 years ago
Sam Brannen
01ceee8de5
Polishing
3 years ago
Johnny Lim
be8bfad3af
Enable KotlinScriptTemplateTests in Spring WebFlux on Java 20
...
See gh-29249
Closes gh-30896
3 years ago
Sam Brannen
70cf754a2f
Suppress warnings in tests
3 years ago
Sam Brannen
e6d360c1c6
Polishing
3 years ago
rstoyanchev
3c9cfa8a0f
Revise order of method declarations in WebFluxConfigurer
...
See gh-30678
3 years ago
rstoyanchev
b016f385e1
Add BlockingExecutionConfigurer to WebFlux config
...
Closes gh-30678
3 years ago
rstoyanchev
74972fb751
Add updateModel to BindingContext
...
The method includes logic that is currently in
ViewResolutionResultHandler but fits well in BindingContext and also
includes the call to saveModel method from the InitBinderBindingContext
subclass, which was called too early until now from
RequestMappingHandlerAdapter before the model has been fully updated.
This mirrors a similar method in ModelFactory on the Spring MVC side
which also combines those two tasks.
Closes gh-30821
3 years ago
rstoyanchev
20afa3265a
Encapsulate full path initialization
3 years ago
Arjen Poutsma
d04d7b2e57
Add request binding to functional endpoints
...
This commit introduces form binding to ServerRequest in both WebMVC.fn
and WebFlux.fn's, in the form of a bind(Class) method.
Closes gh-25943
3 years ago
rstoyanchev
a3e37597aa
Add ReactiveHttpRequestValues
...
Separate collection and handling of reactive request values into a
subclass of HttpRequestValues.
Closes gh-30117
3 years ago
Rossen Stoyanchev
22376c2efa
Polishing
...
See gh-30117
3 years ago
Rossen Stoyanchev
068dc7db28
Remove use of TestHttpClientAdapter
...
Now that HttpClientAdapter is deprecated and replaced by HttpExchangeAdapter
and ReactorHttpExchangeAdapter, our tests should use the new contracts.
See gh-30117
3 years ago
Sébastien Deleuze
b3de1b8e95
Use consistently *KotlinTests naming for Kotlin tests
...
Closes gh-30837
3 years ago
Sébastien Deleuze
fb17e283d1
Replace @link by proper KDoc class reference in tests
...
Closes gh-30836
3 years ago
Olga MaciaszekSharma
268f3c853e
Add RestTemplate support for HTTP interface client
...
See gh-30117
3 years ago