Juergen Hoeller
93bb78ec23
Avoid private bean classes in integration tests (for CGLIB on JDK 11)
...
Issue: SPR-16391
2018-10-15 12:26:38 +02:00
Rossen Stoyanchev
bb5c8ed4e8
Correct Javadoc in ServletUriComponentsBuilder
...
Replace all method level comments related to forwaded headers, some
current and some outdated, with a single class-level comment.
Issue: SPR-17317
2018-10-09 16:51:41 -04:00
Juergen Hoeller
c385a1de83
Polishing
2018-09-17 15:17:39 +02:00
Juergen Hoeller
34663300a6
Avoid regex pattern matching for simple String replacement steps
...
Issue: SPR-17279
2018-09-17 14:22:19 +02:00
Simon Bowring
cc87fbcb7f
Fix javadoc comments to match behaviour
2018-09-17 12:25:39 +02:00
Rossen Stoyanchev
db8e9eafb2
Add LogFormatUtils
...
1. Helper method to eliminate duplication in formatting (de-)serialized
values for logging introduced with prior commit #e62298.
2. Helper method for TRACE vs DEBUG logging with different details.
Issue: SPR-17254
2018-09-14 18:06:46 -04:00
Rossen Stoyanchev
e62298eaad
Truncate logged encoded and decoded values if necessary
...
At DEBUG show up to 100 chars, at TRACE show full formatted value.
Note that the formatValue helper method is duplicated a number of times
in this commit. A utility method will likely be added in spring-core
through an extra commit.
Issue: SPR-17254
2018-09-14 12:20:03 -04:00
Juergen Hoeller
66c66baa8f
Upgrade to Rhino 1.7.10
...
Includes reordering of web dependency declarations.
2018-09-14 14:03:53 +02:00
Juergen Hoeller
cbc0fad961
Upgrade to Kotlin 1.2.70
...
Includes Hibernate ORM 5.1.16 and Hibernate Validator 6.0.13.
2018-09-13 18:23:42 +02:00
Juergen Hoeller
e49896d95f
Upgrade to Mockito 2.22, XMLUnit 2.6.2, JavaMail 1.6.2
...
Also includes Apache Johnzon 1.1.9.
2018-09-10 10:52:24 +02:00
Juergen Hoeller
6c487f7799
Revise ServletUriComponentsBuilder javadoc
...
Issue: SPR-17255
2018-09-07 18:11:18 +02:00
figueroaRicardo
aa848d54ff
Fix typo on javadoc
...
`ForwardedHeaderFilter` instead of `ForwardedHeaderFiller`
2018-09-07 18:00:06 +02:00
Juergen Hoeller
3067682347
Upgrade to Hibernate ORM 5.3.6 and OpenPDF 1.2.2
2018-09-04 23:02:35 +02:00
Kei KATO
c2585073ba
Fix typos
...
Closes gh-894
2018-09-03 10:05:14 +02:00
Juergen Hoeller
03f1920106
Support Jackson filters in combination with serialization view
...
Issue: SPR-17209
2018-08-24 12:06:52 +02:00
Sam Brannen
2bb15f7ed2
Fix grammar in JavaDoc for fully qualified links
...
This commit represents a best effort attempt at fixing remaining
"a" vs. "an" grammatical errors related links specified via a fully
qualified class name.
Issue: SPR-17208
2018-08-23 17:59:44 +02:00
Juergen Hoeller
a6a6cf7d97
Upgrade to Java Activation Framework 1.2 as API dependency
...
Includes XMLUnit 2.6.1 and Undertow 2.0.13.
Issue: SPR-16115
2018-08-17 16:01:15 +02:00
Rossen Stoyanchev
ad88c02bc3
Restore formatting change following revert
2018-08-17 09:53:47 +03:00
Rossen Stoyanchev
498984324d
Revert "Add handleFailure property to FrameworkServlet"
...
This reverts commit 29ce6685ca
.
2018-08-17 09:47:00 +03:00
Juergen Hoeller
04d2d1da0d
Consistently use double quotes (even if no interpolation needed)
...
Includes upgrade to Hibernate ORM 5.3.5, EclipseLink 2.7.3, Selenium HtmlUnit Driver 2.32.1, Jetty 9.4.12 RC2.
2018-08-16 15:32:44 +02:00
Juergen Hoeller
5d7fb1a1c2
Polishing
2018-08-16 12:08:26 +02:00
Brian Clozel
f2506ca7a1
Revert "Infer HTTP 404 from empty Optional/Publisher types"
...
This reverts commit 7e91733502
.
2018-08-15 15:15:35 +02:00
Brian Clozel
7e91733502
Infer HTTP 404 from empty Optional/Publisher types
...
This commit handles "empty" cases for `ResponseEntity` controller
handler return types when wrapped with a `java.util.Optional` in Spring
MVC or a single `Publisher` like `Mono`.
Given the following example for Spring MVC:
```
@GetMapping("/user")
public Optional<ResponseEntity<User>> fetchUser() {
Optional<User> user = //...
return user.map(ResponseEntity::ok);
}
```
If the resulting `Optional` is empty, Spring MVC will infer a
`ResponseEntity` with an empty body and a 404 HTTP response status.
The same reasoning is applied to Spring WebFlux with Publisher types:
```
@GetMapping("/user")
public Mono<ResponseEntity<User>> fetchUser() {
Mono<User> user = //...
return user.map(ResponseEntity::ok);
}
```
This feature is only valid for `HttpEntity` return types and does not
apply to `@ResponseBody` controller handlers.
Issue: SPR-13281
2018-08-15 11:59:16 +02:00
Rossen Stoyanchev
04141dee65
Consistent logging of resolved exceptions
...
Issue: SPR-17178
2018-08-15 10:57:51 +03:00
Juergen Hoeller
6027cf2255
Polishing
2018-08-14 20:42:40 +02:00
Juergen Hoeller
c0c9e08bf9
Revised documentation for PDF, Excel and JSON views
...
Issue: SPR-17180
Issue: SPR-17182
2018-08-14 20:36:29 +02:00
Juergen Hoeller
de38af6843
Upgrade to JUnit Jupiter 5.3 RC1 (and Jetty 9.4.12 RC1)
...
Includes Groovy 2.5.2, Undertow 2.0.12, Hibernate Validator 6.0.12.
Issue: SPR-17129
2018-08-14 20:33:30 +02:00
Sam Brannen
8126ffbc8c
Fix broken links in JavaDoc
...
Issue: SPR-17174
2018-08-13 12:22:52 +02:00
Sam Brannen
1dcb6236a6
Fix broken links in JavaDoc
...
First step (as proof of concept) toward addressing SPR-17174.
Issue: SPR-17174
2018-08-13 11:54:05 +02:00
Sam Brannen
cfb1ed1009
Clean up warnings and delete dead code
2018-08-12 15:55:11 +02:00
Juergen Hoeller
fc16b2d3fb
AbstractHandlerMethodMapping allows for customized bean retrieval
...
Issue: SPR-15535
2018-08-11 01:20:17 +02:00
Juergen Hoeller
58e9706991
Polishing
2018-08-09 02:26:36 +02:00
Juergen Hoeller
7cf98261ce
Polishing
2018-08-08 23:56:17 +02:00
Juergen Hoeller
247ec572b2
Consistent hasAnnotation check for findMergedAnnotation lookup
...
Issue: SPR-16933
2018-08-08 23:54:56 +02:00
Juergen Hoeller
fa72186e28
Expose checkbox field marker as 'hidden' to RequestDataValueProcessor
...
Issue: SPR-17147
2018-08-08 23:52:24 +02:00
Kazuhiro Sera
be211ceead
Fix typos detected by github.com/client9/misspell
2018-08-08 12:50:46 +02:00
Sebastien Deleuze
7e9b7102b7
Support custom CorsConfigurationSource in AbstractHandlerMapping
...
This commit allows to specify a custom CorsConfigurationSource
in AbstractHandlerMapping (both Servlet and Reactive variants).
AbstractHandlerMapping#getCorsConfigurations method is now
deprecated.
Issue: SPR-17067
2018-08-08 10:08:55 +02:00
Juergen Hoeller
a4c750e94c
Upgrade to OpenPDF 1.2 and Apache HttpAsyncClient 4.1.4
2018-08-07 11:24:20 +02:00
Juergen Hoeller
821ab62492
Upgrade to RxJava 2.2 and Kotlin 1.2.60
...
Includes latest dependency updates (Mockito 2.21, Log4J 2.11.1, Hibernate ORM 5.3.4, Protobuf 3.6.1, JRuby 9.2, HtmlUnit 2.32, Selenium 3.14) for Spring Framework 5.1.
Issue: SPR-16388
Issue: SPR-16239
2018-08-03 23:18:10 +02:00
Juergen Hoeller
2474c48749
Polishing
2018-08-02 16:55:53 +02:00
Rossen Stoyanchev
29ce6685ca
Add handleFailure property to FrameworkServlet
...
Issue: SPR-17100
2018-08-02 00:49:28 +03:00
Juergen Hoeller
9b671f8408
Polishing
2018-07-31 23:57:19 +02:00
Сергей Цыпанов
f8340838b3
Use lambda expressions for lazy instantiation ( #1911 )
...
Issue: SPR-17074
2018-07-31 13:03:18 +02:00
Juergen Hoeller
487e14d549
Polishing
2018-07-30 23:30:36 +02:00
Sola
9b1eb397ee
Fix documentation
2018-07-30 23:26:13 +02:00
Juergen Hoeller
f74a631ea1
Nullability refinements in spring-webmvc
...
Includes revision of web.servlet.tags.form for non-null conventions.
Issue: SPR-15540
2018-07-30 22:08:11 +02:00
Rossen Stoyanchev
f5ff1dc3f9
Comment on difference in matrix variable test
...
Based on discussion under
https://github.com/spring-projects/spring-framework/pull/1901
2018-07-27 08:40:36 -04:00
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
2018-07-25 17:50:03 -04:00
Juergen Hoeller
2b2bf27933
Polishing
2018-07-25 15:26:52 +02:00
Juergen Hoeller
3881a4aded
Polishing
2018-07-25 14:16:02 +02:00