Juergen Hoeller
6cd9060183
Avoid synthesizable check for common annotation types
...
This revision considers any java/javax and org.springframework.lang annotations as not synthesizable upfront, checking not only in isSynthesizable but also at synthesizeAnnotation(Array) level.
Issue: SPR-16933
6 years ago
Сергей Цыпанов
f8340838b3
Use lambda expressions for lazy instantiation ( #1911 )
...
Issue: SPR-17074
6 years ago
Juergen Hoeller
487e14d549
Polishing
6 years ago
Sola
9b1eb397ee
Fix documentation
6 years ago
Juergen Hoeller
f74a631ea1
Nullability refinements in spring-webmvc
...
Includes revision of web.servlet.tags.form for non-null conventions.
Issue: SPR-15540
6 years ago
Juergen Hoeller
4a147d26fc
Initialize pre-filled HashMaps with large enough capacity
...
Empty Maps are preferably initialized without capacity (not initializing them at all or lazily initializing with default capacity when needed).
Issue: SPR-17105
6 years ago
stsypanov
457d586859
SPR-17074 pass argument of addAll/putAll into constructor
6 years ago
Pascal Schumacher
aa656c47b8
Fix typo in notes on future deprecation of the RestTemplate
...
Issue: SPR-16993
Obvious Fix
6 years ago
Juergen Hoeller
109552d868
Polishing
6 years ago
Juergen Hoeller
1c40e36839
Upgrade to Netty 4.1.28
6 years ago
Juergen Hoeller
1fd6248d84
Polishing
6 years ago
Juergen Hoeller
c037e75f26
Improve debug logging at BeanDefinitionReader and BeanFactory level
...
Issue: SPR-17090
6 years ago
Rossen Stoyanchev
23bda9a5a7
Fix compiler warnings
6 years ago
Rossen Stoyanchev
91d17cf628
Add notes on future deprecation of the RestTemplate
...
Issue: SPR-16993
6 years ago
Rossen Stoyanchev
fcbf06f050
Disable equals in JsonPath~ and XPathAssertions
...
Issue: SPR-17091
6 years ago
Rossen Stoyanchev
f5ff1dc3f9
Comment on difference in matrix variable test
...
Based on discussion under
https://github.com/spring-projects/spring-framework/pull/1901
6 years ago
Juergen Hoeller
025fd2962e
Polishing
6 years ago
Juergen Hoeller
7c9ba80f85
Polishing
6 years ago
Juergen Hoeller
e82efbc7e3
Declare ASM7_EXPERIMENTAL for full compatibility with JDK 11 bytecode
...
Issue: SPR-17096
6 years ago
Rossen Stoyanchev
bcb485b5ed
bindToApplicatonContext uses WebSessionManager bean
...
Issue: SPR-17094
6 years ago
Rossen Stoyanchev
c022f7c19d
Polish
6 years ago
Bhavani Shekhawat
ee95f171c8
Update PropertySourcesPlaceholderConfigurer.java
...
Fix the error message when PropertySources are not applied
6 years ago
Juergen Hoeller
8277ea5794
Revise BeanFactory vs ApplicationContext section in reference docs
...
Issue: SPR-17095
6 years ago
Juergen Hoeller
e366b20037
Polishing
6 years ago
Johnny Lim
38525ceff6
Fix log level guard in DatabaseStartupValidator.afterPropertiesSet()
6 years ago
Johnny Lim
964467d269
Polish DatabaseStartupValidator.afterPropertiesSet()
6 years ago
Juergen Hoeller
e458777925
Properly identify event-related ClassCastExceptions on JDK 11
...
Issue: SPR-17093
6 years ago
Hannes Metssalu
142530874b
Fixed a typo in documentation.
...
'AbstractFactoryBean#getEarlySingletonInstance' documentation mentions "eager singleton". I'm quite sure it should be fixed to "early singleton".
6 years ago
Juergen Hoeller
c2a5fcd353
Fallback to empty collection/map only if actually no target bean found
...
Issue: SPR-15338
6 years ago
Rossen Stoyanchev
14d0fee86c
Improve context-related logging on web startup
...
Sample output at TRACE:
```
DispatcherServlet - Initializing Servlet 'org.springframework.web.servlet.DispatcherServlet-7a8c8dcf'
AnnotationConfigWebApplicationContext - Refreshing WebApplicationContext for namespace 'org.springframework.web.servlet.DispatcherServlet-7a8c8dcf-servlet', started on Wed Jul 25 17:46:38 EDT 2018
AnnotationConfigWebApplicationContext - Registering [org.springframework.web.servlet.mvc.method.annotation.RequestPartIntegrationTests$CommonsMultipartResolverTestConfig]
AnnotationConfigWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
AnnotationConfigWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
AnnotationConfigWebApplicationContext - No 'lifecycleProcessor' bean, using [DefaultLifecycleProcessor]
...
DispatcherServlet - Initialization completed in 3361 ms
```
Issue: SPR-16946
6 years ago
Juergen Hoeller
4e03d3fdcb
MethodBeforeAdviceInterceptor implements BeforeAdvice marker interface
...
Includes related polishing in the advice interceptor implementations.
Issue: SPR-17088
6 years ago
Juergen Hoeller
9ab63b8494
ListBasedXMLEventReader uses defensive modifiable copy of given List
6 years ago
Juergen Hoeller
2b2bf27933
Polishing
6 years ago
Juergen Hoeller
3881a4aded
Polishing
6 years ago
Juergen Hoeller
3899b7a909
Refactor DefaultCodecs.protobufWriter into protobufEncoder
...
Includes nullability declarations for the protobuf package.
Issue: SPR-15776
6 years ago
Juergen Hoeller
fd8e4abe5d
Introduce ResolvableType.toClass() shortcut
...
Issue: SPR-17086
6 years ago
Juergen Hoeller
31bfc1dc2b
Differentiate internal LogAdapter from core.log.LogDelegateFactory
...
Issue: SPR-16585
Issue: SPR-17012
6 years ago
Sebastien Deleuze
d3b244a81b
Optimize class detection by sharing the ClassLoader
...
Issue: SPR-17083
6 years ago
Rossen Stoyanchev
32faf09a80
Add check for mixing @EnableWebMvc and @EnableWebFlux
...
Issue: SPR-16609
6 years ago
Rossen Stoyanchev
0be8c20fca
Consistent logging of selected media types
6 years ago
sdeleuze
36a07aa897
Support Protobuf serialization in WebFlux
...
This commit introduces Protobuf support in WebFlux via dedicated
codecs.
Flux<Message> are serialized/deserialized using delimited Protobuf
messages with the size of each message specified before the message
itself. In that case, a "delimited=true" parameter is added to the
content type.
Mono<Message> are expected to use regular Protobuf message
format (without the size prepended before the message).
Related HttpMessageReader/Writer are automatically registered when the
"com.google.protobuf:protobuf-java" library is detected in the classpath,
and can be customized easily if needed via CodecConfigurer, for example
to specify protocol extensions via the ExtensionRegistry based
constructors.
Both "application/x-protobuf" and "application/octet-stream" mime types
are supported.
Issue: SPR-15776
6 years ago
Juergen Hoeller
4475c67ba8
Fix checkstyle violation
6 years ago
Brian Clozel
195f3f07e7
ResponseEntityResultHandler overwrites headers
...
Prior to this commit, controller handlers (regular and exception
handlers as well) would not overwrite existing HTTP response headers on
the exchange. This would lead to situations where Content-Type values
set during the initial handling phase would not be overwritten when
handling an error later on.
This commit aligns the implementation of that result handler on the
Spring MVC one in that regard.
Issue: SPR-17082
6 years ago
Juergen Hoeller
90d395edcf
Polishing
6 years ago
Rossen Stoyanchev
2e4f5a7923
Consistently remove forwarded headers in WebFlux
...
Preparation for SPR-17072
6 years ago
Rossen Stoyanchev
41aa4218af
Polish WebFlux ForwardedHeaderFilter and tests
...
Preparation for SPR-17072
6 years ago
Juergen Hoeller
02403f6a34
Polishing
6 years ago
Juergen Hoeller
11881ff211
Polishing
6 years ago
Juergen Hoeller
a18cfd71b9
Upgrade to Reactor Californium M1
...
Issue: SPR-16386
6 years ago
Rossen Stoyanchev
2fdb8c9c8c
Update STOMP section on working with subscriptions
...
1. Revise @SubscribeMapping to address common points of confusion.
2. Add ExecutorSubsribableChannel.
3. Split Events and Interception in two.
Issue: SPR-16950
6 years ago