Rossen Stoyanchev
0d28a1c32b
Polish
9 years ago
Rossen Stoyanchev
83e0e1604a
Refine encoding/decoding exception handling
...
Starting with removing a package cycle on the use of
ResponseStatusException in the codec package, this commit generally
refines codec exception handling.
The new [Encoding|Decoding]Exception mirror the existing
HttpMessageNot[Readable|Writable]Exception and are used similarly
especially to differentiate betwen 400 and 500 errors when parsing
server request body content.
The commit also aligns some of the exception handling of JSON and XML
on the WebFlux side with that on the Spring MVC side.
Issue: SPR-15516
9 years ago
Juergen Hoeller
652266bcc2
Polishing
9 years ago
Juergen Hoeller
d43dfc7bae
Properly extract jar file from Tomcat war URL
...
Issue: SPR-15485
9 years ago
Juergen Hoeller
4d86515fa5
Overridable Commons Logging bridge in separate spring-jcl jar
...
Issue: SPR-14512
9 years ago
Juergen Hoeller
27057889f8
Polishing
9 years ago
Phillip Webb
07ef7a97c7
Cache SpringFactoriesLoader loads
...
Update `SpringFactoriesLoader` to cache property file loads. This helps
reduce the number of garbage objects created as each load uses an 8K
char buffer.
Issue: SPR-15509
9 years ago
Arjen Poutsma
ed4bd43cac
Add writableChannel to WritableResource
...
This commit introduces a `writableChannel()` method to
`WritableResource`, defaulting to `Channels.newChannel`, but with
overrides for file-based resources.
9 years ago
Juergen Hoeller
9d8e9cf243
Common root cause introspection algorithm in NestedExceptionUtils
...
Issue: SPR-15510
9 years ago
Juergen Hoeller
817e80c56b
Property actually throws exception for no write method found
...
Issue: SPR-15507
9 years ago
Juergen Hoeller
7ca0094fa1
ResolvableType.clearCache() clears SerializableTypeWrapper cache as well
...
Issue: SPR-15503
9 years ago
Stephane Nicoll
1b9e12f52f
Polish "Use Java 8 forEach method on Map"
...
Closes gh-1404
9 years ago
Jon Borenstein
13dc0cd828
Use Java 8 forEach method on Map
9 years ago
Juergen Hoeller
1ea54eb2c6
GenericFilterBean lazily initializes its default environment
...
Alignment with HttpServletBean; consistent use of EnvironmentCapable.
Issue: SPR-15469
9 years ago
Juergen Hoeller
baa7b1c6c8
Simplified match condition checks
...
Issue: SPR-15477
9 years ago
Juergen Hoeller
17f274fd6a
Debug log messages for value retrieval exceptions
...
Issue: SPR-15481
9 years ago
Christoph Dreis
13b39521d8
Optimize AntPathMatcher when checking for potential matches
...
Issue: SPR-15477
9 years ago
Sam Brannen
c855182e03
Polishing
9 years ago
Juergen Hoeller
c668d9a473
Polishing
9 years ago
Juergen Hoeller
3daf626842
Defensive fallback for file system resolution in lastModified()
...
Issue: SPR-15485
9 years ago
Oleg Zhurakousky
299b9d60fd
SPR-15481 Fixed AnnotationUtils.getValue() operation
...
- Fixed AnnotationUtils.getValue() operation to ensure it re-throws AnnotationConfigurationException instead of swallowing it (as it is done in few other operations in AnnotationUtils)
- Added test
- Removed unnecessary '@SuppressWarnings("unchecked")'
9 years ago
Rossen Stoyanchev
cc102c2fcd
Properly handle Flux<?> and Flux<Object> in WebFlux
...
Issue: SPR-15464
9 years ago
Rossen Stoyanchev
7d8dda9a5a
Polish reactive type support in Conventions
9 years ago
Rossen Stoyanchev
5c502b87ca
Support for reactive types in Conventions
...
Issue: SPR-14915
9 years ago
Rossen Stoyanchev
71966b0777
Polish Conventions
9 years ago
Juergen Hoeller
91df0653fe
Polishing
9 years ago
Juergen Hoeller
d50dab6ea9
Suppress deprecation warning on JDK 9 (for LogRecord.setMillis)
...
Includes revised Log methods in log level order, with consistent delegation of fatal->error for log level checks in SLF4J and JUL, a JavaUtilDelegate for defensive access to java.logging on JDK 9, support for LogRecord message objects, as well as revised log setup recommendations.
Issue: SPR-15453
Issue: SPR-14512
9 years ago
Rossen Stoyanchev
1e8c7e55de
WebTestClient assert response body with Consumer<B>
...
Issue: SPR-15421
9 years ago
Juergen Hoeller
0b118322b0
Polishing
9 years ago
Juergen Hoeller
4838f06d5d
ASM annotation visitor logs IllegalAccessException at debug level only
...
Issue: SPR-15442
9 years ago
Juergen Hoeller
093e573ace
ASM annotation visitor defensively accesses enum constants
...
Issue: SPR-15442
9 years ago
Sebastien Deleuze
4d9144132e
Upgrade to Reactor Core 3.1
...
Issue: SPR-15318
9 years ago
Juergen Hoeller
b061556f68
LogFactory enforces lazy resolution of non-String messages for SLF4J as well
...
Issue: SPR-14512
9 years ago
Sebastien Deleuze
23e35c0e1a
Handle Jackson InvalidDefinitionException with 5xx status in WebFlux
...
Issue: SPR-14925
9 years ago
Juergen Hoeller
c4e0d6c2a2
UnknownHostException as resource-not-found for properties files
...
Plus first-class declaration of FileNotFoundException in Resource javadoc.
Issue: SPR-15433
9 years ago
Juergen Hoeller
ce4eff321c
Optimize StringUtils.replace for larger replacement pattern
...
Issue: SPR-15430
9 years ago
Juergen Hoeller
3a1d431c7d
Optimize StringUtils.replace/deleteAny for common no-op case
...
Issue: SPR-15430
9 years ago
Juergen Hoeller
7fbc20e225
Undeprecate TypeVariableMap methods on GenericTypeResolver
...
Issue: SPR-15429
9 years ago
Juergen Hoeller
e5fdd4cd1d
Extracted AbstractJsonHttpMessageConverter from GsonHttpMessageConverter
...
Generic type resolution algorithm in GenericTypeResolver shared between Jackson and Gson.
Issue: SPR-15381
9 years ago
Juergen Hoeller
ea5cb26d75
LogFactory obtains ClassLoader-specific LoggerContext for Log4J
...
Issue: SPR-14512
9 years ago
Juergen Hoeller
8cb24e0d93
SettableTask.checkCompletingThread() only resets marker after match
...
Issue: SPR-15409
9 years ago
Juergen Hoeller
2566d6f5c8
LogFactory differentiates between SLF4J API and SPI presence
...
Issue: SPR-14512
9 years ago
Juergen Hoeller
702e01ad52
UrlResource applies StringUtils.getFilename against cleaned URL path
...
Issue: SPR-15411
9 years ago
Juergen Hoeller
67ea4b3a05
package-info for repackaged libraries (and other polishing)
9 years ago
Juergen Hoeller
75dd8d9c06
UrlResource applies StringUtils.getFilename against URL path
...
Issue: SPR-15411
9 years ago
Juergen Hoeller
3037277d0e
Minimize reflective interaction with annotation instances during retrieval
...
Issue: SPR-15387
9 years ago
Juergen Hoeller
45e7b350bd
LogFactory provides getFactory() with getInstance methods as well
...
Issue: SPR-14512
9 years ago
Juergen Hoeller
47277f43da
spring-core provides custom variant of Commons Logging
...
Includes dependency updates (JavaMail 1.6 RC1, RxJava 2.0.8, Tomcat 8.5.13, Undertow 1.4.12, XNIO 3.4.5)
Issue: SPR-14512
9 years ago
Rossen Stoyanchev
ae2306326e
Add RxJava1 Reactive Streams adapters check
9 years ago
Juergen Hoeller
e9627a10c7
Deprecate ObjectUtils.hashCode for primitives in favor of JDK 8's hashCode methods
...
Issue: SPR-15395
9 years ago