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
Brian Clozel
e838444e81
Merge branch '6.2.x'
2025-07-29 21:49:24 +02:00
Patrick Strawderman
24e66b63d1
Refine StringUtils#uriDecode and update documentation
...
Refine the StringUtils#uriDecode method in the following ways:
- Use a StringBuilder instead of ByteArrayOutputStream, and only decode
%-encoded sequences.
- Use HexFormat.fromHexDigits to decode hex sequences.
- Decode to a byte array that is only allocated if encoded sequences are
encountered.
This commit adds another optimization mainly for the use case where
there is no encoded sequence, and updates the Javadoc of both
StringUtils#uriDecode and UriUtils#decode to match the implementation.
Signed-off-by: Patrick Strawderman <pstrawderman@netflix.com >
Co-Authored-by: Sebastien Deleuze <sebastien.deleuze@broadcom.com >
Closes gh-35253
2025-07-29 21:44:26 +02:00
Juergen Hoeller
321a804449
Merge branch '6.2.x'
2025-07-28 22:07:53 +02:00
Juergen Hoeller
f3832c7262
Add note on SQL types with SqlBinaryValue/SqlCharacterValue
...
Closes gh-34786
2025-07-28 22:06:38 +02:00
Juergen Hoeller
16e99f289c
Accept support for generated keys column name array on HSQLDB/Derby
...
Closes gh-34790
2025-07-28 22:04:18 +02:00
Juergen Hoeller
dacaf7fd56
Align @Nullable annotation
2025-07-28 20:33:33 +02:00
Juergen Hoeller
2a0a1fa67a
Merge branch '6.2.x'
...
# Conflicts:
# spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/GenericTableMetaDataProvider.java
2025-07-28 20:32:30 +02:00
Juergen Hoeller
642e554c52
Process PostgreSQL-returned catalog/schema names in given case
...
Closes gh-35064
2025-07-28 20:28:45 +02:00
rstoyanchev
2c32c770d5
Polishing in VersionRequestCondition
...
See gh-35237
2025-07-28 09:06:19 +01:00
rstoyanchev
2238121350
Prefer mapping without version for unversioned request
...
Closes gh-35237
2025-07-28 08:48:05 +01:00
rstoyanchev
48506db996
Avoid IllegalStateException for unversioned request
...
Closes gh-35236
2025-07-28 08:47:57 +01:00
Juergen Hoeller
c7fbf7809f
Provide @WebSocketScope annotation and public SCOPE_WEBSOCKET constant
...
Closes gh-35235
2025-07-26 11:38:02 +02:00
Juergen Hoeller
7316aab048
Align @Nullable annotation
2025-07-25 22:43:57 +02:00