Spring Refine exception handling in AOT process to provide additional context

This is a follow-up of #32775.Looking at the current state of affairs, we could use an AotException that is similar in p...

Spring a question for ScheduledAnnotationBeanPostProcessor

In ScheduledAnnotationBeanPostProcessor,I found this code.` @Override public void afterSingletonsInstantiated() { ...

Spring RestClient Bean can not call API with method GET contains body

ContextI have to call an API have body with method GET and I use RestClientIssueI create bean RestClient by this way@Bea...

Spring Consider adding overloaded methods to MockHttpServletRequestBuilder for headers and params

See #32913 and this prototype work by @snicoll for background.In the example above, it's quite common to see code like t...

Spring Support Hibernate StatelessSession [SPR-2495]

WDA opened SPR-2495 and commentedHello,since Hibernate 3.1 has a 'StatelessSession' class to use for batch jobs (bulk in...

Spring MockMvc no longer needs methods that take a String httpMethod for custom methods

We've deprecated a number of APIs that offered both a String and HttpMethod variant as the latter can be built from the ...

Spring Simplify BeanRegistrationsAotProcessor to avoid unnecessary BeanRegistrationKey

BeanRegistrationsAotProcessor has a map of registration key to registration but the mapping does not seem to be used any...

Spring Refine KotlinDetector.isKotlinType documentation for Kotlin 2.x lambdas

Using the spring cloud stream with reactive used to work well by instanciating kotlin function as follows@Configuratio...

Spring Reference documentation sample for MethodValidationPostProcessor is missing a static keyword

I followed the Spring official document to define MethodValidationPostProcessor for bean validation. But I am triggering...

Spring Fix RegisterReflectionForBinding Javadoc

Fix the RegisterReflectionForBinding Javadoc in order to remove the mention of fields and constructors since the annotat...

Spring Add isKotlinDataClass to KotlinDetector

Checking whether a class is a Kotlin data class would be useful. For example, we might want to use different binder (map...

Spring Support @TestBean factory methods defined in interfaces

OverviewCurrently, @TestBean factory methods must be defined in the test class or one of its superclasses.However, users...

Spring Use getMessageSource internally in RequestContext

When subclassing RequestContext, providing a custom MessageSource to be used by all getMessage methods should be as easy...

Spring AbstractAutoProxyCreator#determineBeanType can trigger bean initialization at build time for aspects implementing Ordered

We ran into a problem that took us some time to debug and we hope that this could be improved:- AOT processing fails as ...

Spring Use default TimeZone in RestTemplate

I am setting the timezone of the app as below :@SpringBootApplicationpublic class SpringApp extends SpringBootServletIni...

Spring Cron scheduled methods may be executed a fraction of a second too early

I use CronExpression and have an issue - method executes a few (about 100-300) ms earlier than scheduled. I do understan...

Spring RestClient ResponseSpec.body() when using Reactor Netty throws an exception instead of returning null if no response body is available

I will post again as it seems to be caused by RestClient.Environment: Spring Web 6.1.8, Java 17The situation is the same...

Spring Introduce dedicated AOT tests for bean override support in the TCF

OverviewAs alluded to in #32925, it's possible to run AOT tests for bean override support in the Spring TestContext Fram...

Spring spring dynamic bean annotation not invoked

Using spring "BeanDefinitionRegistry" register my custom bean ("SFTP" - shown below). The custom bean has @value, @Autow...

Spring Add @Router and @Handler

In general, annotation-based controller allows you to refer to controllers with unique annotations such as @Controller, ...
上一页 下一页
.