Sébastien Deleuze
2b76a12b86
Refine build time init configuration
...
For Spring MVC and RestTemplate.
See gh-28518
2 years ago
Stephane Nicoll
0992f855e6
Add base infra for Web controllers hints
...
See gh-28518
2 years ago
Arjen Poutsma
c278d8c656
Do not ignore charset in Jaxb2XmlDecoder
...
This commit makes sure that the charset, if defined in the mimetype, is
used when decoding XML to JAXB2 objects.
Closes gh-28599
2 years ago
Sam Brannen
74d1be9bd8
Remove obsolete references to @Required
...
Since the @Required annotation was removed in a previous 6.0 milestone,
this commit removes all remaining references to it.
Closes gh-28600
2 years ago
rstoyanchev
2269c0063a
Restore base class of MissingServletRequestPartException
...
Effectively reverts commit #ad2722.
Closes gh-28455
2 years ago
rstoyanchev
cc56da7735
Support default methods in @HttpExchange interface
...
Closes gh-28491
2 years ago
Sam Brannen
1beb7068f6
Use new AssertJ exception assertions
2 years ago
Sam Brannen
720261db26
Use List.of() and Set.of() where feasible
3 years ago
Sam Brannen
b629487b44
Polish Javadoc for MockFilterChain
3 years ago
Sam Brannen
a221835558
Throw IllegalStateException for invalid port in HierarchicalUriComponents
...
Prior to this commit, getPort() in HierarchicalUriComponents threw a
NumberFormatException for an invalid port supplied as a String, which
was inconsistent with exception handling elsewhere in the class as well
as within the same method.
This commit introduces a try-catch block in getPort() to consistently
throw IllegalStateExceptions for ports that cannot be parsed.
Closes gh-28521
3 years ago
Sam Brannen
aa06a09dee
Polishing
3 years ago
rstoyanchev
ff890bc1cc
Support custom HTTP method for @HttpExchange
...
Closes gh-28504
3 years ago
rstoyanchev
48c1746693
Refactor HttpServiceProxyFactory for use as a bean
...
Closes gh-28505
3 years ago
rstoyanchev
2a2fba6a37
Resolve placeholders in HttpExchange#url
...
Closes gh-28492
3 years ago
rstoyanchev
ce568468ae
Refine JSON encoding of non-streaming Flux
...
Closes gh-28398
3 years ago
rstoyanchev
496c1dcae1
Add RequestAttributeArgumentResolver
...
Closes gh-28458
3 years ago
rstoyanchev
495507e5d4
AbstractNamedValueArgumentResolver supports Object values
...
See gh-28458
3 years ago
Sam Brannen
16a4a9ad3f
Polishing
3 years ago
Sam Brannen
ea9b1fccbd
Fix attribute return types in @PutExchange
...
The return types for the `value` and `url` attributes don't match those
in `@HttpExchange`.
See gh-28498
3 years ago
Eddú Meléndez
163bad38ef
Fix attribute return types in @DeleteExchange and @PatchExchange
...
The return types for the `value` and `url` attributes don't match those
in `@HttpExchange`.
Closes gh-28498
3 years ago
wonwoo
9181ac70f5
Correctly detect Optional return type for @HttpExchange methods
...
Prior to this commit, a ClassCastException was thrown for an Optional
return type for an @HttpExchange method. This is because the check for
an Optional return type was based on the type contained in the Optional
instead of the Optional itself.
Closes gh-28493
3 years ago
Sam Brannen
578d3f4466
Polish error message
3 years ago
Sam Brannen
6efe3aee34
Polishing
3 years ago
Juergen Hoeller
a8c3c746af
Avoid package cycle with web.service.invoker through plain javadoc reference
...
See gh-28386
3 years ago
rstoyanchev
f0e23b66f3
The "consumes" condition compares MediaType parameters
...
Closes gh-9257
3 years ago
Sam Brannen
eb50a6f4a0
Further polishing regarding JDK baseline upgrade
...
See gh-28440
3 years ago
lihan
a892ce80c1
Polishing regarding JDK baseline upgrade
...
Closes gh-28440
3 years ago
Arjen Poutsma
e29bc3db7c
Refactor PartGenerator to use isLast
...
This commit refactors the PartGenerator to use the newly introduced
Token::isLast property.
See gh-28006
3 years ago
Juergen Hoeller
c81e11d537
Polishing
3 years ago
rstoyanchev
922636e85e
Content decoding in client exceptions
...
Closes gh-28190
3 years ago
rstoyanchev
64795664b2
Add ClientHttpResponseDecorator
...
See gh-28190
3 years ago
rstoyanchev
6b1a8452fa
Polishing
3 years ago
Sam Brannen
1c10cdd1e8
Update copyright dates
...
See gh-28433
3 years ago
evgeny.bovykin
941b92cbed
Make inner classes static when feasible
...
A static nested class does not keep an implicit reference to its
enclosing instance.
This prevents a common cause of memory leaks and uses less memory per
instance of the class.
Closes gh-28433
3 years ago
rstoyanchev
78ab4d7118
Support content negotiation for RFC 7807
...
Closes gh-28189
3 years ago
Sam Brannen
f7d032c924
Polish formatting
3 years ago
rstoyanchev
5d0f49c2c8
Add WebInputException subclasses
...
Closes gh-28142
3 years ago
neals
e22a038725
Remove Log4J initialization from package-info.java
...
Closes gh-28420
3 years ago
Sam Brannen
365a18c9c2
Polishing
3 years ago
rstoyanchev
2d2726b8f7
Add RequestBody resolver and minor improvements
...
Support for RequestBody arguments.
List supported arguments on HttpExchange.
Improve null handling.
See gh-28386
3 years ago
rstoyanchev
7797453f28
Refactor resolver tests
...
Extract NamedValueArgumentResolverTests.
Move form data vs query params tests into HttpRequestValues.
See gh-28386
3 years ago
rstoyanchev
2794553d2e
Add resolvers for URI, cookies, and request params
...
See gh-28386
3 years ago
rstoyanchev
f8ac5985bd
Extract base class AbstractNamedValueArgumentResolver
...
Closes gh-28395
3 years ago
rstoyanchev
d91b840d0e
Polishing and refactoring
...
See gh-28395
3 years ago
Olga Maciaszek-Sharma
38bf0776a1
Add initial RequestHeaderArgumentResolver implementation and tests.
3 years ago
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
3 years ago
Alex Lei
195b622411
Support multiple base64 segments in Content-Disposition
...
See gh-28236
3 years ago
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
3 years ago
rstoyanchev
f0d149b330
Polishing contribution
...
Closes gh-27830
3 years ago
binchoo
caaf83b8e6
Add tests for binding to a Part field
...
See gh-27830
3 years ago