rstoyanchev
29521e2f8a
Merge branch '6.2.x'
2025-08-08 12:31:28 +01:00
rstoyanchev
ffc785471b
Fix checkstyle error
2025-08-08 12:31:13 +01:00
rstoyanchev
89ba0fd6df
Polishing contribution
...
Closes gh-35294
2025-08-08 12:08:22 +01:00
Christoph
96deb27211
Make type in ProblemDetail nullable
...
See gh-35294
Signed-off-by: Christoph Wagner <cwagner@dimedis.de >
Signed-off-by: Christoph <cwagner@dimedis.de >
2025-08-08 11:54:03 +01:00
rstoyanchev
a0542f023c
Merge branch '6.2.x'
2025-08-08 11:50:58 +01:00
rstoyanchev
6e2fbfe108
Polishing contribution
...
Closes gh-35232
2025-08-08 11:50:07 +01:00
秦利斌
968e037503
Add documentation of RequestMapping about SpEL
...
Signed-off-by: 秦利斌 <68638598+Allan-QLB@users.noreply.github.com >
2025-08-08 11:37:25 +01:00
rstoyanchev
f0a9f649c1
Allow null in ProblemDetail#type
...
See gh-35294
2025-08-08 11:36:53 +01:00
rstoyanchev
600d6c6fc0
Update contribution
...
Closes gh-34721
2025-08-08 11:31:21 +01:00
giampaolo
7a55ce48a9
Handle CancellationException in JdkClientHttpRequest
...
Handle CancellationException in order to throw an HttpTimeoutException
when the timeout handler caused the cancellation.
See gh-34721
Signed-off-by: giampaolo <giampaorr@gmail.com >
fix: use timeoutHandler with a flag isTimeout
Closes gh-33973
Signed-off-by: giampaolo <giampaorr@gmail.com >
2025-08-08 11:31:21 +01:00
Juergen Hoeller
2f262afc51
Add documentation section on proxy type defaults and @Proxyable
...
See gh-35286
See gh-35296
2025-08-06 21:11:07 +02:00
Juergen Hoeller
573c5d96b9
Merge branch '6.2.x'
...
# Conflicts:
# spring-aop/src/main/java/org/springframework/aop/framework/AbstractAdvisingBeanPostProcessor.java
2025-08-06 19:03:14 +02:00
Juergen Hoeller
5df9fd4eff
Polishing (aligned with main)
2025-08-06 19:01:18 +02:00
Juergen Hoeller
d5408c047d
Introduce @Proxyable annotation for bean-specific proxy type
...
Closes gh-35296
See gh-35293
2025-08-06 18:32:01 +02:00
Juergen Hoeller
df86a9973d
Introduce @Proxyable annotation for bean-specific proxy type
...
Closes gh-35296
See gh-35293
2025-08-06 18:26:40 +02:00
Juergen Hoeller
9edb96ae57
Introduce default ProxyConfig bean and exposed interfaces attribute
...
Taken into account by all proxy processors, this enables consistent proxy type defaulting in Spring Boot as well as consistent opting out for specific bean definitions.
Closes gh-35286
Closes gh-35293
2025-08-06 14:51:13 +02:00
Juergen Hoeller
4ad9396b15
Update CountDownLatch for non-pauseable beans
...
See gh-35269
2025-08-04 15:27:56 +02:00
Sam Brannen
61df497785
Revise reference docs regarding new ApplicationContext pause() support
...
See gh-35269
2025-08-04 12:05:26 +03:00
Sam Brannen
e590341ca7
Revise Javadoc regarding new ApplicationContext pause() support
...
See gh-35269
2025-08-04 11:50:47 +03:00
Juergen Hoeller
4bfc129f84
Merge branch '6.2.x'
2025-08-01 21:17:54 +02:00
Juergen Hoeller
da13a24604
Allow any @Transactional propagation for listener with BEFORE_COMMIT phase
...
Closes gh-35150
2025-08-01 21:15:56 +02:00
Juergen Hoeller
67e88f3c20
Align task execution tracking and thread interruption on shutdown
...
Closes gh-35254
2025-08-01 21:15:25 +02:00
Juergen Hoeller
03a8933f58
Add transactional support for StatelessSession (next to regular Session)
...
Exposes JPA-style shared proxy instances through LocalSessionFactoryBean.
Closes gh-7184
2025-08-01 17:18:43 +02:00
Brian Clozel
ec87d90c9b
Post process outgoing messages in JMS clients
...
Prior to this commit, the `JmsTemplate` would use `MessagePostProcessor`
for mutating JMS messages before they are being sent, but only if the
method takes a post processor as an argument.
The main use case so far is to mutate messages after they've been
created by a `MessageConverter` from a payload.
This commit updates the `JmsClient` to use `MessagePostProcessor` more
broadly, for all outgoing messages (converted or not). This brings an
interception-like mechanism for clients to enrich the message before
being sent.
This change also updates the `JmsClient` static factories and
introduces a Builder, allowing for more configuration options: multiple
message converters and message post processors.
Closes gh-35271
2025-08-01 15:40:32 +02:00
Juergen Hoeller
149d468ce4
Introduce ConfigurableApplicationContext.pause() and SmartLifecycle.isPauseable()
...
Closes gh-35269
2025-08-01 15:08:15 +02:00
rstoyanchev
96bc1f50c7
Add interceptors and converters to RestTestClient.Builder
...
Closes gh-35268
2025-08-01 13:31:37 +01:00
rstoyanchev
2b1a815167
Add supportedVersionPredicate to ApiVersionConfigurer
...
Closes gh-35267
2025-08-01 12:35:18 +01:00
rstoyanchev
87838aa4c5
PathApiVersionResolver is not nullable
...
Closes gh-35265
2025-07-31 15:32:12 +01:00
rstoyanchev
da361699a4
Add MediaType parameter to ApiVersionInserter
...
Closes gh-35259
2025-07-31 15:32:12 +01:00
rstoyanchev
08ccf46399
Rename request param version strategy to query param
...
Closes gh-35263
2025-07-31 15:32:12 +01:00
rstoyanchev
18ee8adaeb
Check resolver set when API version config customized
...
Closes gh-35256
2025-07-31 15:32:12 +01:00
NeatGuyCoding
5a3bad6d61
fix remove useless "s"
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com >
2025-07-31 11:42:02 +01:00
rstoyanchev
d661550b48
Update docs for HttpServiceClient
...
Closes gh-35244
2025-07-31 05:22:49 +01:00
rstoyanchev
c8b2a0f830
Rename HttpServiceClientRegistrarSupport
...
to AbstractClientHttpServiceRegistrar since it is a registrar and
an extension of Abstract[HttpServiceRegistrar]. Also, a more
friendly name for use in application configuration.
See gh-35244
2025-07-31 05:22:44 +01:00
rstoyanchev
9dbe304cf6
Revise method order in AbstractHttpServiceRegistrar
...
See gh-35244
2025-07-31 05:22:29 +01:00
rstoyanchev
0fc9e4ec1c
Exclude HttpServiceClient from GroupRegistry scan
...
The detect methods in the GroupRegistry that find all interfaces
with HttpExchange annotations now exclude HttpServiceClient
interfaces that are instead supported by a dedicated registrar.
This ensures there is no overlap between the HttpServiceClient
registrar scan and the ImportHttpServices registrar scan or
the scan of any other custom registrar.
See gh-35244
2025-07-31 05:22:06 +01:00
rstoyanchev
09917fad7b
Fix bean name for ApiVersionStrategy in WebFlux config
2025-07-30 13:55:00 +01:00
rstoyanchev
279bce7124
Add HttpServiceClient and registrar
...
See gh-35244
2025-07-30 13:27:12 +01:00
rstoyanchev
da443020e0
Rename AnnotationHttpServiceRegistrar
...
Align with the name of the import annotation.
In preparation of adding a client annotation with another registrar.
See gh-35244
2025-07-30 13:27:12 +01:00
rstoyanchev
4ae5d0d1fe
Polishing in RestTestClient reference docs
...
Closes gh-34428
2025-07-30 07:13:48 +01:00
rstoyanchev
f57828708a
Polishing in RestTestClient tests
...
See gh-34428
2025-07-30 07:13:48 +01:00
rstoyanchev
88ddc9d45d
Polishing in [Rest|Web]TestClient Assertions
...
See gh-34428
2025-07-30 07:13:48 +01:00
rstoyanchev
6cc1310274
Add API versioning to RestTestClient
...
See gh-34428
2025-07-30 07:13:48 +01:00
rstoyanchev
862ffee385
Update RestTestClient ExchangeResult
...
to expose request and URI template information and to have toString
See gh-34428
2025-07-30 07:13:48 +01:00
rstoyanchev
34f259778e
Further alignment of RestTestClient and WebTestClient
...
See gh-34428
2025-07-30 07:13:48 +01:00
rstoyanchev
2732b603dc
Update RestTestClient builder hierarchy
...
Add concrete classes with specified generics for each MockMvc setup
Ensure Builder methods return the concrete class
See gh-34428
2025-07-30 07:13:48 +01:00
rstoyanchev
db4696ceae
Align RestTestClient and WebTestClient structure
...
See gh-34428
2025-07-30 07:13:48 +01:00
Rob Worsnop
934b8fc799
Common base classes for WebTestClient/RestTestClient Assertions
...
Fixes gh-31275
Signed-off-by: Rob Worsnop <rworsnop@gmail.com >
2025-07-30 07:13:48 +01:00
Rob Worsnop
37dcca54d2
Add RestTestClient
...
See gh-34428
Signed-off-by: Rob Worsnop <rworsnop@gmail.com >
2025-07-30 07:13:48 +01:00
rstoyanchev
336a5d0ac8
Add container for MockMvcServerServerSpec hierarchy
...
See gh-34428
2025-07-30 07:13:48 +01:00