Sam Brannen
61df497785
Revise reference docs regarding new ApplicationContext pause() support
...
See gh-35269
6 months ago
Sam Brannen
e590341ca7
Revise Javadoc regarding new ApplicationContext pause() support
...
See gh-35269
6 months ago
Juergen Hoeller
4bfc129f84
Merge branch '6.2.x'
6 months ago
Juergen Hoeller
da13a24604
Allow any @Transactional propagation for listener with BEFORE_COMMIT phase
...
Closes gh-35150
6 months ago
Juergen Hoeller
67e88f3c20
Align task execution tracking and thread interruption on shutdown
...
Closes gh-35254
6 months ago
Juergen Hoeller
03a8933f58
Add transactional support for StatelessSession (next to regular Session)
...
Exposes JPA-style shared proxy instances through LocalSessionFactoryBean.
Closes gh-7184
6 months ago
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
6 months ago
Juergen Hoeller
149d468ce4
Introduce ConfigurableApplicationContext.pause() and SmartLifecycle.isPauseable()
...
Closes gh-35269
6 months ago
rstoyanchev
96bc1f50c7
Add interceptors and converters to RestTestClient.Builder
...
Closes gh-35268
6 months ago
rstoyanchev
2b1a815167
Add supportedVersionPredicate to ApiVersionConfigurer
...
Closes gh-35267
6 months ago
rstoyanchev
87838aa4c5
PathApiVersionResolver is not nullable
...
Closes gh-35265
6 months ago
rstoyanchev
da361699a4
Add MediaType parameter to ApiVersionInserter
...
Closes gh-35259
6 months ago
rstoyanchev
08ccf46399
Rename request param version strategy to query param
...
Closes gh-35263
6 months ago
rstoyanchev
18ee8adaeb
Check resolver set when API version config customized
...
Closes gh-35256
6 months ago
NeatGuyCoding
5a3bad6d61
fix remove useless "s"
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
6 months ago
rstoyanchev
d661550b48
Update docs for HttpServiceClient
...
Closes gh-35244
6 months ago
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
6 months ago
rstoyanchev
9dbe304cf6
Revise method order in AbstractHttpServiceRegistrar
...
See gh-35244
6 months ago
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
6 months ago
rstoyanchev
09917fad7b
Fix bean name for ApiVersionStrategy in WebFlux config
6 months ago
rstoyanchev
279bce7124
Add HttpServiceClient and registrar
...
See gh-35244
6 months ago
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
6 months ago
rstoyanchev
4ae5d0d1fe
Polishing in RestTestClient reference docs
...
Closes gh-34428
6 months ago
rstoyanchev
f57828708a
Polishing in RestTestClient tests
...
See gh-34428
6 months ago
rstoyanchev
88ddc9d45d
Polishing in [Rest|Web]TestClient Assertions
...
See gh-34428
6 months ago
rstoyanchev
6cc1310274
Add API versioning to RestTestClient
...
See gh-34428
6 months ago
rstoyanchev
862ffee385
Update RestTestClient ExchangeResult
...
to expose request and URI template information and to have toString
See gh-34428
6 months ago
rstoyanchev
34f259778e
Further alignment of RestTestClient and WebTestClient
...
See gh-34428
6 months ago
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
6 months ago
rstoyanchev
db4696ceae
Align RestTestClient and WebTestClient structure
...
See gh-34428
6 months ago
Rob Worsnop
934b8fc799
Common base classes for WebTestClient/RestTestClient Assertions
...
Fixes gh-31275
Signed-off-by: Rob Worsnop <rworsnop@gmail.com>
6 months ago
Rob Worsnop
37dcca54d2
Add RestTestClient
...
See gh-34428
Signed-off-by: Rob Worsnop <rworsnop@gmail.com>
6 months ago
rstoyanchev
336a5d0ac8
Add container for MockMvcServerServerSpec hierarchy
...
See gh-34428
6 months ago
Brian Clozel
e838444e81
Merge branch '6.2.x'
6 months ago
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
6 months ago
Juergen Hoeller
321a804449
Merge branch '6.2.x'
6 months ago
Juergen Hoeller
f3832c7262
Add note on SQL types with SqlBinaryValue/SqlCharacterValue
...
Closes gh-34786
6 months ago
Juergen Hoeller
16e99f289c
Accept support for generated keys column name array on HSQLDB/Derby
...
Closes gh-34790
6 months ago
Juergen Hoeller
dacaf7fd56
Align @Nullable annotation
6 months ago
Juergen Hoeller
2a0a1fa67a
Merge branch '6.2.x'
...
# Conflicts:
# spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/GenericTableMetaDataProvider.java
6 months ago
Juergen Hoeller
642e554c52
Process PostgreSQL-returned catalog/schema names in given case
...
Closes gh-35064
6 months ago
rstoyanchev
2c32c770d5
Polishing in VersionRequestCondition
...
See gh-35237
6 months ago
rstoyanchev
2238121350
Prefer mapping without version for unversioned request
...
Closes gh-35237
6 months ago
rstoyanchev
48506db996
Avoid IllegalStateException for unversioned request
...
Closes gh-35236
6 months ago
Juergen Hoeller
c7fbf7809f
Provide @WebSocketScope annotation and public SCOPE_WEBSOCKET constant
...
Closes gh-35235
6 months ago
Juergen Hoeller
7316aab048
Align @Nullable annotation
6 months ago
Juergen Hoeller
eaccb56de9
Merge branch '6.2.x'
...
# Conflicts:
# spring-core/src/main/java/org/springframework/core/io/support/PathMatchingResourcePatternResolver.java
6 months ago
Juergen Hoeller
4f6304707d
Polishing
6 months ago
Juergen Hoeller
3c112703d9
Introduce useCaches flag on UrlResource (for URLConnection access)
...
Propagated from PathMatchingResourcePatternResolver's setUseCaches.
Closes gh-35218
6 months ago
Juergen Hoeller
8c44a61033
Invalidate cache entries for matching types after singleton creation
...
Closes gh-35239
6 months ago