Arjen Poutsma
0033eb4ed6
Polishing external contribution
...
- Removed duplicate Client in types names.
- Removed buffering in favor of OutputStream to
Flow.Publisher<ByteBuffer> bridge.
- Made request and types package private.
- Various other small improvements.
Closes gh-30478
3 years ago
Marten Deinum
2ca8dd2faa
HttpClient based ClientHttpRequestFactory
...
As JDK17 is now the baseline it is possible to use the
HttpClient provided by Java.
3 years ago
rstoyanchev
91eb2be44c
Remove no longer supported protected methods
...
Closes gh-26721
3 years ago
Juergen Hoeller
6526e79eea
Polishing
3 years ago
rstoyanchev
11a416156b
Use ResolvableType to create WebDataBinder
...
This provides more flexibility to pass a targetType even if
a MethodParameter is not available.
See gh-26721
3 years ago
Juergen Hoeller
062d701ae1
Consistently use mutable ArrayList for modulesToInstall vs modules
...
Closes gh-30751
3 years ago
Sam Brannen
f86a69ebfb
Update copyright headers and polish
3 years ago
Sébastien Deleuze
81f1edbaf2
Change InvocableHandlerMethod#invokeSuspendingFunction return type
...
This commits changes the return type from Publisher<?> to
Object in order to avoid potential compatibility issues when
the Reactive Streams dependency is not in the classpath.
Closes gh-30716
3 years ago
Sam Brannen
3d33d2baa9
Polish contribution
3 years ago
Xiu Hong Kooi
3745224646
Remove redundant assertion in ReactorServerHttpResponse constructor
...
See gh-30686
Closes gh-30696
3 years ago
rstoyanchev
d37d6688d8
WebFlux constructs model attribute via DataBinder
...
See gh-26721
3 years ago
rstoyanchev
ea398d7b7e
Support constructing target object in DataBinder
...
See gh-26721
3 years ago
rstoyanchev
40bf923d7d
Polishing in MultipartFileArgumentResolver
...
Closes gh-30728
3 years ago
Olga Maciaszek-Sharma
e69a1d22f9
Add MultipartFile support to HTTP interface client
...
See gh-30728
3 years ago
Sébastien Deleuze
f06cf21341
Support Kotlin parameter default values in handler methods
...
This commit adds support for Kotlin parameter default values
in handler methods. It allows to write:
@RequestParam value: String = "default"
as an alternative to:
@RequestParam(defaultValue = "default") value: String
Both Spring MVC and WebFlux are supported, including on
suspending functions.
Closes gh-21139
3 years ago
Johnny Lim
271f2dc665
Polish
...
This commit polishes a bit.
Closes gh-30691
3 years ago
Sam Brannen
06b6c4bcf9
Update copyright headers
3 years ago
Juergen Hoeller
adcdefce43
Upgrade to Jetty 12.0.0.beta2
3 years ago
Sébastien Deleuze
26f006509f
Polish CoWebFilter javadoc
3 years ago
rstoyanchev
b98c1ec36a
Apply default value in case of null after conversion
...
Closes gh-29550
3 years ago
Sam Brannen
a2072de391
Update copyright headers
3 years ago
Juergen Hoeller
c30f6aa427
Polishing
3 years ago
Juergen Hoeller
c276e5b679
Consistent use of 6.1 as generational version number
3 years ago
Juergen Hoeller
f00a8cb3a3
Remove ServerWebExchange dependency in ServerRequestObservationContext
...
Avoiding cycle between http.server and web.server packages.
See gh-30013
3 years ago
Juergen Hoeller
220995b830
Move HandlerMethodValidator to web.method.annotation package
...
Avoiding cycle between web.method.support and web.method.annotation packages.
See gh-29825
3 years ago
rstoyanchev
dcba9475ba
Allow custom ProblemDetail in ErrorResponse.Builder
...
Closes gh-30568
3 years ago
rstoyanchev
2e43412a82
Polishing in DefaultErrorResponseBuilder
...
Closes gh-30566
3 years ago
rstoyanchev
48861b67dd
Add "title" message code to ErrorResponse.Builder
...
See gh-30566
3 years ago
rstoyanchev
61eaa9333b
Polishing in ErrorResponse
...
See gh-30566
3 years ago
rstoyanchev
9c7b5cb3f5
Add ProblemDetail "type" message code
...
See gh-30566
3 years ago
Arjen Poutsma
e3c602c43a
Polishing
...
Restore thread interrupted status in JettyClientHttpRequest
3 years ago
Arjen Poutsma
5547361d18
Polishing
...
Store status code as HttpStatusCode instead of Object.
3 years ago
Arjen Poutsma
a73ad52a8a
Clarify removal of ResponseEntity::getStatusCodeValue
3 years ago
Juergen Hoeller
93345de687
Consistent Locale exposure for Bean Validation message assertions
...
See gh-29825
See gh-30198
3 years ago
Juergen Hoeller
bbf3c6ecac
Upgrade to Jackson 2.15
...
Closes gh-30665
3 years ago
rstoyanchev
85d81024a4
Add MethodParameter[] input to MethodValidationAdapter
...
This allows re-use of existing MethodParameter instances from controller
methods with cached metadata, and also ensures additional capabilities
such as looking up parameter annotations on interfaces.
See gh-29825
3 years ago
Sam Brannen
ed74b04520
Move web-related test for BeanUtilsRuntimeHints to spring-web
...
The dependency on spring-web from spring-beans makes it impossible to
import the projects in Eclipse IDE due to cycles between projects.
This commit therefore moves the web-related test for
BeanUtilsRuntimeHints to spring-web.
See gh-30491
3 years ago
rstoyanchev
1e3161b161
Expose MethodParameter in MissingServletRequestParameterException
...
See gh-26219
3 years ago
rstoyanchev
96895c7759
Polishing in MethodArgumentNotValidException
...
See gh-30198
3 years ago
rstoyanchev
96c494c6ad
Update error format in MethodArgumentNotValidException
...
1. Remove list markers (those can be provided in message).
2. Use ", and " between errors for readability.
3. Remove single quotes around errors.
4. If MessageSource is provided, use resolved message as is since in
that case applications have full control over each message.
Closes gh-30198
3 years ago
Sébastien Deleuze
fe7f8e2de5
Polish CoWebFilter
3 years ago
Rossen Stoyanchev
bd054a4918
Add method validation to Spring MVC
...
See gh-29825
3 years ago
Arjen Poutsma
ce5189a0a0
Default ServerWebExchange::cleanupMultipart implementation
...
This commit provided a default implementation for ServerWebExchange::cleanupMultipart.
See gh-30590
3 years ago
Arjen Poutsma
d7970e4ab8
Support JAXBElement in Jaxb2XmlEncoder
...
This commit introduces support for JAXBElements in the Jaxb2XmlEncoder.
Closes gh-30552
3 years ago
Arjen Poutsma
c1fe57135e
Clean multipart up only when data is read
...
This commit ensures that any storage used for multipart handling only
gets cleaned up if multipart data is actually retrieved via
ServerWebExchange::getMultipartData.
Closes gh-30590
3 years ago
Sam Brannen
dfbed616ba
Update copyright headers
3 years ago
Sam Brannen
f2ae106c32
Update deprecation Javadoc regarding "for removal in 6.2"
...
See gh-30608
3 years ago
Arjen Poutsma
df7223f39c
Remove APIs marked for removal
...
See gh-30604
3 years ago
Sam Brannen
b9e972c248
Polishing
3 years ago
Juergen Hoeller
8c6287ef7b
Expose parameter/field name for non-JavaBeans type conversion
...
Supports name-bound PropertyEditor registrations on data classes.
Includes consistent support for field-aware method parameters.
Closes gh-28284
3 years ago