rstoyanchev
2d2726b8f7
Add RequestBody resolver and minor improvements
...
Support for RequestBody arguments.
List supported arguments on HttpExchange.
Improve null handling.
See gh-28386
2022-05-03 12:42:37 +01:00
rstoyanchev
7797453f28
Refactor resolver tests
...
Extract NamedValueArgumentResolverTests.
Move form data vs query params tests into HttpRequestValues.
See gh-28386
2022-05-03 12:42:37 +01:00
rstoyanchev
2794553d2e
Add resolvers for URI, cookies, and request params
...
See gh-28386
2022-05-03 12:42:37 +01:00
rstoyanchev
f8ac5985bd
Extract base class AbstractNamedValueArgumentResolver
...
Closes gh-28395
2022-05-03 12:42:37 +01:00
rstoyanchev
d91b840d0e
Polishing and refactoring
...
See gh-28395
2022-05-03 12:42:37 +01:00
Olga Maciaszek-Sharma
38bf0776a1
Add initial RequestHeaderArgumentResolver implementation and tests.
2022-05-03 12:42:37 +01:00
Sam Brannen
0a9271e721
Suppress warning in test
2022-05-03 12:30:46 +02:00
Sam Brannen
437b35b336
Merge branch '5.3.x'
2022-05-03 12:15:45 +02:00
Sam Brannen
ed06a6de26
Convert SimpleFormController example to @Controller in reference manual
...
This change is necessary since the SimpleFormController class no longer
exists.
2022-05-03 12:03:04 +02:00
Sam Brannen
afa799b4f0
Suppress warning in test
2022-05-03 11:46:47 +02:00
Sam Brannen
f934c09211
Polish ExtendedBeanInfo
2022-05-02 17:05:25 +02:00
Arjen Poutsma
3b64529f81
Merge pull request #28236 from lxbzmy:main
...
* gh-28236:
Polish contribution & Support multiple quoted printable segments in Content-Disposition
Support multiple base64 segments in Content-Disposition
2022-04-29 12:40:53 +02:00
Arjen Poutsma
efafccde2b
Polish contribution & Support multiple quoted printable segments in Content-Disposition
...
This commit polishes the contribution for support of multiple
base64 segments, and adds supports for multiple quoted printable
segments in Content-Disposition.
Closes gh-28236
2022-04-29 12:38:42 +02:00
Alex Lei
195b622411
Support multiple base64 segments in Content-Disposition
...
See gh-28236
2022-04-29 12:36:42 +02:00
Arjen Poutsma
217117ced0
Remove Jakarta Mail dependency from spring-web
...
This commit removes the dependency that the spring-web module has on
Jakarta Mail.
In FormHttpMessageConverter, a dependency on
jakarta.mail.internet.MimeUtility was replaced by existing encoding
logic in ContentDisposition.
In StandardMultipartHttpServletRequest, a dependency on the same
MimeUtility was replaced by new quoted-printable decoding logic in
ContentDisposition.
Closes gh-28392
2022-04-28 15:39:52 +02:00
rstoyanchev
b4e6014a14
Merge branch '5.3.x' into main
2022-04-28 11:40:11 +01:00
rstoyanchev
f0d149b330
Polishing contribution
...
Closes gh-27830
2022-04-28 11:26:50 +01:00
binchoo
caaf83b8e6
Add tests for binding to a Part field
...
See gh-27830
2022-04-28 10:45:09 +01:00
rstoyanchev
b30f4d7bb7
Exposes all root causes to ExceptionHandler methods
...
Closes gh-28155
2022-04-28 04:04:57 +01:00
rstoyanchev
62ab360f64
Update HttpMethodArgumentResolver
...
Boolean return value indicates if the value was resolved or not.
See gh-28386
2022-04-27 21:21:43 +01:00
rstoyanchev
b1384ddafa
Add HttpServiceProxyFactory builder
...
See gh-28386
2022-04-27 21:21:43 +01:00
rstoyanchev
8a46e96875
Add remaining HttpExchange annotations
...
See gh-28386
2022-04-27 21:21:43 +01:00
rstoyanchev
d7ab5b4132
Refactor HttpRequestSpec to HttpRequestValues
...
HttpRequestValues is immutable and exposes a builder.
See gh-28386
2022-04-27 21:21:43 +01:00
rstoyanchev
564f8ba7a0
Update after review
...
See gh-28386
2022-04-27 21:21:43 +01:00
rstoyanchev
bb44c0e13a
Polishing
...
See gh-28386
2022-04-27 21:21:43 +01:00
rstoyanchev
4bddbd30c4
Polishing contribution
...
See gh-28386
2022-04-27 21:21:43 +01:00
Olga Maciaszek-Sharma
c2a008fc22
Add HttpMethod and PathVariable argument resolvers
...
See gh-28386
2022-04-27 21:21:43 +01:00
rstoyanchev
c418768f05
Add @HttpRequest and HttpServiceProxyFactory
...
See gh-28386
2022-04-27 21:21:43 +01:00
Stephane Nicoll
5378572b00
Clarify lambda code block methods
2022-04-26 15:13:43 +02:00
Stephane Nicoll
f64fc4baff
Generate appropriate bean registration code for scoped proxies
...
Closes gh-28383
2022-04-26 15:03:54 +02:00
Stephane Nicoll
7ea0cc3da2
Allow BeanRegistrationContributionProvider to access the BeanFactory
...
Closes gh-28384
2022-04-26 15:02:54 +02:00
Arjen Poutsma
88eac7794c
Merge branch '5.3.x'
2022-04-26 11:58:34 +02:00
Arjen Poutsma
b6b03f38d7
Updated .sdkmanrc
2022-04-26 11:54:02 +02:00
Stephane Nicoll
26054fd3d4
AOT contribution for @PersistenceContext and @PersistenceUnit
...
Closes gh-28364
2022-04-25 11:01:09 +02:00
Stephane Nicoll
10d254983f
Refine MultiStatement#toClodeBlock
...
Closes gh-28363
2022-04-25 09:13:50 +02:00
Stephane Nicoll
ccb66247ce
Merge branch '5.3.x'
2022-04-24 10:05:35 +02:00
Stephane Nicoll
46b0d7dc03
Merge pull request #28369 from izeye
...
* pr/28369:
Add Javadoc since for GraphQL constants
Closes gh-28369
2022-04-24 10:05:28 +02:00
izeye
fcf64798b5
Add Javadoc since for GraphQL constants
...
See gh-28369
2022-04-24 09:58:50 +02:00
Stephane Nicoll
b4f4fd71c9
Merge branch '5.3.x'
2022-04-24 09:57:16 +02:00
Stephane Nicoll
94ed07d9cb
Merge pull request #28372 from zhangmingqi09
...
* pr/28372:
Update copyright year of changed file
Fix github issue reference in RequestMappingHandlerMapping
Closes gh-28372
2022-04-24 09:57:02 +02:00
Stephane Nicoll
b81c62d064
Update copyright year of changed file
...
See gh-28372
2022-04-24 09:56:39 +02:00
zhangmingqi09
ca1a11acac
Fix github issue reference in RequestMappingHandlerMapping
...
See gh-28372
2022-04-24 09:55:20 +02:00
Arjen Poutsma
be7fa3aaa8
Introduce PartEvent
...
This commit introduces the PartEvent API. PartEvents are either
- FormPartEvents, representing a form field, or
- FilePartEvents, representing a file upload.
The PartEventHttpMessageReader is a HttpMessageReader that splits
multipart data into a stream of PartEvents. Form fields generate one
FormPartEvent; file uploads produce at least one FilePartEvent. The last
element that makes up a particular part will have isLast set to true.
The PartEventHttpMessageWriter is a HttpMessageWriter that writes a
Publisher<PartEvent> to a outgoing HTTP message. This writer is
particularly useful for relaying a multipart request on the server.
Closes gh-28006
2022-04-20 11:00:07 +02:00
Sam Brannen
081c6463e9
Polish Javadoc for PathVariableMapMethodArgumentResolver
2022-04-16 17:57:44 +02:00
dugenkui03
ffffa055f0
Return UnmodifiableMap in MVC PathVariableMapMethodArgumentResolver
...
See gh-28127
Closes gh-28352
2022-04-16 17:57:44 +02:00
Stephane Nicoll
f40a391916
Fix handling of reflection target name in TypeReference
...
This commit adds a `getName` to `TypeReference` that provides a way to
generate the reflection target name of a type. This typically handle
primitives (omitting the `java.lang` packages) and arrays.
Closes gh-28347
2022-04-15 11:47:25 +02:00
Stephane Nicoll
7820804bf6
Allow registration of bean factory contributors via spring.factories
...
Closes gh-28342
2022-04-14 15:11:48 +02:00
Stephane Nicoll
8b97c2dc9d
Polish
2022-04-14 14:56:08 +02:00
Stephane Nicoll
95f24c0897
Merge branch '5.3.x'
2022-04-14 14:11:41 +02:00
Stephane Nicoll
c261d40610
Merge pull request #28340 from koenpunt
...
* pr/28340:
Update copyright year of changed file
Fix method reference in Kotlin documentation
Closes gh-28340
2022-04-14 14:11:28 +02:00