Stephane Nicoll
620bce5527
Fix permission of shell scripts
2022-03-31 16:36:53 +02:00
Stephane Nicoll
d6e24fdefd
Setup CI concourse build
2022-03-31 16:17:36 +02:00
Sam Brannen
8de2a9b74d
Test status quo for error handling in ASM-based annotation processing
...
This commit introduces tests for the status quo as of Spring Framework
5.1.x (before the introduction of the MergedAnnotations API in 5.2).
Specifically, this commit introduces tests for the following use cases.
- declared annotation type cannot be loaded
- class referenced via annotation attribute cannot be loaded
- nested annotation referenced via annotation attribute cannot be loaded
- enum referenced via annotation attribute cannot be loaded
The first two use cases above are also tested with merged annotation
support for a custom composed annotation.
Note: this commit does not include tests for annotation attribute
arrays of classes, annotations, or enums.
See gh-27772
2021-12-14 14:32:09 +01:00
Spring Buildmaster
dafd904b14
Next Development Version
2020-12-09 07:22:41 +00:00
Rossen Stoyanchev
d2f2918bf0
Backport fixes for discarding data buffers
...
Closes gh-26232
2020-12-08 22:16:54 +00:00
Juergen Hoeller
900c45eab5
Remove duplicate "property" in PropertyCacheKey.toString()
...
Closes gh-26237
2020-12-08 15:05:27 +01:00
Juergen Hoeller
cbe8d73342
Upgrade to Reactor Californium-SR23
...
Closes gh-26233
2020-12-07 22:35:03 +01:00
Juergen Hoeller
07bb95b57f
Polishing (aligned with 5.2.x)
2020-12-02 17:44:09 +01:00
Juergen Hoeller
6e354b1209
Upgrade to Checkstyle 8.38
2020-12-02 17:42:38 +01:00
Rossen Stoyanchev
2482a83d4f
ContentCachingResponseWrapper skips contentLength for chunked responses
...
Closes gh-26182
2020-12-01 18:22:50 +00:00
Сергей Цыпанов
a88093c699
Remove unused package-private class o.s.w.u.p.SubSequence
...
(cherry picked from commit 42216b77df )
2020-11-26 15:43:20 +01:00
Juergen Hoeller
804ca26a26
Remove misleading default note on ISO.DATE_TIME
...
Closes gh-26134
(cherry picked from commit 86f9716fef )
2020-11-26 15:43:13 +01:00
Juergen Hoeller
494b6abd27
Upgrade to Hibernate ORM 5.3.20
2020-11-19 16:08:42 +01:00
Rossen Stoyanchev
3e4ba75716
Allow "*" for Access-Control-Expose-Headers
...
Closes gh-26113
2020-11-19 10:21:10 +00:00
Juergen Hoeller
bd4ebd62eb
Polishing
2020-11-17 16:24:11 +01:00
Juergen Hoeller
29bd9b7fdd
Encode hash symbol in jar file path (for compatibility with JDK 11+)
...
Closes gh-26104
2020-11-17 16:23:46 +01:00
Juergen Hoeller
f59f7cca84
Upgrade to Checkstyle 8.37
2020-11-16 21:58:07 +01:00
Juergen Hoeller
3ae7f29995
Polishing
2020-11-16 21:57:52 +01:00
Rossen Stoyanchev
15624f3929
Add gradlePluginPortal to docs.gradle
2020-11-16 13:25:16 +00:00
Rossen Stoyanchev
9733cf8515
Attempt to resolve artifactory 401 failures
2020-11-16 12:57:44 +00:00
Rossen Stoyanchev
08bb796c8c
UrlPathHelper.removeJsessionid correctly appends remainder
...
Closes gh-26079
2020-11-16 11:28:25 +00:00
Juergen Hoeller
dc8a776cae
Early log entry for async EntityManagerFactory initialization failure
...
Closes gh-26093
2020-11-13 18:03:06 +01:00
Juergen Hoeller
40a79a87ae
Individually apply the SQL type from each SqlParameterSource argument
...
Closes gh-26071
2020-11-12 14:28:43 +01:00
Juergen Hoeller
65460db403
Upgrade to Hibernate ORM 5.3.19
2020-11-11 11:58:25 +01:00
Juergen Hoeller
32fcff5249
Polishing
2020-11-09 14:06:46 +01:00
Rossen Stoyanchev
9991649216
Refine logging in StompErrorHandler
...
Avoid a full stacktrace at ERROR level for a client message that could
not be sent to a MessageChannel.
Closes gh-26038
2020-11-05 21:54:40 +00:00
Juergen Hoeller
103f57a0a6
Polishing
2020-11-05 18:50:34 +01:00
Juergen Hoeller
a2a1a70c32
Suppress NotWritablePropertyException in case of ignoreUnknown=true
...
Closes gh-25986
2020-11-05 18:35:26 +01:00
Sam Brannen
7795f02988
Preserve registration order in @ActiveProfiles
...
With this commit, bean definition profiles declared via @ActiveProfiles
are once again stored in registration order, in order to support use
cases in Spring Boot and other frameworks that depend on the
registration order.
This effectively reverts the changes made in conjunction with gh-25973.
Closes gh-26004
2020-11-02 23:32:38 +01:00
Rossen Stoyanchev
0e49291982
Use static accessors in DefaultSimpUserRegistry
...
Closes gh-26010
2020-11-02 17:36:47 +00:00
Spring Buildmaster
a9edc23533
Next Development Version
2020-10-27 13:26:41 +00:00
Rossen Stoyanchev
b0726ffbb3
Full header support HTTP HEAD Resource requests
...
Allow the body to be written in order for all headers to be set
as they would be on HTTP GET. The body content is ignored as a
lower level.
See gh-25976
2020-10-27 12:05:58 +00:00
Rossen Stoyanchev
f02a2bef8f
Allow Resource to add headers for range requests
...
Closes gh-25976
2020-10-27 11:50:20 +00:00
Juergen Hoeller
20fe1bcd99
Polishing
2020-10-26 18:19:20 +01:00
Sam Brannen
aa0a3bd4d9
Avoid cache miss for @ActiveProfiles w/ same profiles but different order
...
Prior to this commit, two @ActiveProfiles declarations with the same
profiles but different order resulted in an identical duplicate
ApplicationContext in the context cache in the Spring TestContext
Framework.
This commit uses a TreeSet to ensure that registered active profiles
are both unique and sorted, thereby avoiding cache misses for
semantically identical active profiles configuration on different test
classes.
Closes gh-25973
2020-10-26 13:16:15 +01:00
Juergen Hoeller
d5e637a33c
Restore independent LinkedMultiValueMap implementation (without base class)
...
Closes gh-25960
(cherry picked from commit 82835b99ec )
2020-10-26 11:31:48 +01:00
Stephane Nicoll
e913167fa4
Upgrade to Reactor Californium-SR22
...
Closes gh-25948
2020-10-25 18:12:08 +01:00
Stephane Nicoll
ca7198c446
Start building against Reactor Californium-SR22 snapshots
...
See gh-25948
2020-10-21 14:29:47 +02:00
Juergen Hoeller
6d18ead0b7
Fail on warnings with compileGroovy (since it compiles Java code as well)
...
(cherry picked from commit d77ecb26a9 )
2020-10-16 15:44:29 +02:00
Juergen Hoeller
f49e0e36ff
Optimize String argument resolution in MessageTag
...
Closes gh-25809
(cherry picked from commit d9da663f6d )
2020-10-16 15:44:20 +02:00
Rossen Stoyanchev
3371c23343
Reinstate removal of jsessionid from lookup path
...
Closes gh-25864
2020-10-13 16:31:27 +01:00
Juergen Hoeller
da84155d8d
Avoid outdated Jackson API in tests
...
See gh-25907
2020-10-13 11:24:15 +02:00
Juergen Hoeller
60a4766e9e
Polishing
2020-10-13 01:29:11 +02:00
Juergen Hoeller
3fb51b0743
Polishing
2020-10-13 00:37:37 +02:00
Juergen Hoeller
25a1bfb093
Avoid creation of unused logger instance in AbstractMediaTypeExpression
...
Closes gh-25901
2020-10-13 00:37:17 +02:00
Juergen Hoeller
187b029671
Include Part headers support in MockMultipartHttpServletRequest
...
See gh-25829
2020-10-12 19:49:07 +02:00
Juergen Hoeller
87b1b618fb
Polishing
2020-10-12 19:25:47 +02:00
Juergen Hoeller
3b09456991
Attempt fallback Part resolution even without StandardMultipartHttpServletRequest
...
Closes gh-25829
2020-10-12 19:24:38 +02:00
Juergen Hoeller
f4eefc62c1
Construct StringBuilder in StreamUtils with appropriate initial size
...
Closes gh-25789
2020-10-07 15:08:39 +02:00
Juergen Hoeller
6124a3f0ba
Upgrade to Hibernate Validator 6.0.21, Undertow 2.0.32, Checkstyle 8.36.2
2020-10-06 17:50:28 +02:00
Juergen Hoeller
7861cfab6c
Polishing
2020-10-06 17:50:08 +02:00
Juergen Hoeller
7ec6a9dc54
Consistent @Nullable declarations on overridden converter methods
2020-10-06 17:49:57 +02:00
Juergen Hoeller
2ade77304a
Revise native Hibernate 5 bootstrapping with JTA transaction manager
...
Closes gh-25858
2020-10-06 17:49:43 +02:00
Rossen Stoyanchev
3a610bcf0d
Add missing change related to last commit
...
See gh-25821
2020-10-01 16:31:15 +01:00
Rossen Stoyanchev
5cc501b9d3
Fix issue with copying headers in NativeMessageHeaderAccessor
...
Closes gh-25821
2020-10-01 16:07:48 +01:00
Rossen Stoyanchev
afdcaa9d1b
Polishing Javadoc
...
See gh-25821
2020-10-01 16:06:14 +01:00
Sébastien Deleuze
543333f5ba
Add missing @Nullable to WebFlux RequestMappingHandlerMapping
...
Closes gh-25657
2020-09-25 15:25:43 +02:00
Juergen Hoeller
db48b546ac
Polishing
2020-09-25 12:20:37 +02:00
Juergen Hoeller
e48292fc07
Add MariaDB to the supported database products for procedures and functions
...
Closes gh-25811
2020-09-25 12:19:58 +02:00
Juergen Hoeller
6456ba9e60
Translate NullBean result to null for lookup method with bean name
...
Closes gh-25806
(cherry picked from commit 21cb9e8bff )
2020-09-25 11:55:36 +02:00
Sam Brannen
c275989323
Do not generate reference docs for include-files
...
Prior to this commit, the Asciidoctor Gradle tasks generated top-level
HTML and PDF documents for AsciiDoc files that are included in other
top-level documents. This causes slower builds and results in each
include-file being published twice:
1) inline in the including document (as intended)
2) as a top-level document but missing surrounding context (unintended)
The reason these include-files are generated as top-level documents is
that the asciidoctor and asciidoctorPdf Gradle tasks are configured to
use '*.adoc' as the input source files.
This commit addresses this issue by moving the following include-files
to new subdirectories. Locating the include-files in the subdirectories
causes them to be ignored in the '*.adoc' pattern used to identify
input source files.
- data-access-appendix.adoc -> data-access/data-access-appendix.adoc
- integration-appendix.adoc -> integration/integration-appendix.adoc
- testing-webtestclient.adoc -> testing/testing-webtestclient.adoc
Closes gh-25783
2020-09-21 16:54:13 +02:00
Sam Brannen
9486ece0d8
Remove unnecessary folders and files from PDF reference documentation
...
Prior to this commit, the asciidoctor Gradle task was configured to
generate both the HTML5 and PDF backends. Unfortunately, this resulted
in resources such as HTML, JavaScript, CSS, and images being published
alongside the generated PDF documents.
This commit addresses this issue by introducing the use of a dedicated
asciidoctorPdf Gradle task. The existing asciidoctor Gradle task has
been modified to only generate HTML5 output.
In addition, the asciidoctor task now has a dynamic dependency on the
asciidoctorPdf task if the current project version is a non-SNAPSHOT
version. Thus, invoking `./gradlew asciidoctor` will still generate both
the HTML5 and PDF outputs for non-SNAPSHOT versions; whereas,
`./gradlew asciidoctorPdf` will generate only the PDF outputs regardless
of the current project version.
See gh-25783
2020-09-21 16:53:57 +02:00
Juergen Hoeller
560fec51a1
Consistent flushing of given OutputStream
...
(cherry picked from commit f5d7161d6b )
2020-09-18 19:25:02 +02:00
Juergen Hoeller
8fe530c449
Polishing (backported from 5.2.x)
2020-09-18 18:35:29 +02:00
Juergen Hoeller
5b4f3e871f
Construct StringWriter instances with appropriate initial size
...
Closes gh-25789
(cherry picked from commit 9dfef59af2 )
2020-09-18 18:33:00 +02:00
Sam Brannen
547a13985a
Fix example in Javadoc for Assert.notNull(object, messageSupplier)
...
Closes gh-25774
2020-09-15 16:30:35 +02:00
Spring Buildmaster
216c4a1c93
Next Development Version
2020-09-15 09:02:55 +00:00
Juergen Hoeller
a3bb9b2fe4
Polishing
...
(cherry picked from commit f010368a66 )
2020-09-15 10:12:51 +02:00
Juergen Hoeller
c2b2701f23
Upgrade to Reactor Californium-SR21
...
Includes Undertow 2.0.31 and Checkstyle 8.36.1 as well.
Closes gh-25731
2020-09-14 23:15:45 +02:00
Juergen Hoeller
ec87fdb028
Polishing
2020-09-14 23:13:24 +02:00
Juergen Hoeller
c1f534548d
Javadoc refinement (aligned with 5.2.x)
...
See gh-25509
2020-09-08 12:42:03 +02:00
Juergen Hoeller
b7883c3e37
FileUrlResource.isWritable() exclusively relies on getFile() implementation
...
Closes gh-25584
(cherry picked from commit c6cc6705ef )
2020-09-08 12:38:49 +02:00
Rossen Stoyanchev
5de4f756f3
Explain how to provide serialization view programmatically
...
Closes gh-25596
2020-09-08 11:33:13 +01:00
Rossen Stoyanchev
385c97db9f
Expose protected method in AbstractJackson2HttpMessageConverter
...
Closes gh-25509
2020-09-08 11:27:27 +01:00
Rossen Stoyanchev
32cbbfe111
UriComponentsBuilder Javadoc update
...
Closes gh-25604
2020-09-08 11:24:01 +01:00
Rossen Stoyanchev
ca4a696a70
Switch to Reactor Californium snapshots
...
See gh-25731
2020-09-08 11:10:39 +01:00
Rossen Stoyanchev
a63c8886c0
Avoid unnecessary parsing of path params
...
Closes gh-25690
2020-09-08 11:07:22 +01:00
Rossen Stoyanchev
2281e42191
Shared read-only instances of UrlPathHelper
...
UrlPathHelper is often created and used without customizations or with
the same customizations. This commit introduces re-usable, instances.
Effectively a backport of commit 23233c.
Closes gh-25690
2020-09-08 10:55:36 +01:00
Juergen Hoeller
55d07566ac
Javadoc refinements
2020-09-07 19:15:03 +02:00
Juergen Hoeller
2fd06bda3a
Polishing (backported from 5.2.x)
2020-09-07 18:21:02 +02:00
Juergen Hoeller
337d5874b1
Properties loading with ignoreResourceNotFound covers SocketException as well
...
Closes gh-25717
(cherry picked from commit 613b05d814 )
2020-09-07 18:06:19 +02:00
Juergen Hoeller
400b39da3f
Revise documentation notes on getParameterType performance issues
...
See gh-25679
(cherry picked from commit 939c76c4a5 )
2020-09-05 13:27:48 +02:00
Juergen Hoeller
c5d3bcfb14
Restore original 4.x behavior for initialization of function return name
...
Closes gh-25707
(cherry picked from commit 40bf83c9e5 )
2020-09-05 13:27:05 +02:00
Juergen Hoeller
9b7f64a102
Fix SpEL generated code for default method invocation
...
Closes gh-25706
(cherry picked from commit c368ce8223 )
2020-09-05 13:26:49 +02:00
Juergen Hoeller
755721fd21
Avoid full singleton lock for getSingleton(beanName, false)
...
Closes gh-25667
(cherry picked from commit d8c420ab75 )
2020-09-04 00:38:10 +02:00
Juergen Hoeller
0ecdf0ba7c
Retry SQLErrorCodesFactory retrieval if DatabaseMetaData access failed
...
Closes gh-25681
2020-09-03 23:15:06 +02:00
Stephane Nicoll
81d5e66fe7
Make DataSize serializable
...
Closes gh-25676
2020-09-02 14:45:32 +02:00
Juergen Hoeller
b95edb549b
Upgrade to Checkstyle 8.36
2020-09-01 23:43:36 +02:00
Juergen Hoeller
b0b4b47bae
Explicit nullability declarations for getTarget() implementations
2020-09-01 23:31:00 +02:00
Juergen Hoeller
c9573a4fb6
Polishing
2020-09-01 10:47:37 +02:00
Juergen Hoeller
210dd0392f
Upgrade to AspectJ 1.9.6
2020-08-28 22:59:04 +02:00
Juergen Hoeller
db3570d0cf
Polishing
2020-08-28 22:54:06 +02:00
Juergen Hoeller
eba1aba9f5
Specifically detect Joda-Time 2.x
...
Closes gh-25655
2020-08-28 22:21:09 +02:00
Juergen Hoeller
0117a5f4c9
Polishing
...
(cherry picked from commit bb9e79daa7 )
2020-08-28 22:20:44 +02:00
Juergen Hoeller
72683766dc
Upgrade to Checkstyle 8.35
2020-08-27 16:29:48 +02:00
Juergen Hoeller
3a9896b849
Polishing
2020-08-27 16:28:59 +02:00
Juergen Hoeller
eb483d1028
Upgrade to Hibernate ORM 5.3.18
2020-08-27 15:35:09 +02:00
Juergen Hoeller
2891dc6409
Polishing
2020-08-27 15:33:08 +02:00
Juergen Hoeller
f7440884c9
Avoid potential integer overflow in seconds->millis transformation
...
Closes gh-25613
2020-08-27 15:32:54 +02:00
Juergen Hoeller
1a6a4598a1
Populate dependencies metadata for resolved target behind lazy dependency proxy
...
Closes gh-25562
2020-08-07 21:56:41 +02:00
Juergen Hoeller
2a331ab9e2
Upgrade to Jetty 9.4.31
2020-08-07 15:48:53 +02:00
Juergen Hoeller
46c296b154
Polishing
2020-08-07 15:48:13 +02:00
Juergen Hoeller
bfd20da9de
Polishing (backported from 5.2.x)
2020-08-07 14:51:08 +02:00
Juergen Hoeller
ce4001dd40
Refine use of substring operations
...
Closes gh-25445
2020-08-07 14:50:44 +02:00
Juergen Hoeller
b254777744
Reset charset field in MockHttpServletResponse
...
Closes gh-25501
2020-08-07 14:50:36 +02:00
Juergen Hoeller
d9f9f8b0de
Avoid unnecessary computation of cleaned URL
...
Closes gh-25531
(cherry picked from commit 96a4e1150e )
2020-08-07 14:50:29 +02:00
Sam Brannen
4e70e4c81d
Regression tests for @RestControllerAdvice support in MockMvc
...
This commit introduces regression tests for @RestControllerAdvice
support in standalone MockMvc configurations.
See gh-25520
2020-08-05 18:17:06 +02:00
Sam Brannen
f868486be5
Fix bug in StaticListableBeanFactory.isSingleton()
...
Prior to this commit, StaticListableBeanFactory.isSingleton() returned
false for singleton beans unless they were created by a FactoryBean.
StaticListableBeanFactory.isSingleton() now properly returns true for
all beans not created by a FactoryBean.
Closes gh-25522
2020-08-04 15:51:27 +02:00
Spring Buildmaster
a67ac8267f
Next Development Version
2020-07-21 07:09:40 +00:00
Juergen Hoeller
35adf2b1bc
Defer creating logger in StandardWebSocketHandlerAdapter to instantiation time
...
Closes gh-25427
(cherry picked from commit 64f4703445 )
2020-07-20 17:12:51 +02:00
Rossen Stoyanchev
6be892e03d
Upgrade to Reactor Californium-SR20
...
Closes gh-25412
2020-07-20 16:39:47 +03:00
Juergen Hoeller
ab6b504692
Copy queryParams MultiValueMap through addAll (for independent List entries)
...
Closes gh-25423
2020-07-20 07:35:05 +02:00
Juergen Hoeller
515bae9195
Defensively access existing beanDefinitionMap entries
...
See gh-22263
(cherry picked from commit f1345aadf5 )
2020-07-20 07:28:12 +02:00
Juergen Hoeller
7a793588fb
Unwrap SqlParameterValue for disposable value detection in cleanupParameters
...
Closes gh-22972
(cherry picked from commit 43e315f10c )
2020-07-19 20:04:46 +02:00
Juergen Hoeller
1c5fb9a3e8
Defensively catch NoSuchBeanDefinitionException on beanDefinitionNames traversal
...
Closes gh-22263
(cherry picked from commit 30bc5e09e7 )
2020-07-19 20:04:32 +02:00
Juergen Hoeller
d841af4e37
Avoid unnecessarily alarming stack trace logged during scheduler resolution
...
Closes gh-23268
(cherry picked from commit 7b6924522a )
2020-07-19 20:04:22 +02:00
Juergen Hoeller
ba8000d5b8
Polishing
2020-07-17 19:15:06 +02:00
Juergen Hoeller
d6d3023ed9
Upgrade to Tomcat 9.0.37, Netty 4.1.51, Checkstyle 8.34
2020-07-17 18:29:33 +02:00
Juergen Hoeller
f96a3d5ee1
Polishing
2020-07-17 18:29:08 +02:00
Juergen Hoeller
a53d28edf1
Consistently use PropertySource.getName() for comparison
...
Includes synchronization for mutators on MutablePropertySources.
Closes gh-25369
(cherry picked from commit 01bab89dba )
2020-07-17 18:06:20 +02:00
Juergen Hoeller
a6f7386c9d
Clarify enforceInitMethod/enforceDestroyMethod default values
...
Closes gh-25402
(cherry picked from commit 5846d9c2ea )
2020-07-17 18:06:12 +02:00
Stephane Nicoll
bca63918ab
Switch to Reactor Californium snapshots
2020-07-17 10:00:28 +02:00
Sam Brannen
14d539017c
Make Profiles created via Profiles.of() comparable
...
Prior to this commit, a Profiles instance created via Profiles.of() was
not considered equivalent to another Profiles instance created via
Profiles.of() with the exact same expressions. This makes it difficult
to mock invocations of Environment#acceptsProfiles(Profiles) -- for
example, when using a mocking library such as Mockito.
This commit makes Profiles instances created via Profiles.of()
"comparable" by implementing equals() and hashCode() in ParsedProfiles.
Note, however, that equivalence is only guaranteed if the exact same
profile expression strings are supplied to Profiles.of(). In other
words, Profiles.of("A & B", "C | D") is equivalent to
Profiles.of("A & B", "C | D") and Profiles.of("C | D", "A & B"), but
Profiles.of("X & Y") is not equivalent to Profiles.of("X&Y") or
Profiles.of("Y & X").
Closes gh-25340
2020-07-07 14:41:08 +02:00
Arjen Poutsma
f4ae18fa89
Support for ASCII in Jackson codec & converter
...
This commit introduces support for writing JSON with an US-ASCII
character encoding in the Jackson encoder and message converter,
treating it like UTF-8.
See gh-25322
(cherry picked from commit 79c339b03e )
2020-06-30 16:04:11 +02:00
Juergen Hoeller
fc5a6db84b
Polishing
2020-06-23 11:47:47 +02:00
Arjen Poutsma
9a847dc5a0
Map from charset name rather than Charset
...
With this commit it is no longer assumed that all charset names in the
JsonEncoding can be resolved by Charset.forName. Instead, we store the
charset name itself, rather than the Charset object.
2020-06-22 09:50:56 +02:00
Brian Clozel
a82cf2fb7d
Fix missing sslInfo with Reactor Netty and http/2
...
Prior to this commit, the `SslInfo` would be missing for WebFlux apps
when deployed on Reactor Netty with http/2.
This commit ensures that the request adapter checks the current channel
and the parent channel for the presence of the `SslHander`.
In the case of http/2, the `SslHander` is tied to the parent channel.
Fixes gh-25286
See gh-25278
2020-06-19 16:46:09 +02:00
Juergen Hoeller
a6258b8b4f
Upgrade to Jetty 9.4.30
2020-06-17 16:09:19 +02:00
Juergen Hoeller
0400fc8443
Avoid misleading log message for commit-triggering exception
...
Closes gh-25253
2020-06-17 16:08:52 +02:00
Arjen Poutsma
df9d09389f
Convert non-unicode input when reading w/ Jackson
...
This commit makes sure that Jackson-based message converters and
decoders can deal with non-unicode input. It does so by reading
non-unicode input messages with a InputStreamReader.
This commit also adds additional tests forthe canRead/canWrite methods
on both codecs and message converters.
Closes: gh-25247
2020-06-16 14:29:02 +02:00
Juergen Hoeller
3d14970c03
Polishing
2020-06-12 00:13:19 +02:00
Juergen Hoeller
236eea8de9
Consistent abstract declaration of "Abstract" base classes
...
Closes gh-25240
2020-06-11 23:59:16 +02:00
Juergen Hoeller
1b6afd52cb
Document exception handling limitations in TaskDecorator implementations
...
Closes gh-25231
2020-06-10 22:57:21 +02:00
Spring Buildmaster
837d3e0ccf
Next Development Version
2020-06-09 08:04:51 +00:00
Juergen Hoeller
4173ceefa5
Upgrade to Reactor Californium-SR19
...
Closes gh-25211
2020-06-08 23:35:40 +02:00
Juergen Hoeller
586235e9e4
Upgrade to Tomcat 9.0.36
2020-06-08 20:09:33 +02:00
Juergen Hoeller
4f81ab7e14
Polishing
2020-06-08 20:09:12 +02:00
Juergen Hoeller
7281d44178
Polishing
2020-06-06 19:14:34 +02:00
Juergen Hoeller
f965c2f5af
Avoid unnecessary creation of not-found entity in ResponseEntity#of
...
Closes gh-25183
2020-06-06 19:14:26 +02:00
Juergen Hoeller
cf5bbce3f8
Avoid unnecessary copy of cookies map in DefaultWebClientBuilder
...
See gh-25034
2020-06-06 19:14:19 +02:00
Juergen Hoeller
a80e36fd9f
Upgrade to Checkstyle 8.33
2020-06-06 16:57:41 +02:00
Juergen Hoeller
840ae05942
Polishing
2020-06-06 16:57:28 +02:00
Juergen Hoeller
b5928977d1
Extend readOnlyWebSocketHttpHeaders deprecation to 5.1.16
2020-06-06 16:57:17 +02:00
Juergen Hoeller
5cb950db3b
Support for shared GroovyClassLoader in GroovyScriptFactory
...
Closes gh-25177
2020-06-06 16:56:47 +02:00
Juergen Hoeller
4b7890315f
Restore original readOnlyHttpHeaders signature for binary compatibility
...
Closes gh-25034
2020-06-06 16:56:29 +02:00
Arjen Poutsma
f81b1de2c0
Respect MimeType charset in Jackson codecs
...
Before this commit, Jackson2CodecSupport and subclasses
did not check media type encoding in the supportsMimeType
method (called from canEncode/canDecode).
As a result, the encoder reported that it can write
(for instance) "application/json;charset=ISO-8859-1", but in practice
wrote the default charset (UTF-8).
This commit fixes that bug.
Closes: gh-25076
2020-06-05 11:54:18 +02:00
Arjen Poutsma
d9c98801bc
Respect MediaType charset in Jackson converters
...
Before this commit, AbstractJackson2HttpMessageConverter and subclasses
did not check media type encoding in the canRead and canWrite
methods. As a result, the converter reported that it can write
(for instance) "application/json;charset=ISO-8859-1", but in practice
wrote the default charset (UTF-8).
This commit fixes that bug.
See: gh-25076
2020-06-05 11:14:43 +02:00
Sam Brannen
70a2219fac
Configure Gradle wrapper validation action
...
This commit configures the Gradle Wrapper Validation Action
for GitHub actions.
See: https://github.com/gradle/wrapper-validation-action
Closes gh-25175
2020-06-02 14:45:04 +02:00
Juergen Hoeller
083dd0e19d
Polishing
2020-05-29 16:31:11 +02:00
Juergen Hoeller
e6553939b2
Consistent MultiValueMap behavior for empty list values
...
This commit extracts MultiValueMapAdapter from CollectionUtils and reuses its implementation as base class of LinkedMultiValueMap.
Closes gh-25140
2020-05-29 16:30:51 +02:00
Sam Brannen
008d011d37
Make use of custom types configurable in YamlProcessor
...
Prior to this commit, there was no easy way to restrict what types could
be loaded from a YAML document in subclasses of YamlProcessor such as
YamlPropertiesFactoryBean and YamlMapFactoryBean.
This commit introduces a setSupportedTypes(Class<?>...) method in
YamlProcessor in order to address this. If no supported types are
configured, all types encountered in YAML documents will be supported.
If an unsupported type is encountered, an IllegalStateException will be
thrown when the corresponding YAML node is processed.
Closes gh-25152
2020-05-29 14:03:51 +02:00
Sam Brannen
16ab43d957
Polish contribution
...
See gh-25149
2020-05-28 15:26:50 +02:00
dlsrb6342
6c5129b829
Fix BaseCodecConfigurer clone bug
...
Prior to this commit, ExchangeStrategies custom codec's reader and
writer were not registered due to a bug in BaseCodecConfigurer.
This commit fixes this by correcting the implementation of the
DefaultCustomCodecs constructor used within BaseCodecConfigurer.
Closes gh-25149
2020-05-28 15:06:34 +02:00
Rossen Stoyanchev
e25e6a68cf
Fix race condition in WriteResultPublisher
...
between subscription and error from the Publish
Closes gh-25096
2020-05-28 06:53:30 +01:00
Juergen Hoeller
bb96bd4f48
Polishing
2020-05-26 23:55:56 +02:00
Juergen Hoeller
370bf184af
WebSphereUowTransactionManager sets timeout for actual transaction only
...
Closes gh-25132
2020-05-26 23:55:29 +02:00
Juergen Hoeller
cbcd8fdeba
Upgrade to Jetty 9.4.29
2020-05-22 17:35:15 +02:00
Juergen Hoeller
9bb534e74c
Polishing
2020-05-22 17:34:55 +02:00
Juergen Hoeller
ec915bfd5d
Avoid ClassCastException on IllegalArgumentException from sync invocation
...
Closes gh-25110
2020-05-22 17:18:56 +02:00
Sam Brannen
5c04c96d0e
Honor attributes configured in ServerRequest.from() builder
...
Prior to this commit, if attributes were configured in the builder
returned by `ServerRequest.from(...)`, those attributes were not
available in the `ServerRequest` built by the builder. In addition, any
attributes in the original `ServerRequest` supplied to
`ServerRequest.from(...)` were also ignored.
This commit addresses this issue by ensuring that the attributes
configured via DefaultServerRequestBuilder are used as the attributes
in the resulting `ServerRequest`.
This commit also polishes the Javadoc in `ServerRequest` and
`ClientResponse` and avoids the use of lambda expressions in the
constructors for `DefaultServerRequestBuilder` and
`DefaultClientResponseBuilder`.
Closes gh-25106
2020-05-21 10:09:16 +02:00
Juergen Hoeller
7d39fbea16
Upgrade to Checkstyle 8.32, Tomcat 9.0.35, Netty 4.1.50, Hibernate ORM 5.3.17, Hibernate Validator 6.0.20
2020-05-18 15:16:11 +02:00
Juergen Hoeller
4ad7deda4c
Polishing
2020-05-18 15:15:46 +02:00
Juergen Hoeller
4ec02a7e53
Consistent not-null assertions for configured interceptors
...
Closes gh-25089
2020-05-18 14:54:01 +02:00
Juergen Hoeller
2785ef0887
Avoid full synchronization in refreshable getBeanFactory() implementation
...
Closes gh-25081
2020-05-18 14:37:12 +02:00
Rossen Stoyanchev
b22e670668
HttpHeaders#equals handles wrapping correctly
...
Closes gh-25034
2020-05-08 09:47:10 +01:00
Sam Brannen
436e9d8cdc
Use SingletonSupplier for XStream instance in XStreamMarshaller
...
Closes gh-25017
2020-05-07 12:51:29 +02:00
Sam Brannen
f474595dee
Fix concurrency issues in XStreamMarshaller
...
Prior to this commit, if an instance of XStreamMarshaller was used
concurrently from multiple threads without having first invoked the
afterPropertiesSet() method, the private `xstream` field could be
initialized multiple times resulting in a ConcurrentModificationException
in XStream's internal DefaultConverterLookup.
This commit fixes these concurrency issues by making the `xstream` field
volatile and by implementing a double-checked locking algorithm in
getXStream() to avoid concurrent instance creation.
Closes gh-25017
2020-05-07 12:50:44 +02:00
Rossen Stoyanchev
42f60fe490
Fix race condition in WriteResultPublisher
...
Backport of c35b3e5c82
Closes gh-24989
2020-05-04 11:13:06 +01:00
Rossen Stoyanchev
ce76a9b5de
Error handling improvement in AbstractSockJsSession
...
Backport of e17736dd0a .
Closes gh-24986
2020-05-04 11:12:08 +01:00
Spring Buildmaster
6d26b962a9
Next Development Version
2020-04-28 07:29:39 +00:00
Juergen Hoeller
a4cc16051c
Polishing
2020-04-27 14:29:56 +02:00
Juergen Hoeller
c8b49346b1
Store source in index-derived ScannedGenericBeanDefinition as well
...
Includes consistent constructor-level storage of derived resource in ScannedGenericBeanDefinition and ConfigurationClassBeanDefinition.
See gh-24978
2020-04-27 14:29:41 +02:00
Rossen Stoyanchev
34b9ca310d
Ugrade to Reactor Californium-SR18
...
Closes gh-24893
2020-04-27 13:07:18 +01:00
Juergen Hoeller
ea7b0103c5
Upgrade to Tomcat 9.0.34, Jetty 9.4.28, Netty 4.1.49, BeanShell 2.0b6, Checkstyle 8.31
2020-04-25 17:15:03 +02:00
Juergen Hoeller
e3175a2dc9
Polishing
2020-04-25 17:13:44 +02:00
Juergen Hoeller
91316dc11b
Caching of autowire candidate metadata for injection point matching
...
Closes gh-24904
2020-04-25 17:01:22 +02:00
Juergen Hoeller
ac8d1df3ab
Enforce limit for storing suppressed exceptions
...
Closes gh-24902
2020-04-25 17:01:09 +02:00
Sébastien Deleuze
f023df703a
Remove potentially confusing kotlin-reflect related log message
...
Closes gh-24939
2020-04-20 10:39:57 +02:00
Sam Brannen
9ab7cde00e
Retain brackets for IPV6 address in MockHttpServletRequest
...
According to the Javadoc for ServletRequest's getServerName() method,
when the `Host` header is set, the server name is "the value of the
part before ':' in the Host header value ...". For a value representing
an IPV6 address such as `[::ffff:abcd:abcd]`, the enclosing square
brackets should therefore not be stripped from the enclosed IPV6
address.
However, the changes made in conjunction with gh-16704 introduced a
regression in Spring Framework 4.1 for the getServerName() method in
MockHttpServletRequest by stripping the enclosing brackets from the
IPV6 address in the `Host` header. Similarly, the changes made in
conjunction with gh-20686 introduced a regression in Spring Framework
4.3.13 and 5.0.2 in the getRequestURL() method in
MockHttpServletRequest by delegating to the getServerName() method
which strips the enclosing brackets.
This commit fixes the implementation of getServerName() so that the
enclosing brackets are no longer stripped from an IPV6 address in the
`Host` header. The implementation of getRequestURL() is therefore also
fixed.
In addition, in order to avoid a NullPointerException, the
implementations of getServerName() and getServerPort() now assert that
an IPV6 address present in the `Host` header correctly contains an
opening and closing bracket and throw an IllegalStateException if that
is not the case.
Closes gh-24916
2020-04-17 16:22:51 +02:00
Stephane Nicoll
fad9b509ab
Polish
2020-04-10 17:19:40 +02:00
Stephane Nicoll
5ddbefecea
Start building against Reactor Californium-SR18 snapshots
...
See gh-24893
2020-04-10 17:18:51 +02:00
Juergen Hoeller
a4bba6aff2
Honor overridden AcceptHeaderLocaleContextResolver.getDefaultLocale()
...
Closes gh-24871
2020-04-09 12:03:29 +02:00
Juergen Hoeller
906583c40a
Upgrade to Tomcat 9.0.33, Hibernate ORM 5.3.16, Hibernate Validator 6.0.19
2020-04-03 21:50:28 +02:00
Juergen Hoeller
3689b3fdd5
Recursively copy directory with symbolic link
...
Closes gh-24823
2020-04-03 21:46:07 +02:00
Juergen Hoeller
4a5bac97b5
Close-suppressing Connection proxy exposes target isClosed() state
...
Closes gh-24853
2020-04-03 21:43:25 +02:00
Juergen Hoeller
45a270b71f
Clear by-type cache in case of no pre-existing bean definition as well
...
Closes gh-24852
2020-04-03 21:43:18 +02:00
Rossen Stoyanchev
ef013f7158
UriComponentsBuilder.cloneBuilder copies uriVariables
...
Closes gh-24772
2020-03-26 16:41:21 +00:00
Juergen Hoeller
818d18aa09
Expose context class for interface-based CGLIB proxies as well
...
Closes gh-24657
2020-03-26 17:31:31 +01:00
Juergen Hoeller
4715ad242e
Upgrade to Netty 4.1.48 and Checkstyle 8.30
2020-03-24 01:00:41 +01:00
Juergen Hoeller
e51f660286
Polishing
2020-03-24 00:56:36 +01:00
Juergen Hoeller
9f71c98871
Expose parameter annotations from interfaces across entire class hierarchy
...
Closes gh-24127
2020-03-24 00:53:40 +01:00
Juergen Hoeller
dbb09334f3
Thread-safe access to WebSocketServerFactory and WebSocketExtensions
...
Closes gh-24745
2020-03-24 00:53:32 +01:00
Juergen Hoeller
5953d99d1c
Mark MediaTypeNotSupportedStatusException as deprecated
...
Closes gh-24743
2020-03-24 00:25:53 +01:00
Rossen Stoyanchev
c9be4f6874
Upgrade to Reactor Californium-SR17
...
Closes gh-24726
2020-03-23 15:47:27 +00:00
Rossen Stoyanchev
fbc63b0e32
Switch to Reactor Californium snapshots
...
See gh-24726
2020-03-18 17:30:27 +00:00
Juergen Hoeller
5f7df0d14f
Latest dependency updates (RxJava 2.2.19, Undertow 2.0.30, Netty 4.1.47, Jetty 9.4.27, POI 4.1.2, OkHttp 3.14.7)
2020-03-13 23:42:30 +01:00
Juergen Hoeller
ee832206dc
Polishing
2020-03-13 23:41:42 +01:00
Juergen Hoeller
1e295c7bbb
Create ScannedGenericBeanDefinitions for index-derived components as well
...
Closes gh-24638
2020-03-13 23:41:31 +01:00
Arjen Poutsma
4fbba931a5
Improve RouterFunction composition
...
This commit changes the way two RouterFunctions are composed in
WebFlux.fn. Prior to this commit, two were composed with
`switchIfEmpty()`, switching from the first to the second route if the
first did not provide an element.
After this commit, two router functions are compose using `concat`,
which results in a smaller stack trace.
See gh-24652
2020-03-13 16:26:15 +01:00
Spring Buildmaster
86f19f6cb6
Next Development Version
2020-02-25 16:23:19 +00:00
Juergen Hoeller
df60919bb0
Polishing
2020-02-25 15:32:05 +01:00
Juergen Hoeller
2f1f36eeda
Upgrade to Groovy 2.5.9, RxJava 2.2.18, Tomcat 9.0.31, Jetty 9.4.26, Netty 4.1.45, Checkstyle 8.29
2020-02-24 19:44:25 +01:00
Juergen Hoeller
1c0a4f8d78
Polishing
2020-02-24 19:34:15 +01:00
Juergen Hoeller
cc376ac5ed
Clarify setCacheMillis/setCacheSeconds vs java.util.ResourceBundle
...
Closes gh-24563
2020-02-24 19:10:25 +01:00
Rossen Stoyanchev
10c9d2fcec
Upgrade to Reactor Calfiornium-SR16
...
Closes gh-24527
2020-02-24 14:57:34 +00:00
Arjen Poutsma
439ffe2e8a
Convert non-UTF-8 JSON
...
Jackson's asynchronous parser does not support any encoding except UTF-8
(or ASCII). This commit converts non-UTF-8/ASCII encoded JSON to UTF-8.
Closes gh-24489
2020-02-20 11:21:00 +01:00
Rossen Stoyanchev
4e55262521
Upgrade to Reactor Californium snapshots
...
See gh-24527
2020-02-19 16:26:17 +00:00
Juergen Hoeller
ebd2ec57fc
Polishing
2020-02-12 17:58:26 +01:00
Rossen Stoyanchev
f536819c5d
Update advice on RestTemplate
...
Closes gh-24503
2020-02-12 17:19:57 +01:00
Juergen Hoeller
af75c6db2f
Consistent ROLE_INFRASTRUCTURE declarations for configuration classes
...
Closes gh-24509
2020-02-12 17:18:59 +01:00
Juergen Hoeller
d12619cf1f
Raise log level for exceptions from EntityManager close call
...
Closes gh-24501
2020-02-12 17:10:32 +01:00
Sam Brannen
4c1d227776
Polish documentation format
...
Closes gh-24462
2020-02-12 15:47:17 +01:00
Sam Brannen
da02b7a141
Support SpEL compilation of interface methods again
...
Spring Framework 5.1.8 introduced a regression for the compilation of
SpEL expressions referencing a method declared in an interface. An
attempt to compile such an expression resulted in a
SpelEvaluationException caused by an IncompatibleClassChangeError.
This commit fixes this regression by adding explicit support in
ReflectivePropertyAccessor.OptimalPropertyAccessor.generateCode() for
methods declared in interfaces.
Closes gh-24357
2020-02-12 15:40:17 +01:00
Arjen Poutsma
17117bd21a
Force TokenBuffer to use BigDecimal if necessary
...
This commit makes the Jackson2Tokenizer enable
TokenBuffer.forceUseOfBigDecimal if the element type given to the
Decoder is BigDecimal. Previous to this commit, values would be
converted to floats.
Closes gh-24479
2020-02-07 14:45:58 +01:00
Arjen Poutsma
0d7494ac52
Honour ObjectMapper feature in Jackson2Tokenizer
...
After this commit, Jackson2Tokenizer honours ObjectMapper's
DeserializationFeature.USE_BIG_DECIMAL_FOR_FLOATS feature when creating
TokenBuffers.
Closes gh-24479
2020-02-06 17:12:05 +01:00
Christoph Dreis
a59a33846e
Polish documentation format
...
See gh-24462
2020-01-31 08:57:30 +01:00
Juergen Hoeller
51b8ba334a
Polishing
2020-01-28 21:40:16 +01:00
Juergen Hoeller
abc2269d97
Use local LoggerContext in Log4jLog when static field not initialized yet
...
Closes gh-24440
2020-01-28 21:21:30 +01:00
Juergen Hoeller
ff385aaf7b
Add Informix to supported database products for procedure calls
...
Closes gh-24443
2020-01-28 21:20:46 +01:00
Juergen Hoeller
1b50ca6bd3
Solve ReflectPermission issue in sandbox security policy model for CGLIB
...
Closes gh-24420
2020-01-28 21:19:15 +01:00
Arjen Poutsma
6bae759349
Use Jackson SequenceWriter for streaming
...
Before this commit, the AbstractJackson2Encoder instantiated a
ObjectWriter per value. This is not an issue for single values or
non-streaming scenarios (which effectively are the same, because in the
latter values are collected into a list until offered to Jackson).
However, this does create a problem for SMILE, because it allows for
shared references that do not match up when writing each value with a
new ObjectWriter, resulting in errors parsing the result.
This commit uses Jackson's SequenceWriter for streaming scenarios,
allowing Jackson to reuse the same context for writing multiple values,
fixing the issue described above.
Closes gh-24198
2020-01-22 10:12:05 +01:00
Brian Clozel
e1e8c165db
Avoid setting special Content-* response headers for Tomcat
...
As of gh-21783, Spring WebFlux uses a `TomcatHeadersAdapter`
implementation to directly address the native headers used by the
server.
In the case of Tomcat, "Content-Length" and "Content-Type" headers are
processed separately and should not be added to the native headers map.
This commit improves the `HandlerAdapter` implementation for Tomcat and
removes those headers, if previously set in the map. The adapter
already has a section that handles the Tomcat-specific calls for such
headers.
Fixes gh-24387
2020-01-17 15:15:14 +01:00
Sam Brannen
6699833121
Introduce regression test for gh-24375
2020-01-16 16:34:21 +01:00
Sam Brannen
095acefd7e
Include Objenesis NOTICE file contents in binary distributions
...
Closes gh-24326
2020-01-16 10:54:23 +01:00
Spring Buildmaster
b62e066b7d
Next Development Version
2020-01-14 07:37:59 +00:00
Rossen Stoyanchev
9969cb6d83
Improve limit handling in StringDecoder
...
The case of one data buffer containing multiple lines can could cause
a buffer leak due to a suspected issue in concatMapIterable. This
commit adds workarounds for that until the underlying issue is
addressed.
Closes gh-24346
2020-01-13 20:46:51 +00:00
Rossen Stoyanchev
04b3f5a247
Upgrade to Reactor Californium SR15
...
Closes gh-24345
2020-01-13 17:09:38 +00:00
Sam Brannen
c91b47fded
Document Objenesis license in license.txt
...
Closes gh-24340
2020-01-13 16:08:14 +01:00
Sam Brannen
f2c364b491
Update ASM and CBLIB versions in license.txt
2020-01-13 13:22:19 +01:00
Juergen Hoeller
170adccf80
Upgrade to RxJava 2.2.17, OkHttp 3.14.6, Hibernate ORM 5.3.15
2020-01-13 10:58:51 +01:00
Brian Clozel
98390e1e5e
Copy strategiesConfigurers when cloning WebClient.Builder
...
This commit fixes the missing `strategiesConfigurers` copy when the
`WebClient.Builder` is cloned.
Fixes gh-24330
See gh-24329
2020-01-10 16:08:04 +01:00
Juergen Hoeller
6df8c2678b
Upgrade to SLF4J 1.7.30 and Checkstyle 8.28
2020-01-09 17:13:16 +01:00
Juergen Hoeller
7f49abb6d1
Upgrade to Netty 4.1.44, Jetty 9.4.25, Undertow 2.0.29, OkHttp 3.14.5
2020-01-09 16:17:33 +01:00
Juergen Hoeller
b9bf56e41d
Polishing
2020-01-09 16:16:36 +01:00
Juergen Hoeller
d0e3e2acfc
Thread-safe compiled expression evaluation in SpelExpression
...
Closes gh-24265
2020-01-09 16:16:01 +01:00
Rossen Stoyanchev
18d983c686
Multi-value headers in ResponseStatusException
...
Closes gh-24284
2020-01-06 22:05:29 +00:00
Rossen Stoyanchev
d8abbc501e
CorsInterceptor skips async dispatch
...
Closes gh-24223
2020-01-06 21:24:02 +00:00
Rossen Stoyanchev
6ce19ff861
Escape quotes in filename
...
Also sync up with master on refactorings in ContentDisposition and
ContentDispositionTests.
Closes gh-24224
2020-01-06 18:18:56 +00:00
Juergen Hoeller
c8ef49cc8e
Upgrade to RxJava 2.2.16
2019-12-16 17:06:08 +01:00
Juergen Hoeller
f61983d908
Polishing
2019-12-16 17:05:48 +01:00
Juergen Hoeller
7615e0b036
Un-deprecate PathResource (for NIO Path resolution in createRelative)
...
Includes aligned createRelative signature and dedicated java.io.File test.
Closes gh-24211
2019-12-16 17:05:28 +01:00
Juergen Hoeller
afe22b84c2
ConcurrentReferenceHashMap cache for getInterfaceMethodIfPossible results
...
Closes gh-24206
2019-12-16 16:55:10 +01:00
Rossen Stoyanchev
634aba4ab6
Fix cloning issue in CodecConfigurer for multipart writers
...
Backport of b23617637d
Closes gh-24194
2019-12-13 06:38:49 +00:00
Rossen Stoyanchev
26a2d3875f
Expose ClientCodecConfigurer in WebClient.Builder
...
Using Consumer<ClientCodecConfigurer> instead of
Consumer<ExchangeStrategies> eliminates one level of nesting that is
also unnecessary since codecs are the only strategy at present.
Backport of dd9b6287b4
Closes gh-24201
2019-12-13 06:38:49 +00:00
Rossen Stoyanchev
802d083df7
Add register methods to CodecConfigurer.CustomCodecs
...
The new register methods replace the now deprecated
encoder, decoder, reader, and writer methods, and also offer a choice
to opt into default properties such maxInMemorySize, if configured.
Backport of 11e321b8e7
See gh-24201
2019-12-13 06:38:43 +00:00
Rossen Stoyanchev
f5b43a264a
CodecConfigurer implementation refactoring
...
Backport of 9d65830133
See gh-24201
2019-12-13 06:23:40 +00:00
Rossen Stoyanchev
59e4755562
Correct WebFlux docs on BindingResult with @RequestBody
...
Backport of 70a0c93d69
Closes gh-22997
2019-12-13 05:54:22 +00:00
Rossen Stoyanchev
2576aa4063
ContentDisposition trims charset in filename
...
Backport of c8bce9686f
Closes gh-24112
2019-12-13 05:46:09 +00:00
Juergen Hoeller
3fbe762832
Consistent use of annotation-api dependency instead of tomcat-embed-core
2019-12-12 17:12:27 +01:00
Juergen Hoeller
611bb0b92e
Explicit test dependency on javax.annotation.Priority
2019-12-12 17:01:18 +01:00
Juergen Hoeller
32a8b9b25a
Polishing
2019-12-12 16:48:25 +01:00
Juergen Hoeller
97cad6ca8e
Upgrade to Tomcat 9.0.30
2019-12-12 16:48:11 +01:00
Juergen Hoeller
015f7d8ce1
Polishing
2019-12-11 17:13:02 +01:00
Juergen Hoeller
da4e2710b4
Upgrade to Joda-Time 2.10.5 and Commons Pool 2.6.2
2019-12-10 00:38:21 +01:00
Juergen Hoeller
a368040fd6
Polishing
2019-12-09 15:54:40 +01:00
Juergen Hoeller
5dbd3b0bbf
Avoid ByteArrayOutputStream for source values without the need to be encoded
...
Closes gh-24154
2019-12-09 13:56:50 +01:00
Juergen Hoeller
197dbffe20
Support variable resolution of wildcard types
...
Includes cleanup of "varaible" typos in ResolvableTypeTests.
Closes gh-24150
2019-12-09 13:56:25 +01:00
Sam Brannen
5341e77796
Introduce regression tests for prototype/request-scoped @ControllerAdvice
...
See gh-24157
2019-12-07 19:02:06 +01:00
Sam Brannen
f049a6ec16
Add integration test for gh-24110
2019-12-03 17:12:14 +01:00
Spring Buildmaster
7203da7133
Next Development Version
2019-12-03 08:06:03 +00:00
Brian Clozel
a21df0cc6d
Provide default codecs config callback to custom codecs
...
As a follow-up of gh-23961, this change provides a way for custom codecs
to align with the default codecs' behavior on common features like
buffer size limits and logging request details.
Closes gh-24119
Co-authored-by: Rossen Stoyanchev <rstoyanchev@pivotal.io >
2019-12-02 23:16:49 +01:00
Brian Clozel
83683a13bb
Allow ExchangeStrategies customizations in WebClient
...
Backport of d4209392 and acfeb77d
Closes gh-23961
2019-12-02 17:10:29 +00:00
Juergen Hoeller
59165dd526
Upgrade to AspectJ 1.9.5 and Checkstyle 8.27
2019-12-02 13:10:07 +01:00
Brian Clozel
25554d0b21
Revert "Allow ExchangeStrategies customizations in WebClient"
...
This reverts commit 43e047c523 .
2019-12-02 10:29:24 +01:00
Juergen Hoeller
4f86282b14
Polishing
2019-12-01 01:55:26 +01:00
Juergen Hoeller
b3237f3eb6
Polishing
2019-12-01 00:41:53 +01:00
Juergen Hoeller
fd68fb115d
Backport of recent ExtendedBeanInfo refinements from master
...
Closes gh-24095
2019-12-01 00:40:57 +01:00
Brian Clozel
43e047c523
Allow ExchangeStrategies customizations in WebClient
...
Prior to this commit, developers could configure their WebClient to use
their custom `ExchangeStrategies`, by providing it in the
`WebClient.Builder` chain.
Once created, an `ExchangeStrategies` instance is not mutable, which
makes it hard for further customizations by other components. In the
case of the reported issue, other components would override the default
configuration for the codecs maxInMemorySize.
This commit makes the `ExchangeStrategies` mutable and uses that fact to
further customize them with a new `WebClient.Builder#exchangeStrategies`
`Consumer` variant. This commit is also deprecating those mutating
variants in favor of a new `WebClient.Builder#exchangeStrategies` that
takes a `ExchangeStrategies#Builder` directly and avoids mutation issues
altogether.
Closes gh-24106
2019-11-29 23:35:20 +01:00
Sam Brannen
7fdf775394
Test status quo for @Inherited annotations in AnnotationMetadata
...
See gh-24077
2019-11-28 18:19:44 +01:00
Sam Brannen
59084c6b73
Test status quo for AnnotatedTypeMetadata.getAnnotationAttributes()
...
See gh-24077
2019-11-28 13:46:35 +01:00
Stephane Nicoll
4fcc09a02c
Upgrade to Reactor Californium-SR14
...
Closes gh-24038
2019-11-27 11:51:27 +01:00
Arjen Poutsma
f5b082d3b3
Remove println
2019-11-25 18:27:13 +01:00
Arjen Poutsma
c164759c41
Fix NullPointerException in Jackson2SmileDecoder
...
Fix uncommon case in Jackson2SmileDecoder, where a null token,
incicating a document separator in streaming mode, is followed by
NOT_AVAILABLE.
Closes gh-24009
(cherry picked from commit 5f3c7ca559 )
2019-11-25 16:37:36 +01:00
Juergen Hoeller
2179b67706
Upgrade to Tomcat 9.0.29, Jetty 9.4.24, RxJava 2.2.15
2019-11-24 21:47:25 +01:00
Rossen Stoyanchev
fbde98f36e
Add missing verify() in Jackson2TokenizerTests
...
Closes gh-24056
2019-11-22 16:39:14 +00:00
Rossen Stoyanchev
529f8ba786
Extra isReady-onWritePossible after last write
...
Closes gh-24050
2019-11-22 15:58:25 +00:00
Juergen Hoeller
f4676bb41c
Restore short-circuiting in equals implementation
...
Closes gh-24048
2019-11-21 18:25:37 +01:00
Juergen Hoeller
262332a7c9
Upgrade to Jetty 9.4.23 and Woodstox 5.3
2019-11-21 13:48:55 +01:00
Juergen Hoeller
8b1709b8f3
Upgrade to Hibernate Validator 6.0.18 and Undertow 2.0.28
2019-11-20 17:45:18 +01:00
Juergen Hoeller
aee33d8b4b
Mark SqlRowSet accessor methods as nullable (for alignment with JDBC)
...
Closes gh-24042
2019-11-20 17:42:11 +01:00
Stephane Nicoll
83f03976ea
Start building against Reactor Californium-SR14 snapshots
...
See gh-24038
2019-11-20 11:02:08 +01:00
Sam Brannen
ffcd83e3a8
Ignore scoped proxy targets for @ControllerAdvice beans
...
Prior to this commit, methods in a @ControllerAdvice bean were
registered and invoked twice if the advice was a scoped bean (e.g.,
request or session scoped). In other words, both the proxy bean and the
target bean were wrapped in ControllerAdviceBean instances.
This commit fixes this bug by modifying the findAnnotatedBeans() method
in ControllerAdviceBean so that it filters out targets of scoped
proxies.
Closes gh-24017
2019-11-19 15:21:48 +01:00
Sam Brannen
9a522946a5
Backport tests for gh-23985
2019-11-19 15:21:48 +01:00
Juergen Hoeller
268d029584
Avoid substring allocation in StringUtils.replace
...
Closes gh-24023
2019-11-19 15:04:15 +01:00
Juergen Hoeller
85471d0587
Revise getElementTypeDescriptor javadoc (no IllegalStateException)
...
Closes gh-23996
2019-11-14 18:34:19 +01:00
Sam Brannen
96a1a0dec5
Convert InstantFormatterTests to JUnit 4
...
See gh-23895
2019-11-14 12:01:11 +01:00
Sam Brannen
40ac055d11
Polish contribution
...
See gh-23895
2019-11-14 12:01:11 +01:00
monosoul
c9a6f4282a
Inverse condition to fix ISO-formatted Instant parsing
...
Prior to this commit, InstantFormatter was able to properly serialize
an Instant that is far in the future (or in the past), but it could not
properly deserialize it, because in such scenarios an ISO-formatted
Instant starts with a +/- sign.
This commit fixes this issue, while maintaining the previous contract,
and also introduces tests for InstantFormatter.
Closes gh-23895
2019-11-14 10:10:43 +01:00
Juergen Hoeller
6ed6c08ace
Polishing
2019-11-13 23:49:33 +01:00
Juergen Hoeller
e4c57a9b61
Minor internal refinements (backported from master)
2019-11-13 16:53:23 +01:00
Juergen Hoeller
b0d8a667a1
Upgrade to Hibernate ORM 5.3.14
2019-11-13 16:51:47 +01:00
Juergen Hoeller
9c9ee22c2b
Note on injecting results from local @Bean methods (self references)
...
Closes gh-23934
2019-11-13 16:50:47 +01:00
Juergen Hoeller
639dce6282
Support for new MySQL 8 error code 3572
...
Closes gh-23972
2019-11-13 16:25:30 +01:00
YuDongYing
8e65834c44
Fix schemaZip Gradle task on MS Windows
...
Prior to this commit, the schemaZip Gradle task failed to find Spring
schema files on MS Windows due to path separators hard coded to forward
slashes that are not compatible with the Windows operating system.
Consequently, a full build failed on Windows since the distZip task was
not able to locate the zipped schema archive that the schemaZip task
failed to create.
This commit fixes this by updating the schemaZip task to search for
schema files using backslashes as well as forward slashes.
Closes gh-23933
2019-11-13 15:02:49 +01:00
Rossen Stoyanchev
64db939e4a
Javadoc update for content negotiation
...
Closes gh-23409
2019-11-11 12:08:05 +00:00
Sam Brannen
3d83f869d9
Fix Javadoc for SmartLifecycle.DEFAULT_PHASE regarding ordering
...
Closes gh-23956
2019-11-09 18:03:43 +01:00
Juergen Hoeller
088a653318
Upgrade to RxJava 2.2.14, OkHttp 3.14.4, Awaitility 3.1.6
2019-11-07 22:35:30 +01:00
Juergen Hoeller
bdb1a81a39
Use Method.getParameterCount() when full type array is never needed
2019-11-07 22:35:21 +01:00
Arjen Poutsma
c2e7b6341c
Polishing
2019-11-07 15:03:28 +01:00
Arjen Poutsma
e75556bc7b
Polishing
2019-11-07 15:02:34 +01:00
Arjen Poutsma
d3d40983d6
Corrupt multipart should not hang SynchronossPartHttpMessageReader
...
This commit notifies the Synchronoss listener that the buffer stream
has ended.
Closes gh-23768
(cherry picked from commit bf36f49dc5 )
2019-11-07 14:48:18 +01:00
Arjen Poutsma
32adf77b22
Corrupt multipart should not hang SynchronossPartHttpMessageReader
...
This commit notifies the Synchronoss listener that the buffer stream
has ended.
See gh-23768
2019-11-07 09:42:36 +01:00
Rossen Stoyanchev
1301c7e95d
Update WebMvcConfigurer#addInterceptors Javadoc
...
Closes gh-23908
2019-11-06 21:38:32 +00:00
Rossen Stoyanchev
1a057654b2
Defer ExchangeFilterFunction to subscription time
...
Previously fixed in 5.2 via d46359. Now also backported to 5.1.x.
Closes gh-23909
2019-11-06 21:38:32 +00:00
Sam Brannen
ca3440cb42
Re-enable support for invalid Expires attributes in MockCookie
...
Changes introduced in commit 9b2087618b
caused a regression for Cookie support in MockHttpServletResponse.
Specifically, an Expires attribute that cannot be parsed using
`ZonedDateTime.parse()` now results in an exception; whereas,
previously an entry such as `Expires=0` was allowed.
This commit fixes this issue in MockCookie by catching and ignoring any
DateTimeException thrown while attempting to parse an Expires attribute.
Closes gh-23911
2019-11-06 22:23:20 +01:00
Rossen Stoyanchev
48b22292ff
Fix issue with path matching options
...
Closes gh-23907
2019-11-06 18:13:10 +00:00
Rossen Stoyanchev
e0faaa4807
Relax domain name checks in ResponseCookie
...
Closes gh-23924
2019-11-06 18:05:44 +00:00
Rossen Stoyanchev
2e4944198d
Fix condition in ServletInvocableHandlerMethod
...
Closes gh-23775
2019-11-06 18:02:28 +00:00
Spring Buildmaster
38a1caefb8
Next Development Version
2019-11-02 07:17:14 +00:00
Rossen Stoyanchev
e731a0a164
Use int for maxParts instead of long
2019-10-31 14:16:48 +00:00
Brian Clozel
0f2efdbe97
Polish
...
See gh-23884
2019-10-30 19:58:06 +01:00
Brian Clozel
feeeab1761
Reorder date formatting converter in registrar
...
Prior to this commit, the `DateFormatterRegistrar` would register the
annotation-based formatter before the pattern-based formatter. This
would create an issue when an application tries to convert a `String` to
an annotated `@DateTimeFormat Date`: since the converters are considered
in reversed order of registration in
`GenericConversionServicei#ConvertersForPair`, the pattern-based variant
would always be considered before the annotation-based variant,
overriding the developer's opinion.
This commit aligns the `DateFormatterRegistrar` with the
`DateTimeFormatterRegistrar` and registers the annotation-based variant
last.
Closes gh-23896
2019-10-30 17:34:49 +01:00
Juergen Hoeller
b4cf471021
Polishing
2019-10-30 16:45:35 +01:00
Juergen Hoeller
82751141ac
Revise concurrent JAXBContext creation towards computeIfAbsent
...
Closes gh-23879
2019-10-30 16:26:13 +01:00
Sam Brannen
9f43ee3304
Treat InvalidPathException like an IOException in MockServletContext
...
Prior to this commit, if MockServletContext was configured with a
FileSystemResourceLoader, invocations of the following methods on a
Microsoft Windows operating system resulted in an InvalidPathException
if the supplied path contained a colon (such as "C:\\temp"). This is
inconsistent with the behavior on non-Windows operating systems. In
addition, for comparable errors resulting in an IOException, those
methods (except getRealPath()) return null instead of throwing the
exception.
- getResourcePaths()
- getResource()
- getResourceAsStream()
- getRealPath()
This commit makes handling of InvalidPathException and IOException
consistent for these methods: both exceptions now result in null be
returned by these methods.
Closes gh-23717
2019-10-30 16:19:40 +01:00
Rossen Stoyanchev
614c7b0f8e
ResponseStatusException associated headers
...
A ResponseStatus exception now exposes extra method to return headers
for the response. This is used in ResponseStatusExceptionHandler to
apply the headers to the response.
Closes gh-23741
2019-10-30 12:34:24 +00:00
Rossen Stoyanchev
cc84533d85
Logging decorator for WebSocketStompClient handler
...
Closes gh-23793
2019-10-30 12:16:45 +00:00
Juergen Hoeller
6faf61ba40
Latest applicable dependency updates (Tomcat 9.0.27, Undertow 2.0.27, RxJava 2.2.13, Hibernate ORM 5.3.13, POI 4.1.1, Checkstyle 8.26)
2019-10-30 11:07:39 +01:00
Juergen Hoeller
80a5019534
Verify read-only propagation in DataSourceTransactionManagerTests
...
See gh-23747
2019-10-30 11:07:07 +01:00
Juergen Hoeller
03bd02a627
Expose primary flag on BeanDefinitionBuilder
...
Closes gh-23794
2019-10-30 10:30:43 +01:00
Juergen Hoeller
f16aa4a9b5
Nullability refinements
2019-10-30 10:30:36 +01:00
Sam Brannen
a3c9e8d4fc
Polish contribution
...
See gh-23769
2019-10-29 13:50:38 +01:00
Vedran Pavic
3814f12b67
Preserve expires attribute in MockCookie
...
At present, MockCookie doesn't preserve expires attribute. This has a
consequence that a cookie value set using
MockHttpServletResponse#addHeader containing an expires attribute will
not match the cookie value obtained from
MockHttpServletResponse#getHeader, since the expires attribute will get
calculated based on current time.
This commit enhances MockCookie to preserve the expires attribute.
Closes gh-23769
2019-10-29 13:50:38 +01:00
Sam Brannen
ceb881ab05
Ignore projects not in this branch
2019-10-29 13:50:38 +01:00
Rossen Stoyanchev
871464811c
Limits on input stream in codecs
...
- Add maxInMemorySize property to Decoder and HttpMessageReader
implementations that aggregate input to trigger
DataBufferLimitException when reached.
- For codecs that call DataBufferUtils#join, there is now an overloaded
variant with a maxInMemorySize extra argument. Internally, a custom
LimitedDataBufferList is used to count and enforce the limit.
- Jackson2Tokenizer and XmlEventDecoder support those limits per
streamed JSON object.
- Configurable limits for multipart requests with Synchronoss NIO.
- Centralized maxInMemorySize exposed via CodecConfigurer along with
ability to plug in an instance of MultipartHttpMessageWrite.
Closes gh-23884
2019-10-29 12:36:36 +00:00
Stephane Nicoll
cf1b7620c7
Upgrade to Reactor Californium-SR13
...
Closes gh-23870
2019-10-28 14:27:21 +01:00
Stephane Nicoll
7ca96c02bd
Upgrade to Netty 4.1.43.Final
2019-10-25 09:07:40 +02:00
Stephane Nicoll
3a377f86b2
Start building against Californium-SR13 snapshots
...
See gh-23870
2019-10-25 09:00:22 +02:00
Rossen Stoyanchev
7854f49643
Polishing in HttpWebHandlerAdapter
...
Closes gh-23780
2019-10-24 20:57:25 +01:00
Tomasz Letachowicz
53dcb00074
Typos in WebSocket section
...
Closes gh-23777
2019-10-24 20:52:54 +01:00
Rossen Stoyanchev
562c0871e9
Charset argument in RestClientResponseException
...
See gh-23803
2019-10-24 20:51:16 +01:00
Rossen Stoyanchev
7f8966774e
Upgrade Jetty to 9.4.21
...
Make use of the new getAvailableExtensionNames() method.
Closes gh-23799
2019-10-24 20:46:59 +01:00
Spring Buildmaster
9689a59ab1
Next Development Version
2019-09-28 11:27:33 +00:00
Sam Brannen
7d126d3288
Improve documentation regarding "annotated classes"
...
See gh-23638
2019-09-26 10:26:36 +02:00
Rossen Stoyanchev
e9dc5160b9
Use correct log level
...
See gh-23534
2019-09-26 07:00:27 +01:00
Juergen Hoeller
3616e96792
Upgrade to SLF4J 1.7.28, Groovy 2.5.8, RxJava 2.2.12, Joda-Time 2.10.4, Rome 1.12.2, OkHttp 3.14.3, Apache HttpClient 4.5.10, Apache Johnzon 1.1.13
2019-09-25 22:27:41 +02:00
Juergen Hoeller
357beb24bc
Polishing
2019-09-25 22:15:07 +02:00
Rossen Stoyanchev
17c423f5af
Support for sameSite attribute in WebFlux
...
Bypass server cookie and write Set-Cookie header directly for Reactor
Netty, and Servlet API which do not provide options.
For Undertow use the sameSite attribute.
Closes gh-23693
2019-09-25 17:16:48 +01:00
Juergen Hoeller
b1ed0511f7
Upgrade to Tomcat 9.0.26, Undertow 2.0.26, Hibernate ORM 5.3.12
...
Includes Netty 4.1.39 (aligned with Reactor) and Checkstyle 8.24.
2019-09-25 12:15:02 +02:00
Juergen Hoeller
bb6f9bb6d4
Polishing
2019-09-25 12:14:48 +02:00
Juergen Hoeller
0519a2ff3c
Exclude jdk package in ShadowingClassLoader (JDK 11 compatibility)
...
Closes gh-23641
2019-09-25 12:11:33 +02:00
Juergen Hoeller
6a08bfdff7
Avoid unnecessary synchronization for non-existent missing caches
...
Closes gh-23635
2019-09-25 12:10:23 +02:00
Juergen Hoeller
da44a247cb
Efficient concurrency in MethodOverrides through CopyOnWriteArraySet
...
Also restores immediate MethodOverrides instance in AbstractBeanDefinition, avoiding potential lazy-init race condition.
Closes gh-23448
2019-09-25 12:09:16 +02:00
Juergen Hoeller
20fc7e178a
Consistent equality check for parent name and indexed arguments
...
Closes gh-23593
2019-09-25 12:07:29 +02:00
Stephane Nicoll
31c881468c
Upgrade to Reactor Californium-SR12
...
Closes gh-23694
2019-09-25 08:46:15 +02:00
Rossen Stoyanchev
955000699a
Add getRawStatusCode() to ExchangeResult
...
Closes gh-23630
2019-09-24 12:58:52 +01:00
Rossen Stoyanchev
99d9dacc4f
Log sendBufferSizeLimit exceeded at warn
...
Closes gh-23534
2019-09-24 12:09:41 +01:00
Rossen Stoyanchev
2794264480
Fix JettyRequestUpgradeStrategy initialization bug
...
Closes gh-23313
2019-09-24 11:34:46 +01:00
Rossen Stoyanchev
4edc7196fb
Refine disconnected client handling in WebFlux
...
If an error looks like a "disconnected client" but the response is not
yet committed then it can't be an I/O error from writing to the server
response. It is most likely as a result of a remote call as part of
request handling.
Not setting the response to 500 in this case results in a 200 response
status despite the error. Even if it was an I/O error from the server
response, setting the status won't impact a failed response.
Closes gh-23319
2019-09-24 11:09:42 +01:00
Sam Brannen
8f6846827d
Ensure ClassFilter and MethodMatcher implementations are cacheable
...
While resolving the regression raised in gh-23571, it came to our
attention that not all of our ClassFilter and MethodMatcher
implementations were properly cacheable with CGLIB generated proxies
due to missing (or improper) equals() and hashCode() implementations.
Although such deficiencies may not manifest themselves as bugs in Core
Spring's default arrangements, these might cause issues in custom
arrangements in user applications.
This commit addresses this by ensuring that ClassFilter and
MethodMatcher implementations properly implement equals() and
hashCode(). In addition, missing toString() implementations have been
added to improve diagnostics for logging and debugging.
Closes gh-23659
2019-09-19 15:35:17 +02:00
Sam Brannen
b2aad1c3b1
Ensure bean definitions can be removed concurrently
...
Prior to this commit, concurrent invocations of
DefaultListableBeanFactory.removeBeanDefinition() could result in a
NullPointerException.
This commit fixes this by adding an appropriate not-null check in
resetBeanDefinition().
Closes gh-23542
2019-09-17 13:09:08 +02:00
Brian Clozel
ca2b2f5533
Wait for complete disposal of Reactor Netty resources
...
Fixes gh-23631
2019-09-17 09:49:05 +02:00
Stephane Nicoll
b65984a078
Consume getProtocolResolvers() rather than internal list
...
This commit makes sure that DefaultResourceLoader consistently use
getProtocolResolvers() to access additional protocol resolvers. This
allows subclasses to define how the list is provided.
Closes gh-23564
2019-09-16 14:35:00 +02:00
Sam Brannen
b1b25fab00
Fix Checkstyle violation
2019-09-16 13:45:37 +02:00
Phillip Webb
e9454b8b11
Update checkstyle import rule
...
Update the checkstyle rule to enforce the blank line between `java`
and `javax`.
See gh-23539
2019-09-16 13:45:28 +02:00
Phillip Webb
d945ae9191
Add blank line between java and javax imports
...
See gh-23539
Co-authored-by: Sam Brannen <sbrannen@pivotal.io >
2019-09-16 13:41:59 +02:00
Sam Brannen
d09f537699
Annotate Object#equals parameter with @nullable
...
See gh-23093
Co-authored-by: Sebastien Deleuze <sdeleuze@pivotal.io >
2019-09-16 12:43:13 +02:00
Juergen Hoeller
c8f20815ef
Revise LinkedCaseInsensitiveMap's lazy key/value/entry collections
...
Closes gh-22926
2019-09-16 12:38:46 +02:00
Juergen Hoeller
60976e4116
Add missing nullable declarations
...
See gh-22821
2019-09-16 12:37:49 +02:00
Sam Brannen
bd28bb1f56
Add additional tests for HttpHeaders.keySet() operations
...
See gh-22821
2019-09-16 12:36:05 +02:00
Phillip Webb
aa69703f3b
Fix LinkedCaseInsensitiveMap collection methods
...
Ensure that results returned from keySet, entrySet & values are tracked
to remove case insensitive keys from the source map.
Closes gh-22821
2019-09-16 12:36:05 +02:00
Sam Brannen
a871f609ea
Introduce failing tests for HttpHeaders
...
See gh-22821
2019-09-16 12:28:38 +02:00
Rossen Stoyanchev
f259fda8eb
Fix checkstyle violations
2019-09-12 21:46:42 +01:00
Rossen Stoyanchev
23be5dfb0e
Handle invalid MediaType in Jetty/Tomcat adapters
...
See: gh-23553
2019-09-12 20:58:47 +01:00
Rossen Stoyanchev
b7eaab4c5d
Handle very early completion notification
...
On a Servlet container a completion notification may come at any time
even in the UNSUBSCRIBED state, i.e. before the write Publisher has
called onSubscribe.
See: gh-23553
2019-09-12 14:14:11 +01:00
Rossen Stoyanchev
07b0fa132e
doFilterNestedErrorDispatch delegates to filter chain
...
Closes: gh-23596
2019-09-12 13:42:12 +01:00
Rossen Stoyanchev
6eb0e9e44b
Unwrap decorated request or response
...
Closes: gh-23598
2019-09-12 13:42:12 +01:00
GungnirLaevatain
9db4118180
Fix DefaultListableBeanFactory#copyConfigurationFrom
...
Prior to this commit, the copyConfigurationFrom(ConfigurableBeanFactory)
method in DefaultListableBeanFactory cloned its own AutowireCandidateResolver
type instead of the resolver type from the supplied ConfigurableBeanFactory.
This commit fixes that by cloning the resolver type from the supplied
ConfigurableBeanFactory.
Closes gh-23569
2019-09-12 13:58:24 +02:00
Arjen Poutsma
b159ef6019
Make MockClientHttpResponse uses raw status code
...
This commit make sure that MockClientHttpResponse does not use
HttpStatus, but the raw status code.
Closes gh-23599
2019-09-11 10:41:01 +02:00
Sam Brannen
961010055e
Support trailing comment in DTD declaration in XML config
...
Prior to this commit, Spring failed to determine that an XML config file
was DTD-based if the DTD declaration was followed by a comment.
This commit fixes this by modifying the consumeCommentTokens(String)
algorithm in XmlValidationModeDetector so that both leading and trailing
comments are properly consumed without losing any XML content.
Closes gh-23605
2019-09-09 16:18:21 +02:00
Sam Brannen
a7aecbb4dc
Ensure spring-test test tasks are UP-TO-DATE
...
See also: 69214429df and eec183ef28
2019-09-05 15:06:12 +02:00
Sam Brannen
d036b5a283
Do not treat void and Void as simple types in BeanUtils
...
Prior to this commit, the isSimpleProperty() and isSimpleValueType()
methods in BeanUtils treated void and Void as simple types; however,
doing so does not make sense in this context, since void implies the
lack of a property or value.
This commit addresses this by explicitly excluding void and Void in the
logic in isSimpleValueType().
This commit also simplifies the implementation of
ViewResolutionResultHandler.supports(HandlerResult) to take advantage
of this change.
Closes gh-23573
2019-09-04 15:48:40 +02:00
Brian Clozel
3a132f8c3c
Revert Artifactory Gradle plugin configuration
...
This commit reverts all artifactory configuration changes in this
branch. A new build plan has been created for the master branch which is
tailored for the latest Gradle changes made on that branch.
2019-09-04 11:21:41 +02:00
Brian Clozel
1187fea65c
Fix Artifactory Gradle plugin configuration
...
This commit adds a missing dependency from the artifactoryPublish task
to the "install" task as POMs are currently missing from the published
artifacts and they are generated with the "install" task here.
2019-09-04 10:26:22 +02:00
Brian Clozel
e26cdfe21e
Fix Artifactory Gradle plugin configuration
2019-09-04 10:00:13 +02:00
Sam Brannen
f37ec90f2f
Consider Void.class a primitive wrapper in ClassUtils
...
Prior to this commit, ClassUtils.isPrimitiveOrWrapper() and
ClassUtils.isPrimitiveWrapper() did not return true for Void.class.
However, ClassUtils.isPrimitiveOrWrapper() did return true for
void.class. This lacking symmetry is inconsistent and can lead to bugs
in reflective code.
See: https://github.com/spring-projects/spring-data-r2dbc/issues/159
This commit addresses this by adding an entry for Void.class -> void.class
in the internal primitiveWrapperTypeMap in ClassUtils.
Closes gh-23572
2019-09-03 14:02:24 +02:00
Arjen Poutsma
f748b1e68d
Fix timing bug in DataBufferUtils::readAsynchronousFileChannel
...
This commit makes sure that reading is enabled after the current
signal has been processed, not while is is being processed. The bug
was only apparent while using the JettyClientHttpConnector, which
requests new elements continuously, even after the end of the
stream has been signalled.
2019-09-02 15:13:22 +02:00
Sam Brannen
9729b460f1
Retain entry set order in read-only HttpHeaders
...
Prior to this commit, the entry set of read-only HttpHeaders lost the
original headers' ordering.
The changes in commit ce7278aaf4 introduced a regression in the read-only
HttpHeaders support. Specifically, the implementation of entrySet() in
the internal ReadOnlyHttpHeaders class converted the original entry set
to an immutable, non-ordered set of immutable entries.
This commit fixes this issue by converting the original entry set to an
immutable, ordered set of immutable entries.
Closes gh-23551
2019-08-31 13:10:07 +02:00
Sam Brannen
a496353770
Delete dead code
2019-08-31 11:44:04 +02:00
Arjen Poutsma
d709a69ff1
Remove buffering of encoded parts in MultipartHttpMessageWriter
...
Closes gh-23518
2019-08-29 16:34:36 +02:00
Arjen Poutsma
2c5958e191
Support back pressure in DataBufferUtils::readAsynchronousFileChannel
...
This commit adds support for back pressure in the ReadCompletionHandler,
as used by DataBufferUtils::readAsynchronousFileChannel.
See gh-23518
2019-08-29 16:34:36 +02:00
Rossen Stoyanchev
4f4b9f6b1b
Fix checkstyle violation
2019-08-29 15:53:05 +03:00
Rossen Stoyanchev
4e4ec266b2
Adjust error response in ResourceUrlEncodingFilter
...
Failure to find the lookup path now results in 400 instead of 500
reflecting the presence of some issue with the input path.
Closes gh-23508
2019-08-29 14:58:03 +03:00
Rossen Stoyanchev
bd8f94ad7b
Upgrade to Jetty 9.4.20.v20190813
2019-08-29 11:11:17 +03:00
Rossen Stoyanchev
c2d71922d7
Fix for change in Jetty 9.4.20.v20190813
...
Closes gh-23500
2019-08-29 10:52:16 +03:00
Rossen Stoyanchev
88e9dcef0c
Consistently apply onCompletion/onError handling
...
Follow-up change in addition to dd22b8fd .
See gh-23096
2019-08-29 09:20:50 +03:00
Brian Clozel
4a4edeb97f
Apply Artifactory Gradle plugin to build
...
Since gh-23282, our CI does not apply automatically the Artifactory
Gradle plugin during our build and we're now applying it "manually".
This commit backports this change since the build configuration is
shared between branches.
See gh-23282
2019-08-27 22:26:25 +02:00
Rossen Stoyanchev
dd22b8fd39
Fix race condition with onCompletion/onError
...
Closes gh-23096
2019-08-27 21:43:33 +03:00
Sam Brannen
8189c90741
Allow Set-Cookie header to be overwritten in MockHttpServletResponse
...
Prior to this commit, there was no way to replace the Set-Cookie header
via MockHttpServletResponse. Specifically, an invocation of setHeader()
for the Set-Cookie header resulted in an additional Set-Cookie header
instead of replacing the existing one, which is in violation of the
contract for javax.servlet.http.HttpServletResponse.setHeader(...).
This commit refactors the internals of MockHttpServletResponse to ensure
that an existing Set-Cookie header is overwritten when set via an
invocation of setHeader(). This commit also verifies the expected
behavior for addHeader() and addCookie() with regard to multiple cookies.
Closes gh-23512
2019-08-27 17:20:38 +02:00
Sam Brannen
9d2a874e3f
Introduce getOriginalBeanName(String) in ScopedProxyUtils
...
This commit introduces a utility method for retrieving the original
bean name for the target of a scoped proxy.
Closes gh-23514
2019-08-27 15:46:34 +02:00
Rossen Stoyanchev
a7bb5ca473
Remove unnecessary iteration over headers
...
The use of LinkedCaseInsensitiveMap, going back to 3.0, makes it
unnecessary to iterate over keys which can cause
ConcurrentModificationException.
Closes gh-23460
2019-08-21 13:34:17 +03:00
Rossen Stoyanchev
6d8bf3466c
Suppress decoding error for resource path
...
Closes gh-23463
2019-08-21 10:02:15 +03:00
Rossen Stoyanchev
b86c11cc9b
Respect existing content-length for HTTP HEAD
...
Closes gh-23484
2019-08-21 02:28:19 +03:00
Stephane Nicoll
122e2ca2ac
Merge pull request #23437 from wyhasany
...
* pr/23437:
Fix typo
Closes gh-23437
2019-08-09 09:37:00 +02:00
Michał Rowicki
806fcb3839
Fix typo
...
See gh-23437
2019-08-09 09:36:46 +02:00
Sam Brannen
30ebc3b8e2
Remove superfluous AnnotationAttributes#putIfAbsent implementation
...
Since Java 8, putIfAbsent() is a standard method in java.util.Map. We
therefore no longer need the custom implementation that overrides the
standard implementation in HashMap.
2019-08-06 18:10:13 +02:00
Sam Brannen
a092dc055e
Check for instanceof Throwable in AnnotationAttributes#assertNotException
...
Prior to this commit, AnnotationAttributes#assertNotException checked if
the attribute value was an instance of Exception. Although this was
typically sufficient, the scope was not always broad enough -- for
example, if AnnotationReadingVisitorUtils#convertClassValues stored a
Throwable in the map (such as a LinkageError).
This commit fixes this by checking for an instance of Throwable in
AnnotationAttributes#assertNotException.
Closes gh-23424
2019-08-06 18:06:00 +02:00
Rossen Stoyanchev
70be7117f3
Fix link to Spring AMQP and polish
...
Optimize section headings for dispaly in left hand navigation.
2019-08-02 16:32:01 +01:00
Spring Buildmaster
f13a6d4f32
Next Development Version
2019-08-02 09:02:14 +00:00
Juergen Hoeller
7c2e2d40af
Polishing
2019-08-02 01:39:02 +02:00
Juergen Hoeller
d8e624e97e
Consistent suppression of get/clearWarnings without target connection
...
See gh-23346
2019-08-02 01:19:16 +02:00
Juergen Hoeller
762ea3ea90
Document all remaining public methods on BeanDefinitionParserDelegate
...
Closes gh-23349
2019-08-01 15:26:11 +02:00
Juergen Hoeller
871bb57e02
TransactionAwareDataSourceProxy locally handles get/clearWarnings call
...
Closes gh-23346
2019-08-01 15:26:00 +02:00
Juergen Hoeller
aebc485eda
MethodParameter.equals properly checks overridden containing class
...
Closes gh-23352
2019-08-01 14:34:39 +02:00
Juergen Hoeller
ea4f7d365f
Deprecate logger field in HandlerMethodArgumentResolverComposite
2019-07-31 23:48:21 +02:00
Juergen Hoeller
438b40f6d7
Consistent ordering of WebClient.Builder methods
2019-07-31 23:48:14 +02:00
Juergen Hoeller
59064f0780
Upgrade to Undertow 2.0.23 and Apache Johnzon 1.1.12
2019-07-30 22:27:09 +02:00
Juergen Hoeller
960079e5f5
Retain non-null HttpStatus return value in Client(Http)Response
...
See gh-23366
2019-07-30 22:26:46 +02:00
Arjen Poutsma
29ef985411
Add support for non-standard status codes
...
Added support for status codes that do not occur in HttpStatus in
DefaultClientResponseBuilder and made ClientResponse::statusCode
ClientHttpResponse::getStatusCode @Nullable.
Closed gh-23366
2019-07-30 17:44:47 +02:00
Juergen Hoeller
b2c56590dd
Upgrade to Netty 4.1.38 and Checkstyle 8.23
2019-07-30 16:59:23 +02:00
Juergen Hoeller
c4622dbebc
Polishing
2019-07-30 16:59:01 +02:00
Juergen Hoeller
9a36027ae1
MethodParameter.equals checks nesting level and containing class
...
Closes gh-23352
2019-07-30 16:58:45 +02:00
Arjen Poutsma
6cb4b8bd43
Add onRawStatus to WebClient
...
- Add onRawStatus to WebClient.ResponseSpec, allowing users to deal with
raw status codes that are not in HttpStatus.
- No longer throw an exception status codes not in HttpStatus.
Closes gh-23367
2019-07-30 15:10:33 +02:00
Rossen Stoyanchev
7b697266be
PathPatternParser allows '-' in variables
...
The isJavaIdentifier check is not really required, but also seems
intuitive for variables to be Java identifier-like. This commit relaxes
the constraint a bit by also allowing "-".
Closes gh-23101
2019-07-30 12:04:47 +01:00
Rossen Stoyanchev
1d92755cc7
Remove custom handling of byte[] in DefaultStompSession
...
Closes gh-23358
2019-07-30 10:52:51 +01:00
Stephane Maldini
50a909908c
Remove unnecessary flushOnEach (since reactor-netty 0.9)
2019-07-30 10:54:51 +02:00
Stephane Nicoll
da54121ee0
Upgrade to Reactor Californium-SR10
2019-07-30 09:51:32 +02:00
Sam Brannen
5034d1e7b3
Introduce ServerHttpRequest.Builder.header() variant for setting headers
...
Prior to this commit, the `header(String, String)` method in the
ServerHttpRequest.Builder API actually added a header value instead of
setting or overriding a header value. Since this conflicted with the
stated behavior in the Javadoc as well as the original intention of the
method, we have decided to introduce an overloaded variant
`header(String, String...)` which accepts a var-args list of header
values to set or override.
In addition, this commit deprecates the existing `header(String, String)`
method for removal in Spring Framework 5.2.
In order not to be a breaking change for custom implementations of the
builder API, this commit implements the new `header(String, String...)`
method as an interface `default` method, with the intent to remove the
default implementation in Spring Framework 5.2
closes gh-23333
2019-07-25 13:02:09 +02:00
Stephane Nicoll
0f9c7934bb
Merge pull request #23353 from izeye
...
* pr/23353:
Add Javadoc since for Jaxb2XmlDecoder(MimeType...)
Closes gh-23353
2019-07-25 08:39:13 +02:00
Johnny Lim
946fc39d42
Add Javadoc since for Jaxb2XmlDecoder(MimeType...)
...
See gh-23353
2019-07-25 08:38:46 +02:00
Ryan Burke
78802d4277
Fix typo in webflux.adoc
2019-07-22 18:35:53 +02:00
Juergen Hoeller
92890232df
Upgrade to OpenPDF 1.2.21, Rome 1.12.1, XStream 1.4.11.1
...
Includes updated javadoc links for 5.1.x branch.
2019-07-20 18:20:03 +02:00
Juergen Hoeller
b1e8ed182e
Polishing
2019-07-20 17:53:54 +02:00
Juergen Hoeller
0d37209b78
Document default message handling in MessageSource.getMessage variants
2019-07-20 16:23:31 +02:00
Juergen Hoeller
4a09b323b6
Apply getInterfaceMethodIfPossible without SecurityManager as well
...
Closes gh-23323
2019-07-20 16:11:17 +02:00
Juergen Hoeller
209c8505e6
Align forRawClassAssignableFromTypeVariable with 5.1 assertion style
...
See gh-23321
2019-07-20 16:10:49 +02:00
Phillip Webb
e5bef10d85
Fix ResolvableType raw class isAssignable checks
...
Fix `isAssignable` for `ResolvableType.forRawClass` so that it can be
used with types backed by a `TypeVarible`. Prior to this commit the
rawClass value was used, which wouldn't always work.
Closes gh-23321
2019-07-20 13:23:21 +01:00
zheng.ren01@mljr.com
f92b60c08f
Only invoke getInterfaceMethodIfPossible() when security manager is used
...
Prior to this commit, AbstractAutowireCapableBeanFactory's
invokeCustomInitMethod() method invoked
ClassUtils.getInterfaceMethodIfPossible() even if the security manager
was not being used.
This commit ensures that getInterfaceMethodIfPossible() is only invoked
if the security manager is used.
Closes gh-23323
2019-07-20 13:30:57 +02:00
Rossen Stoyanchev
a244675630
Merge pull request #23305 ' from AndreasKl/fowarded-prefix-causes-invalid-path into 5.1.x
2019-07-19 10:44:42 +01:00
Rossen Stoyanchev
153ac82380
Polish
2019-07-19 10:44:23 +01:00
Andreas Kluth
4973e110ee
An empty X-Forwarded-Prefix with a path containing escape sequences leads to exceptions.
2019-07-19 10:44:23 +01:00
Rossen Stoyanchev
2b94205ba9
Update docs on multipart with RestTemplate
...
Replace docs on using MultipartBodyBuilder for the RestTemplate with
examples that show MultiValueMap. Originally the idea was to make
MultipartBodyBuilder accessible to the RestTemplate too, but with
support for async parts that's no longer a good fit.
Closes gh-23295
2019-07-19 10:43:50 +01:00
Juergen Hoeller
46e5b6f7af
Upgrade to Tomcat 9.0.22, Checkstyle 8.22, Mockito 2.28.2
2019-07-17 23:26:07 +02:00
Juergen Hoeller
f5daa657f4
Polishing
2019-07-17 23:25:50 +02:00
Juergen Hoeller
9ffdf05d77
Explicit javadoc note on publishEvent hand-off semantics
...
See gh-21025
2019-07-17 23:25:21 +02:00
Juergen Hoeller
18bfa6b003
Consider Hibernate Query.list() as query-terminating method
...
Closes gh-23248
2019-07-17 23:24:52 +02:00
Sam Brannen
74ddf1bee5
Improve documentation for @Autowired constructors
...
Prior to this commit, there was some ambiguity surrounding semantics
for @Autowired constructors and `required = true`, especially for
multiple @Autowired constructors.
This commit improves the documentation in the Javadoc for @Autowired as
well as in the reference manual.
Closes gh-23263
2019-07-17 18:55:58 +02:00
Rossen Stoyanchev
99c4a9eeba
Filtering for nested ERROR dispatch
...
OncePerRequestFilter now has a doFilter method that allows separate
processing of nested ERROR dispatches. This is useful for filters
that wrap the request and response.
Closes gh-23196
2019-07-15 11:23:12 +01:00
Rossen Stoyanchev
235858e4e5
Exposes supported mime types in Jaxb2Decoder
...
Closes gh-23278
2019-07-13 11:00:43 +01:00
Stephane Nicoll
5089824245
Merge pull request #23274 from akun2014
...
* pr/23274:
Fix typo in UrlPathHelper
Closes gh-23274
2019-07-11 09:54:54 +02:00
桂坤
81eb911c09
Fix typo in UrlPathHelper
...
See gh-23274
2019-07-11 09:54:03 +02:00
Sam Brannen
99758b56d3
Ensure Javadoc is generated using UTF-8 encoding
...
Fixes gh-23253
2019-07-09 18:22:11 +02:00
Sam Brannen
db8be50161
Support empty target request path in FlashMap
...
Prior to this commit, if the user configured an empty path for the
targetRequestPath property of a FlashMap, the FlashMapManager threw a
StringIndexOutOfBoundsException when saving the output FlashMap for the
next request.
This commit fixes this by skipping the decoding and normalization of an
empty target request path.
Fixes gh-23240
2019-07-07 18:38:26 +02:00
Sam Brannen
efab6eb55d
Ignore empty entries when parsing MediaTypes and MimeTypes
...
Prior to Spring Framework 5.1.3, MimeTypeUtils.parseMimeTypes() and
MediaType.parseMediaTypes() ignored empty entries, but 5.1.3 introduced
a regression in that an empty entry -- for example, due to a trailing
comma in the list of media types in an HTTP Accept header -- would result
in a "406 Not Acceptable" response status.
This commit fixes this by filtering out empty entries before parsing
them into MimeType and MediaType instances. Empty entries are therefore
effectively ignored.
Fixes gh-23241
2019-07-07 12:39:46 +02:00
Juergen Hoeller
7a7d4109ac
Polishing
2019-07-05 17:47:36 +02:00
Juergen Hoeller
53ebbb20f9
Upgrade to Netty 4.1.37
2019-07-05 17:08:46 +02:00
Juergen Hoeller
16deb3c50f
Defensively register ReactiveReturnValueHandler for messaging methods
...
Closes gh-23207
2019-07-05 17:08:08 +02:00
Juergen Hoeller
a1eae42fd0
Expose implementation method for annotation introspection purposes
...
Closes gh-23210
2019-07-05 17:07:44 +02:00
Juergen Hoeller
56cc0d02e9
Bean destruction exceptions consistently logged at warn level
...
Closes gh-23200
2019-07-05 17:07:22 +02:00
Juergen Hoeller
aeef95938e
SpringValidatorAdapter's ObjectError subclasses are serializable
...
Closes gh-23181
2019-07-05 17:07:01 +02:00
Rossen Stoyanchev
2aec175ccc
Drain body after exception from applying onStatus
...
Closes gh-23230
2019-07-05 10:50:03 +01:00
Rossen Stoyanchev
2088a3d57b
Document async requests with Spring MVC Test
...
Closes gh-19666
2019-07-05 10:30:02 +01:00
Rossen Stoyanchev
4e6e47b726
Earlier detection of token authentication
...
Use a callback to detect token authentication (via inteceptor) thus
avoiding a potential race between that detection after the message is
sent on the inbound channel (via Executor) and the processing of the
CONNECTED frame returned from the broker on the outbound channel.
Closes gh-23160
2019-07-03 15:24:27 +01:00
Rossen Stoyanchev
5af9a8edae
Ensure WebSocketHttpRequestHandler writes headers
...
Closes gh-23179
2019-07-03 15:24:27 +01:00
Rossen Stoyanchev
6e79dcdc8e
Merge pull request #23070 from L00kian/23060-fix
2019-07-02 09:33:13 +01:00
Rossen Stoyanchev
29b7659094
Polish
2019-07-02 09:32:07 +01:00
Ilya Lukyanovich
27b5d2b288
Optional @RequestPart Mono arg resolves to Mono.empty
...
Closes gh-23060
2019-07-02 09:32:07 +01:00
Sam Brannen
ac29e9de6a
Document that CacheManager.getCache() may create a new Cache
...
Prior to this commit, it was unclear that an invocation of getCache()
might potentially create a new Cache.
This commit updates the Javadoc to point out that concrete CacheManager
implementations may choose to create a new Cache at runtime if the Cache
does not already exist.
Closes gh-23193
2019-06-25 13:12:42 +03:00
Sam Brannen
dda4dfb44b
Clarify semantics of the PriorityOrdered interface
...
This commit clarifies the semantics of the PriorityOrdered interface
with respect to sorting sets of objects containing both PriorityOrdered
and plain Ordered objects.
Closes gh-23187
2019-06-25 10:40:55 +03:00
Juergen Hoeller
29dcd19971
Upgrade to AspectJ 1.9.4, RxJava 2.2.10, Jetty 9.4.19, Undertow 2.0.22
...
Includes Hibernate Validator 6.0.17 and renames "withoutJclOverSlf4j".
2019-06-22 16:49:40 +02:00
Rossen Stoyanchev
594c5806a6
Handle error in apply of writeFunction
...
Closes gh-23175
2019-06-21 14:15:14 +01:00
Sam Brannen
97bfb75fbc
Polish documentation for @ControllerAdvice in reference manual
2019-06-21 12:45:08 +03:00
Sam Brannen
ad915f4a26
Document that Ordered is not supported for @ControllerAdvice beans
...
Closes gh-23172
2019-06-21 12:39:34 +03:00
Sebastien Deleuze
bcad276adb
Fix Jackson documentation broken links
...
Closes gh-23153
2019-06-19 13:59:36 +02:00
Sebastien Deleuze
bd568ea2f1
Document how to specify Jackson JSON view serialization hints
...
Closes gh-23150
2019-06-18 16:50:54 +02:00
Sam Brannen
d18d4d865e
Update Javadoc for HtmlUtils regarding Apache Commons Text
...
Closes gh-23122
2019-06-14 14:48:24 +03:00
Spring Buildmaster
108ce58025
Next Development Version
2019-06-13 14:04:56 +00:00
Juergen Hoeller
fc46abf0b7
Polishing
2019-06-12 18:04:06 +02:00
Juergen Hoeller
1ccd99ebe7
Polishing
2019-06-12 14:11:39 +02:00
Juergen Hoeller
627d37f73b
Thread-safe removal of destruction callbacks in web scopes
...
Closes gh-23117
2019-06-12 14:11:13 +02:00
Sam Brannen
0086801457
Upgrade to dokka 0.9.18
2019-06-12 09:22:59 +03:00
Juergen Hoeller
4877736794
Polishing
2019-06-12 00:58:04 +02:00
Juergen Hoeller
33b5bc2aae
Polishing
2019-06-11 23:50:29 +02:00
Juergen Hoeller
22aba8bf60
Upgrade to Apache HttpClient 4.5.9
2019-06-11 23:49:57 +02:00
Juergen Hoeller
7dc92aa05d
Polishing
2019-06-11 20:57:27 +02:00
Juergen Hoeller
1956cb1e57
Defensive concurrent access to shared file extension data structures
...
Closes gh-23064
2019-06-11 20:57:17 +02:00
Juergen Hoeller
4fc9747569
Defensive concurrent access to key set from java.util.Properties
...
Closes gh-23063
2019-06-11 20:56:57 +02:00
Juergen Hoeller
b37390b8fe
Restore javax meta-annotation lookup behavior
...
Closes gh-22957
2019-06-11 20:56:41 +02:00
Juergen Hoeller
fd159ad082
Custom init/destroy methods get invoked through interface is possible
...
Closes gh-22939
2019-06-11 20:56:30 +02:00
Juergen Hoeller
dec6d69819
ReflectivePropertyAccessor uses interface methods if possible
...
Closes gh-22242
2019-06-11 20:54:29 +02:00
Juergen Hoeller
b63c853a7d
Upgrade to Tomcat 9.0.21, Undertow 2.0.21, RxJava 2.2.9, Checkstyle 8.21
...
Includes upgrade to Reactor Californium SR9 proper.
2019-06-11 20:53:56 +02:00
Rossen Stoyanchev
9ce5a18d96
Ignore null attributes in AbstractView
...
Consistent with ConcurrentModel and also with treatment of empty values
from async attributes.
Closes gh-23038
2019-06-07 16:25:47 -04:00
Rossen Stoyanchev
9f8148419f
Separate "filtered" attribute for ERROR dispatch
...
Closes gh-22989
2019-06-07 16:07:56 -04:00
Ilya Lukyanovich
2ed81be831
Fix MockHttpServletRequest.setCookies to produce single cookie header
...
Prior to this commit, MockHttpServletRequest.setCookies() produced one
Cookie header per supplied cookie, resulting in multiple Cookie headers
which violates the specification.
This commit fixes this by ensuring that all cookie name-value pairs are
stored under a single Cookie header, separated by a semicolon.
Closes gh-23074
2019-06-06 17:13:21 +03:00
Rossen Stoyanchev
49e5c4dcf6
Polish MultipartBodyBuilder
...
Improve Javadoc
Consistently reject Publisher unless using asyncPart
Consistently set Content-Type when specified
2019-06-04 16:41:10 -04:00
Sam Brannen
6eac141160
Restore non-null check for requiredType in BeanFactory methods
...
Beginning with Spring Framework 5.0, non-null checks for the
requiredType in the following methods were inadvertently removed with
the internal switch to ResolvableType.forRawClass(requiredType).
- BeanFactory.getBean(Class<T>, Object...)
- BeanFactory.getBeanProvider(Class<T>)
- AutowireCapableBeanFactory.resolveNamedBean(Class<T>)
This commit restores those non-null checks.
Closes gh-23045
2019-06-04 16:00:01 +03:00
Jay Bryant
68333171b6
Reintroduce author list and copyright notice
...
Closes gh-23049
2019-06-04 11:54:58 +03:00
Rossen Stoyanchev
d2ec876f57
Consistently close connection after ERROR frame
...
Closes gh-23039
2019-06-03 16:22:43 -04:00
Rossen Stoyanchev
4f05da7fed
Support escape character in ContentDisposition
...
Closes gh-23077
2019-06-03 16:03:35 -04:00
Sebastien Deleuze
4523d01a50
Fix Javadoc for HttpHeaders#setContentLanguage
...
Closes gh-23051
2019-05-29 11:53:38 +02:00
Artsiom Chapialiou
0267bcb404
Fix broken asciidoc link to declarative transaction management
...
Closes gh-23041
2019-05-28 08:00:00 +02:00
Juergen Hoeller
80c6f2bcf9
Polishing
2019-05-24 23:31:32 +02:00
Juergen Hoeller
4d97a05fbc
SpringValidatorAdapter applies MessageFormat to {0}-containing message
...
Closes gh-23014
2019-05-24 23:31:06 +02:00
Sam Brannen
1e76e5086b
Upgrade to Reactor Californium snapshots
2019-05-24 18:05:53 +02:00
Stephane Nicoll
69080ade03
Upgrade to Reactor Californium snapshots
2019-05-24 14:21:37 +02:00
chrunchyjesus
771a05e878
Fix ScriptUtils for MS Windows line ending
...
Prior to this commit, ScriptUtils did not properly split SQL
scripts that contained line endings for MS Windows.
Closes gh-23019
2019-05-24 10:15:43 +02:00
Rossen Stoyanchev
5f7541344a
Fix test failing after #99302f
2019-05-23 10:41:08 -04:00
Rossen Stoyanchev
99302fd6bd
AntPathMatcher#isPattern also checks URI vars
...
Closes gh-22959
2019-05-23 09:56:11 -04:00
Juergen Hoeller
5aa0de7ac8
Upgrade to OkHttp 3.14.2, Joda-Time 2.10.2, OpenPDF 1.2.17, JRuby 9.2.7
2019-05-21 20:47:06 +02:00
Juergen Hoeller
701b7b8a18
Align ReactiveTypeDescriptor accessor methods
2019-05-21 20:46:27 +02:00
Juergen Hoeller
8cd3daad0d
Polishing
2019-05-21 00:15:40 +02:00
Juergen Hoeller
75d751d968
Polishing
2019-05-20 22:19:11 +02:00
Juergen Hoeller
55e601c322
Revise system property replacement tests
...
See gh-22959
2019-05-20 22:19:03 +02:00
Juergen Hoeller
515d627aec
Upgrade to Jackson 2.9.9
2019-05-20 17:19:34 +02:00
Juergen Hoeller
7edf8aca8e
Drop DefaultNamespaceHandlerResolverTests.testResolveInvalidHandler
...
Closes gh-22994
2019-05-20 17:19:18 +02:00
Juergen Hoeller
52e02deb53
Configurable connection recovery in SimpleMessageListenerContainer
...
Closes gh-22987
2019-05-20 17:19:00 +02:00
Juergen Hoeller
c5d6b74321
Fix stale-if-error xsd documentation
...
Closes gh-22983
2019-05-20 17:18:11 +02:00
Juergen Hoeller
4c334de850
Use Map.values() iteration within isMultipart check
...
Closes gh-22982
2019-05-20 17:17:51 +02:00
Rossen Stoyanchev
da4430e27e
BindingResult for resolved async attributes
...
ViewResolutionResultHandler no longer adds BindingResult objects for
async model attributes. Instead AbstractView adds them later when
those attributes are resolved to concrete values.
Closes gh-22933
2019-05-16 20:41:37 -04:00
Rossen Stoyanchev
172afb510a
Polish AbstractView in WebFlux
2019-05-16 14:37:04 -04:00
Rossen Stoyanchev
ffd7cffa14
Fix typo in HttpHeaders
...
Closes gh-22976
2019-05-15 16:42:07 -04:00
Rossen Stoyanchev
e0b9ed6d72
Fix typo in reference
...
Closes gh-22975
2019-05-15 16:13:02 -04:00
Rossen Stoyanchev
0274752fe9
Use singleOrEmpty to avoid upstream cancel
...
Closes gh-22952
2019-05-15 16:02:28 -04:00
Juergen Hoeller
d3110c452e
SpEL documentation refinements
2019-05-13 19:15:45 +02:00
Juergen Hoeller
0796d9af0d
Upgrade to Groovy 2.5.7
2019-05-13 18:03:23 +02:00
Juergen Hoeller
4af94dfc5d
Clarify AbstractBeanDefinition.getBeanClass() return semantics
...
Closes gh-22960
2019-05-13 18:03:12 +02:00
Juergen Hoeller
5910d2d4dc
Add missing Nullable annotation to assertNotNull
...
See gh-22932
2019-05-13 18:03:01 +02:00
Juergen Hoeller
daee6f5bd9
Avoid expensive assertions in web resource resolution
...
Closes gh-22955
2019-05-13 13:28:07 +02:00
Sam Brannen
e1b0bf22bf
Polish Javadoc for AssertionErrors
...
See gh-22932
2019-05-11 18:21:06 +02:00
Sam Brannen
233b225b4f
Remove JUnit dependency from HeaderResultMatchers
...
Prior to this commit, HeaderResultMatchers had a direct dependency on
org.junit.Assert which forces JUnit 4 to be present on the classpath.
This commit fixes this by introducing assertNotNull() in
org.springframework.test.util.AssertionErrors and delegating to that
instead.
Fixes gh-22932
2019-05-11 18:03:42 +02:00
Stephane Nicoll
8c77d0b70d
Merge pull request #22941 from chenqimiao
...
* pr/22941:
Fix typo in package-info.java
2019-05-10 10:49:43 +02:00
chenqimiao
e3137f11df
Fix typo in package-info.java
...
Closes gh-22941
2019-05-10 10:49:13 +02:00
Stephane Nicoll
4430ec7d2d
Merge pull request #22938 from crewmanmud
...
* pr/22938:
Fix typo
2019-05-10 09:57:07 +02:00
Andrew McCallum
9294b1d7eb
Fix typo
...
Closes gh-22938
2019-05-10 09:56:47 +02:00
Spring Buildmaster
f4380e3040
Next Development Version
2019-05-09 14:55:58 +00:00
Sebastien Deleuze
c8d49ed284
Fix EncoderHttpMessageWriter.isStreamingMediaType()
...
Closes gh-22936
2019-05-09 14:57:15 +02:00
Denis Zavedeev
484ec64305
Minor integration doc refinements
2019-05-09 14:27:22 +02:00
Sam Brannen
59fdce1116
Fix bug in EncoderHttpMessageWriter.isStreamingMediaType()
2019-05-09 13:24:27 +02:00
Rossen Stoyanchev
c717d245bd
Upgrade to Californium-SR8
2019-05-08 21:04:45 -04:00
Juergen Hoeller
190b751147
Support any HttpEntity implementing ResolvableTypeProvider
...
Closes gh-22931
2019-05-09 02:09:31 +02:00
Juergen Hoeller
c4a95c99e5
Upgrade to Reactor Californium SR7
2019-05-08 18:19:19 +02:00
Rossen Stoyanchev
6e0dfd6999
Check if Accept-Charset is present before adding it
...
Closes gh-22506
2019-05-08 09:40:32 -04:00
Arjen Poutsma
cdd346222c
Add reference counting for UndertowDataBuffer
...
This commit adds proper reference counting to the UndertowDataBuffer.
2019-05-08 11:58:48 +02:00
Juergen Hoeller
ecc165a94f
Consistent spelling on index page
2019-05-07 13:46:27 +02:00
Juergen Hoeller
46e5dd6420
Consistent handling of empty List entries in LinkedMultiValueMap
...
Closes gh-22912
2019-05-07 13:08:42 +02:00
Sam Brannen
4aaec942c4
Introduce HTTPS mappings in spring.schemas files
...
Closes gh-22903
2019-05-07 12:56:42 +02:00
Juergen Hoeller
053b95ceeb
Refer to non-deprecated Jackson 2.5+ addMixIn method in javadoc
2019-05-07 02:06:40 +02:00
Juergen Hoeller
d16beb0e55
Polishing
...
See gh-22900
2019-05-07 01:40:53 +02:00
Juergen Hoeller
c841b62bb0
Consistent parameter retrieval across InvocableHandlerMethod variants
...
See gh-22900
2019-05-07 01:20:05 +02:00
Juergen Hoeller
3f85a7db1b
Consistent exception naming across InvocableHandlerMethod variants
...
See gh-22900
2019-05-07 00:48:27 +02:00
Juergen Hoeller
379d81da74
Consistent thread-safe handling of manualSingletonNames Set
...
Closes gh-22896
2019-05-07 00:47:59 +02:00
Sebastien Deleuze
4b31feb243
Clarify Jackson2ObjectMapper.modules(ToInstall) semantics
...
Closes gh-22747
2019-05-06 22:09:56 +02:00
Juergen Hoeller
293188c797
Consistent non-use of firstIndex 0 in PatternMatchUtils
...
Closes gh-22837
2019-05-04 12:01:54 +02:00
Juergen Hoeller
9674ce4906
Avoid HashSet/StringBuilder allocation for non-placeholder values
...
Closes gh-22870
2019-05-04 12:00:22 +02:00
Juergen Hoeller
ea4a174583
Polishing
2019-05-03 18:10:41 +02:00
Juergen Hoeller
3d6476da46
Polishing
2019-05-03 17:29:22 +02:00
Juergen Hoeller
a7949ac84a
Consistent use of StringUtils.hasLength(String) vs isEmpty(Object)
2019-05-03 17:29:14 +02:00
Juergen Hoeller
84266d71e9
Polishing
2019-05-03 14:08:20 +02:00
Juergen Hoeller
4e10735e8f
MockHttpServletRequest restores default locale for empty accept header
...
Closes gh-22877
2019-05-03 14:08:12 +02:00
Juergen Hoeller
7aa61d9ee0
Upgrade to Jetty 9.4.18 and Netty 4.1.36
2019-05-03 00:12:03 +02:00
Juergen Hoeller
5b1b1bae37
Consistent use of try-with-resources for local resource closing
2019-05-03 00:11:47 +02:00
Juergen Hoeller
31c3b8a291
Avoid unguarded String concatenation for debug/trace logging
...
Closes gh-22874
2019-05-03 00:10:56 +02:00
Juergen Hoeller
f359c117d3
Polishing
2019-05-02 17:28:32 +02:00
Juergen Hoeller
8158b6fd86
Update postProcessBeforeInstantiation comment on factory methods
...
Closes gh-22867
2019-05-02 17:28:11 +02:00
Juergen Hoeller
18f6739be4
Allow null operands in compiled SpEL numeric operator expressions
...
Closes gh-22358
2019-05-02 17:27:49 +02:00
Rossen Stoyanchev
b398216191
Fail proactively if lookupPath not in requestUri
...
Closes gh-22851
2019-05-01 03:57:44 -04:00
Rossen Stoyanchev
b5327ef60f
Fix regression in ProducesRequestCondition
...
Closes gh-22853
2019-05-01 02:59:19 -04:00
Juergen Hoeller
a8f845c944
Upgrade to Checkstyle 8.20 and CGLIB 3.2.11
...
Includes dependency management plugin 1.0.7.
2019-04-30 18:44:08 +02:00
Juergen Hoeller
90d4e9090c
Polishing
2019-04-30 18:43:16 +02:00
Juergen Hoeller
e0423fbdc2
Revise inline comment for logException call
...
Closes gh-22794
2019-04-30 18:42:53 +02:00
Juergen Hoeller
359c4f091e
Add rejectInvalidCookies flag to CookieLocaleResolver
...
Closes gh-22861
2019-04-30 18:39:58 +02:00
Juergen Hoeller
1f473261a8
Polishing
2019-04-26 22:56:23 +02:00
Juergen Hoeller
e5e2d2d661
Polishing (includes minor performance refinements from master)
2019-04-26 16:51:18 +02:00
Juergen Hoeller
bdd9a557a5
Streamline ReactiveAdapterRegistry.getAdapter usage
...
Closes gh-22842
2019-04-26 16:49:16 +02:00
Juergen Hoeller
42fda0ba15
Upgrade to Tomcat 9.0.19, Jetty 9.4.17, Netty 4.1.35, OkHttp 3.14.1
...
Includes upgrade to Hibernate ORM 5.3.10 (for branch 5.1.x)
2019-04-25 14:32:37 +02:00
Juergen Hoeller
168a5159b8
Log ClassCastException from lambda-defined listener at trace level
...
Closes gh-22834
2019-04-25 14:31:57 +02:00
Juergen Hoeller
0cfab87b1f
Revise isEligibleValue javadoc towards BeanUtils.isSimpleValueType
...
See gh-22816
2019-04-25 14:31:09 +02:00
Rossen Stoyanchev
42fc4a35d5
Ensure flush after StreamingResponseBody
...
Closes gh-22813
2019-04-18 22:49:23 -04:00
Rossen Stoyanchev
1a97a26eb7
Disable response caching when controller resolves ETag
...
See gh-22797
2019-04-18 11:50:43 -04:00
Rossen Stoyanchev
13c746ae9d
Follow-up fix for #5b711a
...
Not only do we need to preserve Mono in writeWith in the base class
but also in ReactorServerHttpResponse where buffers are mapped.
See gh-22800
2019-04-17 13:18:01 -04:00
Sam Brannen
52b6f9b56d
Align Javadoc for Base64Utils.encodeToString() with implementation
...
Closes gh-22812
2019-04-17 12:33:22 -04:00
Stephane Nicoll
fa848805fb
Merge pull request #22809 from johnlinp
...
* pr/22809:
Polish "Remove PROPAGATION_ prefix in Javadoc"
Remove PROPAGATION_ prefix in Javadoc
2019-04-17 11:49:30 +02:00
Stephane Nicoll
b7415ec92c
Polish "Remove PROPAGATION_ prefix in Javadoc"
...
Closes gh-22809
2019-04-17 11:49:04 +02:00
John Lin
c0252f8758
Remove PROPAGATION_ prefix in Javadoc
...
See gh-22809
2019-04-17 11:48:54 +02:00
Rossen Stoyanchev
5b711a964b
Pass Mono to Reactor Netty when feasible
...
Closes gh-22800
2019-04-16 20:52:19 -04:00
Rossen Stoyanchev
15b2fb1210
Polish
...
Replacing a couple of calls to Mono.fromCallable with Mono.just which
seems to work with doOnDiscard except when nested inside Flux.defer.
2019-04-16 20:52:19 -04:00
Rossen Stoyanchev
375090bb7c
LeakAwareDataBuffer related fixes
...
Following on 3ebbfa2191 where the local
refCount was removed in favor of using the internal refCount of the
native data buffer, this commit ensures that LeakAwareDataBufferFactory
uses a PooledDataBufferFactory delegate by default.
There are also fixes for test issues with eager allocation uncovered by
these changes in StringDecoder and ResourceDecoder.
2019-04-16 20:52:19 -04:00
Rossen Stoyanchev
0109231d8e
Ensure Jackson generator flushed
...
Closes gh-22771
2019-04-15 08:40:19 -04:00
Juergen Hoeller
722cd179cf
Clean up property values registration in SimpleWebApplicationContext
...
Closes gh-22787
2019-04-12 11:10:11 +02:00
Juergen Hoeller
b07d46da99
MockCookie compares attributes in case-insensitive manner
...
Closes gh-22786
2019-04-12 11:10:02 +02:00
Juergen Hoeller
49557471a9
Upgrade to AspectJ 1.9.3, Mockito 2.27, OpenPDF 1.2.16, POI 4.1
2019-04-12 11:03:43 +02:00
Rossen Stoyanchev
bd2c213b47
Remove buffer release used as workaround
...
The extra buffer release was used as a workaround for a reactor core
issue and should have already been removed as part of
b3bc2d9253 .
2019-04-10 15:36:36 -04:00
Rossen Stoyanchev
3ebbfa2191
Fix refCount issue in LeakAwareDataBuffer
...
LeakAwareDataBuffer was keeping its own refCount rather than checking
through the delegate. This leads to false leak reports in a sequence
where an allocated buffer is retained and then sliced since it is not
aware of the changes to the refCount through the slice.
2019-04-10 15:33:19 -04:00
Rossen Stoyanchev
28e206a946
Apply doOnDiscard for streaming mode
...
Use of Flux.just is problematic in that if the Flux is cancelled before
demand, the item may never be read, nor freed. Flux#just does not
even delegate cancellation signals.
Closes gh-22731
2019-04-09 22:30:26 -04:00
Rossen Stoyanchev
b11e7feff6
Polish during review of DataBuffer handling
2019-04-09 22:19:05 -04:00
Rossen Stoyanchev
bd956ed75a
DataBuffer fixes in Protobuf codecs
...
Closes gh-22731
2019-04-09 17:00:26 -04:00
Juergen Hoeller
2835424f9d
Jackson2Tokenizer creates fully configured DeserializationContext
...
Closes gh-22510
2019-04-09 17:59:10 +02:00
Juergen Hoeller
1cd1e936c2
Upgrade to Checkstyle 8.19, Mockito 2.26, Undertow 2.0.20
2019-04-08 19:59:24 +02:00
Juergen Hoeller
4ec9aff01d
Polishing
2019-04-08 19:59:06 +02:00
Juergen Hoeller
d1303affc8
Avoid expensive Stream API usage in HttpRange
...
See gh-22742
2019-04-08 19:42:21 +02:00
Sebastien Deleuze
a089027e7d
Fix a regression in Jackson builder module registration
...
This commit brings back the support for registration of multiple
Jackson modules with a null typeId.
Closes gh-22740
2019-04-08 15:37:10 +02:00
Juergen Hoeller
43cb1af26a
Polishing
2019-04-08 15:33:26 +02:00
Juergen Hoeller
a1efe3cfe5
Avoid MessageFormat processing for default Bean Validation messages
...
Closes gh-22761
2019-04-08 15:33:04 +02:00
Juergen Hoeller
fc9ce7cd99
Skip plain Java annotations in SourceClass.getAnnotations() upfront
...
Includes direct reflective introspection of annotations when possible.
Closes gh-22750
2019-04-08 15:32:52 +02:00
Sam Brannen
a1668ad1c2
Fix Javadoc for PathPattern
2019-04-06 11:21:39 +02:00
Rossen Stoyanchev
57558a481a
DataBuffer fixes in View implementations
...
Closes gh-22754
2019-04-05 21:42:12 -04:00
Rossen Stoyanchev
6cabb79f0f
Decode resourcePath for classpath locations
...
Closes gh-22272
2019-04-05 16:23:33 -04:00
Juergen Hoeller
da557e7415
Avoid expensive assertions in HttpRange
...
Closes gh-22742
2019-04-05 12:47:02 +02:00
Juergen Hoeller
95232d5bf8
Upgrade to Apache HttpClient 4.5.8 and Jetty Reactive HttpClient 1.0.3
2019-04-04 16:10:16 +02:00
Juergen Hoeller
97b83a3e4a
Revised documentation on constructor autowiring semantics
...
Closes gh-22735
2019-04-04 16:09:51 +02:00
Rossen Stoyanchev
325fb5d97e
Unwrap CompletionException in return value handler
...
See gh-22476
2019-04-03 19:37:13 -04:00
Rossen Stoyanchev
b3bc2d9253
Remove workaround for reactor-core issue
2019-04-03 16:27:02 -04:00
Juergen Hoeller
0cc6a9ef11
Avoid getDeclaredMethod check in ReflectionUtils.isObjectMethod
...
Closes gh-22730
2019-04-03 18:21:26 +02:00
Juergen Hoeller
9ea02c6dfa
Revised javadoc
2019-04-03 14:34:11 +02:00
Juergen Hoeller
abbe61b9f8
Consistent internal use of getMergedLocalBeanDefinition
2019-04-03 14:33:57 +02:00
Juergen Hoeller
0babc1fb64
Polishing
2019-04-02 20:04:07 +02:00
Juergen Hoeller
95a84bbad1
Clarify case-insensitive nature of HttpHeaders
...
Closes gh-22723
2019-04-02 20:04:00 +02:00
Rossen Stoyanchev
4c08863776
Add test case for writeFunction error signal
...
See gh-22720
2019-04-02 11:00:58 -04:00
Violeta Georgieva
9bd0ec33f8
Release cached item in ChannelSendOperator when server error
...
Related to gh-22720
2019-04-02 16:42:52 +03:00
Rossen Stoyanchev
9c48d63082
Release cached item in ChannelSendOperator
...
1. If the write Subscriber cancels with the item cached, release it.
2. If the write Publisher emits an error while the item is cached, when
the write Subscriber subscribes, release the cached item and emit the
error signal.
Closes gh-22720
2019-04-01 17:15:16 -04:00
Stephane Nicoll
de2a01eee4
Polish
...
Closes gh-22717
2019-04-01 14:01:41 +02:00
Stephane Nicoll
7882a33e07
Merge pull request #22718 from jKiler
...
* pr/22718:
Polish contribution
Polish
2019-04-01 13:55:30 +02:00
Stephane Nicoll
db64286589
Polish contribution
...
Closes gh-22718
2019-04-01 13:55:00 +02:00
Jerzy
ee1322ccbb
Polish
...
See gh-22718
2019-04-01 13:54:45 +02:00
Spring Buildmaster
d6088fa64e
Next Development Version
2019-03-31 08:42:44 +00:00
Juergen Hoeller
c6619006eb
Polishing
2019-03-30 00:20:32 +01:00
Juergen Hoeller
3ba0a79a57
Upgrade to OpenPDF 1.2.12
2019-03-30 00:13:29 +01:00
Juergen Hoeller
462d047f72
Typo fixes and formatting
2019-03-29 23:44:00 +01:00
Rossen Stoyanchev
85332c7a49
Polish
2019-03-29 15:53:45 -04:00
Rossen Stoyanchev
81f95efdbb
Call onDispose before first read
...
The cancellation callback in asynchronousReadFileChannel must be called
before the first read I/O or otherwise if cancellation signals happens
immediately the onDispose callback may be missed.
The DefaultBufferFactory workaround however remains in place until an
expected additional fix arrives with Reactor Core 3.2.9.
See gh-22107
2019-03-29 15:43:06 -04:00
Rossen Stoyanchev
9a1bba5b67
NettyDataBufferFactory.wrap(ByteBuf) calls touch()
...
Closes gh-21960
2019-03-29 15:25:28 -04:00
Rossen Stoyanchev
57d006b3ff
Fix checkstyle warning
2019-03-28 17:37:12 -04:00
Rossen Stoyanchev
beae1fbb12
Uncomment buffer leak tests in DataBufferUtils
...
Following a response on
https://github.com/reactor/reactor-core/issues/1634 apparently
FluxSink is respecting doOnDiscard but there is a race condition
in DataBufferUtils with file reading.
This commit makes two changes:
1) Add more checks for onDispose to detect cancellation signals
as well as to deal with potentially concurrent such signal.
2) Do not close the channel through the Flux.using callback but
rather allow the current I/O callback to take place and only then
close the channel or else the buffer is left hanging.
Despite this tests still can fail due to a suspected issue in Reactor
itself with the doOnDiscard callback for FluxSink. That's tracked under
the same issue https://github.com/reactor/reactor-core/issues/1634
and for now the use of DefaultDataBufferFactory is enforced as a
workaround until the issue is resolved.
See gh-22107
2019-03-28 17:18:40 -04:00
Sam Brannen
3cf2c04406
URL Cleanup - polishing
...
See gh-22680
2019-03-27 22:05:38 +01:00
Sam Brannen
c90b6ea0bb
URL Cleanup - upgrade to more modern Xalan namespace
...
See gh-22680
2019-03-27 22:05:38 +01:00
Sam Brannen
83293b39df
URL Cleanup - fix undesirable code change
...
Namespace handlers are mapped based on the canonical names for XML
namespaces which in Spring do not use "https" as the scheme.
See gh-22680
2019-03-27 22:05:38 +01:00
Sam Brannen
5dc9c4c527
URL Cleanup - Fix broken tests
...
See gh-22680
2019-03-27 22:05:38 +01:00
Spring Operator
3db08c6b7a
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.
* [ ] http://aopalliance.sourceforge.net (200) with 1 occurrences could not be migrated:
([https](https://aopalliance.sourceforge.net ) result AnnotatedConnectException).
* [ ] http://cglib.sourceforge.net (200) with 2 occurrences could not be migrated:
([https](https://cglib.sourceforge.net ) result AnnotatedConnectException).
* [ ] http://classdoc.sourceforge.net (200) with 1 occurrences could not be migrated:
([https](https://classdoc.sourceforge.net ) result AnnotatedConnectException).
* [ ] http://code.jquery.com:80/jquery.js (200) with 1 occurrences could not be migrated:
([https](https://code.jquery.com:80/jquery.js ) result SSLException).
* [ ] http://dbunit.sourceforge.net/ (200) with 1 occurrences could not be migrated:
([https](https://dbunit.sourceforge.net/ ) result AnnotatedConnectException).
* [ ] http://docs.groovy-lang.org/docs/next/html/documentation/template-engines.html (200) with 1 occurrences could not be migrated:
([https](https://docs.groovy-lang.org/docs/next/html/documentation/template-engines.html ) result SSLProtocolException).
* [ ] http://domain3.com (200) with 6 occurrences could not be migrated:
([https](https://domain3.com ) result ConnectTimeoutException).
* [ ] http://forum.thymeleaf.org/Thymeleaf-3-0-8-JUST-PUBLISHED-td4030687.html (200) with 1 occurrences could not be migrated:
([https](https://forum.thymeleaf.org/Thymeleaf-3-0-8-JUST-PUBLISHED-td4030687.html ) result SSLHandshakeException).
* [ ] http://gregfranko.com/jquery.tocify.js/ (200) with 1 occurrences could not be migrated:
([https](https://gregfranko.com/jquery.tocify.js/ ) result SSLHandshakeException).
* [ ] http://grinder.sourceforge.net/ (200) with 1 occurrences could not be migrated:
([https](https://grinder.sourceforge.net/ ) result AnnotatedConnectException).
* [ ] http://groovy-lang.org/templating.html (200) with 3 occurrences could not be migrated:
([https](https://groovy-lang.org/templating.html ) result SSLProtocolException).
* [ ] http://hsqldb.org (200) with 1 occurrences could not be migrated:
([https](https://hsqldb.org ) result SSLHandshakeException).
* [ ] http://htmlunit.sourceforge.net/ (200) with 3 occurrences could not be migrated:
([https](https://htmlunit.sourceforge.net/ ) result AnnotatedConnectException).
* [ ] http://htmlunit.sourceforge.net/gettingStarted.html (200) with 1 occurrences could not be migrated:
([https](https://htmlunit.sourceforge.net/gettingStarted.html ) result AnnotatedConnectException).
* [ ] http://htmlunit.sourceforge.net/javascript.html (200) with 1 occurrences could not be migrated:
([https](https://htmlunit.sourceforge.net/javascript.html ) result AnnotatedConnectException).
* [ ] http://javadiff.cvs.sourceforge.net/ (200) with 3 occurrences could not be migrated:
([https](https://javadiff.cvs.sourceforge.net/ ) result SSLHandshakeException).
* [ ] http://jibx.sourceforge.net/ (200) with 2 occurrences could not be migrated:
([https](https://jibx.sourceforge.net/ ) result AnnotatedConnectException).
* [ ] http://joda-time.sourceforge.net (200) with 1 occurrences could not be migrated:
([https](https://joda-time.sourceforge.net ) result AnnotatedConnectException).
* [ ] http://jotm.objectweb.org/ (200) with 1 occurrences could not be migrated:
([https](https://jotm.objectweb.org/ ) result NotSslRecordException).
* [ ] http://json-b.net/ (200) with 1 occurrences could not be migrated:
([https](https://json-b.net/ ) result SSLHandshakeException).
* [ ] http://mx4j.sourceforge.net (200) with 1 occurrences could not be migrated:
([https](https://mx4j.sourceforge.net ) result AnnotatedConnectException).
* [ ] http://mx4j.sourceforge.net/ (200) with 1 occurrences could not be migrated:
([https](https://mx4j.sourceforge.net/ ) result AnnotatedConnectException).
* [ ] http://mydomain3.com (200) with 9 occurrences could not be migrated:
([https](https://mydomain3.com ) result ConnectTimeoutException).
* [ ] http://objenesis.org (200) with 1 occurrences could not be migrated:
([https](https://objenesis.org ) result SSLHandshakeException).
* [ ] http://objenesis.org/tutorial.html (200) with 1 occurrences could not be migrated:
([https](https://objenesis.org/tutorial.html ) result SSLHandshakeException).
* [ ] http://other.com/ (200) with 2 occurrences could not be migrated:
([https](https://other.com/ ) result SSLHandshakeException).
* [ ] http://reactivex.io/ (200) with 1 occurrences could not be migrated:
([https](https://reactivex.io/ ) result SSLHandshakeException).
* [ ] http://reactivex.io/documentation/operators.html (200) with 1 occurrences could not be migrated:
([https](https://reactivex.io/documentation/operators.html ) result SSLHandshakeException).
* [ ] http://url.somewhereelse.com (200) with 4 occurrences could not be migrated:
([https](https://url.somewhereelse.com ) result SSLHandshakeException).
* [ ] http://www.beanshell.org (200) with 1 occurrences could not be migrated:
([https](https://www.beanshell.org ) result SSLHandshakeException).
* [ ] http://www.beanshell.org/ (200) with 1 occurrences could not be migrated:
([https](https://www.beanshell.org/ ) result SSLHandshakeException).
* [ ] http://www.doclet.com (200) with 1 occurrences could not be migrated:
([https](https://www.doclet.com ) result AnnotatedConnectException).
* [ ] http://www.gebish.org/ (200) with 1 occurrences could not be migrated:
([https](https://www.gebish.org/ ) result SSLHandshakeException).
* [ ] http://www.gebish.org/manual/current/ (200) with 3 occurrences could not be migrated:
([https](https://www.gebish.org/manual/current/ ) result SSLHandshakeException).
* [ ] http://www.groovy-lang.org/ (200) with 2 occurrences could not be migrated:
([https](https://www.groovy-lang.org/ ) result SSLProtocolException).
* [ ] http://www.groovy-lang.org/operators.html (200) with 2 occurrences could not be migrated:
([https](https://www.groovy-lang.org/operators.html ) result SSLProtocolException).
* [ ] http://www.hsqldb.org (200) with 1 occurrences could not be migrated:
([https](https://www.hsqldb.org ) result SSLHandshakeException).
* [ ] http://www.jensgulden.de (200) with 1 occurrences could not be migrated:
([https](https://www.jensgulden.de ) result AnnotatedConnectException).
* [ ] http://www.mockobjects.com (200) with 2 occurrences could not be migrated:
([https](https://www.mockobjects.com ) result ClosedChannelException).
* [ ] http://www.mockobjects.com/ (200) with 1 occurrences could not be migrated:
([https](https://www.mockobjects.com/ ) result ClosedChannelException).
* [ ] http://xmlunit.sourceforge.net/ (200) with 2 occurrences could not be migrated:
([https](https://xmlunit.sourceforge.net/ ) result AnnotatedConnectException).
* [ ] http://192.168.0.1/mvc-showcase (301) with 1 occurrences could not be migrated:
([https](https://192.168.0.1/mvc-showcase ) result ConnectTimeoutException).
* [ ] http://www.easymock.org (301) with 2 occurrences could not be migrated:
([https](https://www.easymock.org ) result SSLHandshakeException).
* [ ] http://www.easymock.org/ (301) with 1 occurrences could not be migrated:
([https](https://www.easymock.org/ ) result SSLHandshakeException).
* [ ] http://www.jmock.org/ (301) with 1 occurrences could not be migrated:
([https](https://www.jmock.org/ ) result SSLHandshakeException).
* [ ] http://foo.com (301) with 4 occurrences could not be migrated:
([https](https://foo.com ) result SSLHandshakeException).
* [ ] http://foo.com/ (301) with 1 occurrences could not be migrated:
([https](https://foo.com/ ) result SSLHandshakeException).
* [ ] http://foo.com/a (301) with 1 occurrences could not be migrated:
([https](https://foo.com/a ) result SSLHandshakeException).
* [ ] http://foo.com/a?foo=bar&foo=baz (301) with 4 occurrences could not be migrated:
([https](https://foo.com/a?foo=bar&foo=baz ) result SSLHandshakeException).
* [ ] http://foo.com/bar (301) with 5 occurrences could not be migrated:
([https](https://foo.com/bar ) result SSLHandshakeException).
* [ ] http://foo.com/baz (301) with 1 occurrences could not be migrated:
([https](https://foo.com/baz ) result SSLHandshakeException).
* [ ] http://foo.com/rest/books/6.json (301) with 1 occurrences could not be migrated:
([https](https://foo.com/rest/books/6.json ) result SSLHandshakeException).
* [ ] http://foo.com/rest/books/6/pages/1.json (301) with 1 occurrences could not be migrated:
([https](https://foo.com/rest/books/6/pages/1.json ) result SSLHandshakeException).
* [ ] http://foo.com/v1 (301) with 1 occurrences could not be migrated:
([https](https://foo.com/v1 ) result SSLHandshakeException).
* [ ] http://foo.com/v1/123 (301) with 1 occurrences could not be migrated:
([https](https://foo.com/v1/123 ) result SSLHandshakeException).
* [ ] http://foo.com/v1/bar (301) with 1 occurrences could not be migrated:
([https](https://foo.com/v1/bar ) result SSLHandshakeException).
* [ ] http://foo.com/v1?id=123 (301) with 2 occurrences could not be migrated:
([https](https://foo.com/v1?id=123 ) result SSLHandshakeException).
* [ ] http://foo.com/wrong (301) with 1 occurrences could not be migrated:
([https](https://foo.com/wrong ) result SSLHandshakeException).
* [ ] http://mydomain4.com (301) with 3 occurrences could not be migrated:
([https](https://mydomain4.com ) result SSLHandshakeException).
* [ ] http://www.caucho.com/hessian (302) with 6 occurrences could not be migrated:
([https](https://www.caucho.com/hessian ) result SSLHandshakeException).
* [ ] http://mydomain2.com (302) with 22 occurrences could not be migrated:
([https](https://mydomain2.com ) result ConnectTimeoutException).
* [ ] http://www.jdiff.org (302) with 1 occurrences could not be migrated:
([https](https://www.jdiff.org ) result ConnectTimeoutException).
* [ ] http://example.com:80/test/this/here (404) with 3 occurrences could not be migrated:
([https](https://example.com:80/test/this/here ) result NotSslRecordException).
* [ ] http://www.foo.com/schema/component/component.xsd (404) with 1 occurrences could not be migrated:
([https](https://www.foo.com/schema/component/component.xsd ) result SSLHandshakeException).
* [ ] http://www.foo.com/schema/jcache (404) with 2 occurrences could not be migrated:
([https](https://www.foo.com/schema/jcache ) result SSLHandshakeException).
* [ ] http://www.mycompany.com/schema/myns/myns.xsd (404) with 1 occurrences could not be migrated:
([https](https://www.mycompany.com/schema/myns/myns.xsd ) result ConnectTimeoutException).
* [ ] http://xunitpatterns.com/Test%20Spy.html (404) with 1 occurrences could not be migrated:
([https](https://xunitpatterns.com/Test%20Spy.html ) result AnnotatedConnectException).
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* [ ] http://bugs.sun.com/view_bug.do?bug_id=6342411 (302) with 1 occurrences migrated to:
https://bugs.java.com/view_bug.do?bug_id=6342411 ([https](https://bugs.sun.com/view_bug.do?bug_id=6342411 ) result SSLHandshakeException).
* [ ] http://bugs.sun.com/view_bug.do?bug_id=7023180 (302) with 2 occurrences migrated to:
https://bugs.java.com/view_bug.do?bug_id=7023180 ([https](https://bugs.sun.com/view_bug.do?bug_id=7023180 ) result SSLHandshakeException).
* [ ] http://www.freemarker.org (301) with 5 occurrences migrated to:
https://freemarker.apache.org/ ([https](https://www.freemarker.org ) result ConnectTimeoutException).
* [ ] http://sockjs.org (303) with 2 occurrences migrated to:
https://github.com/sockjs/sockjs-client ([https](https://sockjs.org ) result AnnotatedConnectException).
* [ ] http://network.pivotal.io/open-source (301) with 1 occurrences migrated to:
https://network.pivotal.io/open-source ([https](https://network.pivotal.io/open-source ) result ReadTimeoutException).
* [ ] http://projects.eclipse.org/projects/tools.buildship (301) with 1 occurrences migrated to:
https://projects.eclipse.org/projects/tools.buildship ([https](https://projects.eclipse.org/projects/tools.buildship ) result SSLException).
* [ ] http://aaa.org:8080/a (301) with 1 occurrences migrated to:
https://www.aaa.org/articles/ ([https](https://aaa.org:8080/a ) result NotSslRecordException).
* [ ] http://aaa.org:8080/b/c/d (301) with 1 occurrences migrated to:
https://www.aaa.org/b/c/d ([https](https://aaa.org:8080/b/c/d ) result ReadTimeoutException).
* [ ] http://www.caucho.com (302) with 1 occurrences migrated to:
https://www.caucho.com/ ([https](https://www.caucho.com ) result SSLHandshakeException).
* [ ] http://jruby.org (301) with 4 occurrences migrated to:
https://www.jruby.org ([https](https://jruby.org ) result SSLHandshakeException).
* [ ] http://jruby.org/ (301) with 1 occurrences migrated to:
https://www.jruby.org ([https](https://jruby.org/ ) result SSLHandshakeException).
* [ ] http://bbb.org:9090/b (AnnotatedConnectException) with 2 occurrences migrated to:
https://bbb.org:9090/b ([https](https://bbb.org:9090/b ) result AnnotatedConnectException).
* [ ] http://192.168.28.42/1.jsp (ConnectTimeoutException) with 3 occurrences migrated to:
https://192.168.28.42/1.jsp ([https](https://192.168.28.42/1.jsp ) result ConnectTimeoutException).
* [ ] http://example.com:8080/ (ConnectTimeoutException) with 1 occurrences migrated to:
https://example.com:8080/ ([https](https://example.com:8080/ ) result ConnectTimeoutException).
* [ ] http://example.com:8080/bar (ConnectTimeoutException) with 5 occurrences migrated to:
https://example.com:8080/bar ([https](https://example.com:8080/bar ) result ConnectTimeoutException).
* [ ] http://example.org:9090 (ConnectTimeoutException) with 2 occurrences migrated to:
https://example.org:9090 ([https](https://example.org:9090 ) result ConnectTimeoutException).
* [ ] http://example.org:9090/base (ConnectTimeoutException) with 12 occurrences migrated to:
https://example.org:9090/base ([https](https://example.org:9090/base ) result ConnectTimeoutException).
* [ ] http://example.org:9090/base/people (ConnectTimeoutException) with 2 occurrences migrated to:
https://example.org:9090/base/people ([https](https://example.org:9090/base/people ) result ConnectTimeoutException).
* [ ] http://example.org:9090/base/something/1/foo (ConnectTimeoutException) with 2 occurrences migrated to:
https://example.org:9090/base/something/1/foo ([https](https://example.org:9090/base/something/1/foo ) result ConnectTimeoutException).
* [ ] http://example.org:9090/base/something/else (ConnectTimeoutException) with 2 occurrences migrated to:
https://example.org:9090/base/something/else ([https](https://example.org:9090/base/something/else ) result ConnectTimeoutException).
* [ ] http://example.org:9999/base (ConnectTimeoutException) with 1 occurrences migrated to:
https://example.org:9999/base ([https](https://example.org:9999/base ) result ConnectTimeoutException).
* [ ] http://example.org:9999/base/api/people/123/addresses (ConnectTimeoutException) with 1 occurrences migrated to:
https://example.org:9999/base/api/people/123/addresses ([https](https://example.org:9999/base/api/people/123/addresses ) result ConnectTimeoutException).
* [ ] http://example.org:9999/base/api/people/123/addresses/DE (ConnectTimeoutException) with 1 occurrences migrated to:
https://example.org:9999/base/api/people/123/addresses/DE ([https](https://example.org:9999/base/api/people/123/addresses/DE ) result ConnectTimeoutException).
* [ ] http://example.org:9999/base/people/123/addresses/DE (ConnectTimeoutException) with 1 occurrences migrated to:
https://example.org:9999/base/people/123/addresses/DE ([https](https://example.org:9999/base/people/123/addresses/DE ) result ConnectTimeoutException).
* [ ] http://example.org:9999/next (ConnectTimeoutException) with 1 occurrences migrated to:
https://example.org:9999/next ([https](https://example.org:9999/next ) result ConnectTimeoutException).
* [ ] http://example.org:9999/path?q=foo (ConnectTimeoutException) with 1 occurrences migrated to:
https://example.org:9999/path?q=foo ([https](https://example.org:9999/path?q=foo ) result ConnectTimeoutException).
* [ ] http://foo.com:8080/v1/bar?id=123 (ConnectTimeoutException) with 1 occurrences migrated to:
https://foo.com:8080/v1/bar?id=123 ([https](https://foo.com:8080/v1/bar?id=123 ) result ConnectTimeoutException).
* [ ] http://mydomain1.com:123 (ConnectTimeoutException) with 1 occurrences migrated to:
https://mydomain1.com:123 ([https](https://mydomain1.com:123 ) result ConnectTimeoutException).
* [ ] http://site1.com (ConnectTimeoutException) with 13 occurrences migrated to:
https://site1.com ([https](https://site1.com ) result ConnectTimeoutException).
* [ ] http://wwws.sun.com/software/xml/developers/diffmk/ (ConnectTimeoutException) with 1 occurrences migrated to:
https://wwws.sun.com/software/xml/developers/diffmk/ ([https](https://wwws.sun.com/software/xml/developers/diffmk/ ) result ConnectTimeoutException).
* [ ] http://www.w3.org/TR/html4/loose.dtd (ReadTimeoutException) with 5 occurrences migrated to:
https://www.w3.org/TR/html4/loose.dtd ([https](https://www.w3.org/TR/html4/loose.dtd ) result ReadTimeoutException).
* [ ] http://DOMAIN2.com (UnknownHostException) with 2 occurrences migrated to:
https://DOMAIN2.com ([https](https://DOMAIN2.com ) result UnknownHostException).
* [ ] http://a.example.org/mvc-showcase (UnknownHostException) with 1 occurrences migrated to:
https://a.example.org/mvc-showcase ([https](https://a.example.org/mvc-showcase ) result UnknownHostException).
* [ ] http://arjen:foobar@java.sun.com:80 (UnknownHostException) with 1 occurrences migrated to:
https://arjen:foobar@java.sun.com:80 ([https](https://arjen:foobar@java.sun.com:80 ) result UnknownHostException).
* [ ] http://dev.bar.com (UnknownHostException) with 3 occurrences migrated to:
https://dev.bar.com ([https](https://dev.bar.com ) result UnknownHostException).
* [ ] http://domain1.com (UnknownHostException) with 25 occurrences migrated to:
https://domain1.com ([https](https://domain1.com ) result UnknownHostException).
* [ ] http://domain1.com/test.html (UnknownHostException) with 4 occurrences migrated to:
https://domain1.com/test.html ([https](https://domain1.com/test.html ) result UnknownHostException).
* [ ] http://domain2.com (UnknownHostException) with 98 occurrences migrated to:
https://domain2.com ([https](https://domain2.com ) result UnknownHostException).
* [ ] http://example.com",HttpMethod.GET (UnknownHostException) with 6 occurrences migrated to:
https://example.com",HttpMethod.GET ([https](https://example.com",HttpMethod.GET ) result UnknownHostException).
* [ ] http://foo.bar.com (UnknownHostException) with 4 occurrences migrated to:
https://foo.bar.com ([https](https://foo.bar.com ) result UnknownHostException).
* [ ] http://joe.openid.example.org/ (UnknownHostException) with 2 occurrences migrated to:
https://joe.openid.example.org/ ([https](https://joe.openid.example.org/ ) result UnknownHostException).
* [ ] http://myserver/logo.png (UnknownHostException) with 1 occurrences migrated to:
https://myserver/logo.png ([https](https://myserver/logo.png ) result UnknownHostException).
* [ ] http://samples.springframework.org/order (UnknownHostException) with 2 occurrences migrated to:
https://samples.springframework.org/order ([https](https://samples.springframework.org/order ) result UnknownHostException).
* [ ] http://url.somewhere.com (UnknownHostException) with 25 occurrences migrated to:
https://url.somewhere.com ([https](https://url.somewhere.com ) result UnknownHostException).
* [ ] http://url.somewhere.com/path (UnknownHostException) with 1 occurrences migrated to:
https://url.somewhere.com/path ([https](https://url.somewhere.com/path ) result UnknownHostException).
* [ ] http://url.somewhere.com/path?id=1 (UnknownHostException) with 1 occurrences migrated to:
https://url.somewhere.com/path?id=1 ([https](https://url.somewhere.com/path?id=1 ) result UnknownHostException).
* [ ] http://url.somewhere.com/test.htm (UnknownHostException) with 2 occurrences migrated to:
https://url.somewhere.com/test.htm ([https](https://url.somewhere.com/test.htm ) result UnknownHostException).
* [ ] http://url.somewhere.com?a=b&c=d (UnknownHostException) with 1 occurrences migrated to:
https://url.somewhere.com?a=b&c=d ([https](https://url.somewhere.com?a=b&c=d ) result UnknownHostException).
* [ ] http://url.somewhere.com?foo= (UnknownHostException) with 2 occurrences migrated to:
https://url.somewhere.com?foo= ([https](https://url.somewhere.com?foo= ) result UnknownHostException).
* [ ] http://url.somewhere.com?foo=bar (UnknownHostException) with 4 occurrences migrated to:
https://url.somewhere.com?foo=bar ([https](https://url.somewhere.com?foo=bar ) result UnknownHostException).
* [ ] http://url.somewhere.com?foo=bar&a=b&c=d (UnknownHostException) with 2 occurrences migrated to:
https://url.somewhere.com?foo=bar&a=b&c=d ([https](https://url.somewhere.com?foo=bar&a=b&c=d ) result UnknownHostException).
* [ ] http://wiki.fasterxml.com/JacksonHome (UnknownHostException) with 3 occurrences migrated to:
https://wiki.fasterxml.com/JacksonHome ([https](https://wiki.fasterxml.com/JacksonHome ) result UnknownHostException).
* [ ] http://wiki.fasterxml.com/JacksonJsonViews (UnknownHostException) with 4 occurrences migrated to:
https://wiki.fasterxml.com/JacksonJsonViews ([https](https://wiki.fasterxml.com/JacksonJsonViews ) result UnknownHostException).
* [ ] http://x.y.z (UnknownHostException) with 2 occurrences migrated to:
https://x.y.z ([https](https://x.y.z ) result UnknownHostException).
* [ ] http://abc.com/v1 (301) with 1 occurrences migrated to:
https://abc.go.com/v1 ([https](https://abc.com/v1 ) result 404).
* [ ] http://abc.com/v1/accounts/43 (301) with 1 occurrences migrated to:
https://abc.go.com/v1/accounts/43 ([https](https://abc.com/v1/accounts/43 ) result 404).
* [ ] http://abc.com/v1/accounts?q=12 (301) with 1 occurrences migrated to:
https://abc.go.com/v1/accounts?q=12 ([https](https://abc.com/v1/accounts?q=12 ) result 404).
* [ ] http://abc.com/v2/accounts?q=12 (301) with 1 occurrences migrated to:
https://abc.go.com/v2/accounts?q=12 ([https](https://abc.com/v2/accounts?q=12 ) result 404).
* [ ] http://docs.spring.io/v1/bar (301) with 1 occurrences migrated to:
https://docs.spring.io/v1/bar ([https](https://docs.spring.io/v1/bar ) result 404).
* [ ] http://example.com/-foo (404) with 2 occurrences migrated to:
https://example.com/-foo ([https](https://example.com/-foo ) result 404).
* [ ] http://example.com/1 (404) with 1 occurrences migrated to:
https://example.com/1 ([https](https://example.com/1 ) result 404).
* [ ] http://example.com/1/2 (404) with 2 occurrences migrated to:
https://example.com/1/2 ([https](https://example.com/1/2 ) result 404).
* [ ] http://example.com/2 (404) with 1 occurrences migrated to:
https://example.com/2 ([https](https://example.com/2 ) result 404).
* [ ] http://example.com/a%20b?q=a%2Bb (404) with 1 occurrences migrated to:
https://example.com/a%20b?q=a%2Bb ([https](https://example.com/a%20b?q=a%2Bb ) result 404).
* [ ] http://example.com/abc/ (404) with 1 occurrences migrated to:
https://example.com/abc/ ([https](https://example.com/abc/ ) result 404).
* [ ] http://example.com/abc/x/y (404) with 1 occurrences migrated to:
https://example.com/abc/x/y ([https](https://example.com/abc/x/y ) result 404).
* [ ] http://example.com/abc/x/y/z (404) with 3 occurrences migrated to:
https://example.com/abc/x/y/z ([https](https://example.com/abc/x/y/z ) result 404).
* [ ] http://example.com/app/login/authenticate (404) with 1 occurrences migrated to:
https://example.com/app/login/authenticate ([https](https://example.com/app/login/authenticate ) result 404).
* [ ] http://example.com/arbitrary/path (404) with 1 occurrences migrated to:
https://example.com/arbitrary/path ([https](https://example.com/arbitrary/path ) result 404).
* [ ] http://example.com/bar (404) with 6 occurrences migrated to:
https://example.com/bar ([https](https://example.com/bar ) result 404).
* [ ] http://example.com/context.xml (404) with 4 occurrences migrated to:
https://example.com/context.xml ([https](https://example.com/context.xml ) result 404).
* [ ] http://example.com/example (404) with 6 occurrences migrated to:
https://example.com/example ([https](https://example.com/example ) result 404).
* [ ] http://example.com/example/?name (404) with 1 occurrences migrated to:
https://example.com/example/?name ([https](https://example.com/example/?name ) result 404).
* [ ] http://example.com/example/?name= (404) with 1 occurrences migrated to:
https://example.com/example/?name= ([https](https://example.com/example/?name= ) result 404).
* [ ] http://example.com/example/?name=%20 (404) with 1 occurrences migrated to:
https://example.com/example/?name=%20 ([https](https://example.com/example/?name=%20 ) result 404).
* [ ] http://example.com/example/?name=row%5B0%5D (404) with 1 occurrences migrated to:
https://example.com/example/?name=row%5B0%5D ([https](https://example.com/example/?name=row%5B0%5D ) result 404).
* [ ] http://example.com/example/?name=value (404) with 1 occurrences migrated to:
https://example.com/example/?name=value ([https](https://example.com/example/?name=value ) result 404).
* [ ] http://example.com/example/?name=value¶m2=value+2 (404) with 1 occurrences migrated to:
https://example.com/example/?name=value¶m2=value+2 ([https](https://example.com/example/?name=value¶m2=value+2 ) result 404).
* [ ] http://example.com/example/?row%5B0%5D=value (404) with 1 occurrences migrated to:
https://example.com/example/?row%5B0%5D=value ([https](https://example.com/example/?row%5B0%5D=value ) result 404).
* [ ] http://example.com/foo (404) with 6 occurrences migrated to:
https://example.com/foo ([https](https://example.com/foo ) result 404).
* [ ] http://example.com/foo/../bar (404) with 1 occurrences migrated to:
https://example.com/foo/../bar ([https](https://example.com/foo/../bar ) result 404).
* [ ] http://example.com/foo/foo2?bar (404) with 1 occurrences migrated to:
https://example.com/foo/foo2?bar ([https](https://example.com/foo/foo2?bar ) result 404).
* [ ] http://example.com/foo?bar (404) with 4 occurrences migrated to:
https://example.com/foo?bar ([https](https://example.com/foo?bar ) result 404).
* [ ] http://example.com/foo?bar= (404) with 2 occurrences migrated to:
https://example.com/foo?bar= ([https](https://example.com/foo?bar= ) result 404).
* [ ] http://example.com/foo?bar=baz (404) with 2 occurrences migrated to:
https://example.com/foo?bar=baz ([https](https://example.com/foo?bar=baz ) result 404).
* [ ] http://example.com/foo?baz=42 (404) with 1 occurrences migrated to:
https://example.com/foo?baz=42 ([https](https://example.com/foo?baz=42 ) result 404).
* [ ] http://example.com/foo?foo=bar&baz=qux (404) with 2 occurrences migrated to:
https://example.com/foo?foo=bar&baz=qux ([https](https://example.com/foo?foo=bar&baz=qux ) result 404).
* [ ] http://example.com/hotel (404) with 3 occurrences migrated to:
https://example.com/hotel ([https](https://example.com/hotel ) result 404).
* [ ] http://example.com/hotel%20list (404) with 1 occurrences migrated to:
https://example.com/hotel%20list ([https](https://example.com/hotel%20list ) result 404).
* [ ] http://example.com/hotel%20list/Z (404) with 1 occurrences migrated to:
https://example.com/hotel%20list/Z ([https](https://example.com/hotel%20list/Z ) result 404).
* [ ] http://example.com/hotel%20list/Z%C3%BCrich (404) with 3 occurrences migrated to:
https://example.com/hotel%20list/Z%C3%BCrich ([https](https://example.com/hotel%20list/Z%C3%BCrich ) result 404).
* [ ] http://example.com/hotels (404) with 3 occurrences migrated to:
https://example.com/hotels ([https](https://example.com/hotels ) result 404).
* [ ] http://example.com/hotels/ (404) with 15 occurrences migrated to:
https://example.com/hotels/ ([https](https://example.com/hotels/ ) result 404).
* [ ] http://example.com/hotels/1/bookings/42 (404) with 1 occurrences migrated to:
https://example.com/hotels/1/bookings/42 ([https](https://example.com/hotels/1/bookings/42 ) result 404).
* [ ] http://example.com/hotels/1/pic/pics%2Flogo.png/size/150x150 (404) with 2 occurrences migrated to:
https://example.com/hotels/1/pic/pics%2Flogo.png/size/150x150 ([https](https://example.com/hotels/1/pic/pics%2Flogo.png/size/150x150 ) result 404).
* [ ] http://example.com/hotels/1/pic/pics/logo.png (404) with 1 occurrences migrated to:
https://example.com/hotels/1/pic/pics/logo.png ([https](https://example.com/hotels/1/pic/pics/logo.png ) result 404).
* [ ] http://example.com/hotels/42/bookings/21 (404) with 1 occurrences migrated to:
https://example.com/hotels/42/bookings/21 ([https](https://example.com/hotels/42/bookings/21 ) result 404).
* [ ] http://example.com/hotels/42/bookings/42 (404) with 1 occurrences migrated to:
https://example.com/hotels/42/bookings/42 ([https](https://example.com/hotels/42/bookings/42 ) result 404).
* [ ] http://example.com/hotels/Rest%20%26%20Relax/bookings/42 (404) with 2 occurrences migrated to:
https://example.com/hotels/Rest%20%26%20Relax/bookings/42 ([https](https://example.com/hotels/Rest%20%26%20Relax/bookings/42 ) result 404).
* [ ] http://example.com/info (404) with 2 occurrences migrated to:
https://example.com/info ([https](https://example.com/info ) result 404).
* [ ] http://example.com/invalid (404) with 1 occurrences migrated to:
https://example.com/invalid ([https](https://example.com/invalid ) result 404).
* [ ] http://example.com/jquery-1.11.0.min.js (404) with 2 occurrences migrated to:
https://example.com/jquery-1.11.0.min.js ([https](https://example.com/jquery-1.11.0.min.js ) result 404).
* [ ] http://example.com/match (404) with 1 occurrences migrated to:
https://example.com/match ([https](https://example.com/match ) result 404).
* [ ] http://example.com/myFileUpload (404) with 1 occurrences migrated to:
https://example.com/myFileUpload ([https](https://example.com/myFileUpload ) result 404).
* [ ] http://example.com/myForm (404) with 1 occurrences migrated to:
https://example.com/myForm ([https](https://example.com/myForm ) result 404).
* [ ] http://example.com/path (404) with 4 occurrences migrated to:
https://example.com/path ([https](https://example.com/path ) result 404).
* [ ] http://example.com/path?query (404) with 2 occurrences migrated to:
https://example.com/path?query ([https](https://example.com/path?query ) result 404).
* [ ] http://example.com/path?query=foo (404) with 1 occurrences migrated to:
https://example.com/path?query=foo ([https](https://example.com/path?query=foo ) result 404).
* [ ] http://example.com/people (404) with 1 occurrences migrated to:
https://example.com/people ([https](https://example.com/people ) result 404).
* [ ] http://example.com/people/ (404) with 1 occurrences migrated to:
https://example.com/people/ ([https](https://example.com/people/ ) result 404).
* [ ] http://example.com/prefix/path (404) with 2 occurrences migrated to:
https://example.com/prefix/path ([https](https://example.com/prefix/path ) result 404).
* [ ] http://example.com/resource (404) with 5 occurrences migrated to:
https://example.com/resource ([https](https://example.com/resource ) result 404).
* [ ] http://example.com/resource?access_token=123 (404) with 1 occurrences migrated to:
https://example.com/resource?access_token=123 ([https](https://example.com/resource?access_token=123 ) result 404).
* [ ] http://example.com/spaces (404) with 1 occurrences migrated to:
https://example.com/spaces ([https](https://example.com/spaces ) result 404).
* [ ] http://example.com/spaces%20and%20%E2%82%AC (404) with 3 occurrences migrated to:
https://example.com/spaces%20and%20%E2%82%AC ([https](https://example.com/spaces%20and%20%E2%82%AC ) result 404).
* [ ] http://example.com/spring/ (404) with 1 occurrences migrated to:
https://example.com/spring/ ([https](https://example.com/spring/ ) result 404).
* [ ] http://example.com/test/this/here (404) with 1 occurrences migrated to:
https://example.com/test/this/here ([https](https://example.com/test/this/here ) result 404).
* [ ] http://example.com/upload (404) with 1 occurrences migrated to:
https://example.com/upload ([https](https://example.com/upload ) result 404).
* [ ] http://example.com/user (404) with 1 occurrences migrated to:
https://example.com/user ([https](https://example.com/user ) result 404).
* [ ] http://example.org/fonts/css (404) with 6 occurrences migrated to:
https://example.org/fonts/css ([https](https://example.org/fonts/css ) result 404).
* [ ] http://example.org/foo/page.html (404) with 1 occurrences migrated to:
https://example.org/foo/page.html ([https](https://example.org/foo/page.html ) result 404).
* [ ] http://example.org/image.png (404) with 4 occurrences migrated to:
https://example.org/image.png ([https](https://example.org/image.png ) result 404).
* [ ] http://example.org/music/people (404) with 4 occurrences migrated to:
https://example.org/music/people ([https](https://example.org/music/people ) result 404).
* [ ] http://example.org/page.cache.html (404) with 1 occurrences migrated to:
https://example.org/page.cache.html ([https](https://example.org/page.cache.html ) result 404).
* [ ] http://example.org/path (404) with 3 occurrences migrated to:
https://example.org/path ([https](https://example.org/path ) result 404).
* [ ] http://springframework.org/oxm-test (404) with 2 occurrences migrated to:
https://springframework.org/oxm-test ([https](https://springframework.org/oxm-test ) result 404).
* [ ] http://aaa.org:8080/app/b/c/d (301) with 1 occurrences migrated to:
https://www.aaa.org/app/b/c/d ([https](https://aaa.org:8080/app/b/c/d ) result 404).
* [ ] http://www.example.com/favicon.ico (404) with 2 occurrences migrated to:
https://www.example.com/favicon.ico ([https](https://www.example.com/favicon.ico ) result 404).
* [ ] http://www.example.com/foo/bar (404) with 1 occurrences migrated to:
https://www.example.com/foo/bar ([https](https://www.example.com/foo/bar ) result 404).
* [ ] http://www.example.com/hotels (404) with 2 occurrences migrated to:
https://www.example.com/hotels ([https](https://www.example.com/hotels ) result 404).
* [ ] http://www.example.com/user/ (404) with 4 occurrences migrated to:
https://www.example.com/user/ ([https](https://www.example.com/user/ ) result 404).
* [ ] http://www.example.com/user/john%3Bdoe/dashboard (404) with 4 occurrences migrated to:
https://www.example.com/user/john%3Bdoe/dashboard ([https](https://www.example.com/user/john%3Bdoe/dashboard ) result 404).
* [ ] http://www.example.com/user/john;doe/dashboard (404) with 2 occurrences migrated to:
https://www.example.com/user/john;doe/dashboard ([https](https://www.example.com/user/john;doe/dashboard ) result 404).
* [ ] http://www.ibm.com/developerworks/websphere/library/techarticles/0404_tang/0404_tang.html (301) with 1 occurrences migrated to:
https://www.ibm.com/developerworks/websphere/library/techarticles/0404_tang/0404_tang.html ([https](https://www.ibm.com/developerworks/websphere/library/techarticles/0404_tang/0404_tang.html ) result 404).
* [ ] http://mydomain1.com:80/path (301) with 2 occurrences migrated to:
https://www.mydomain1.com/path ([https](https://mydomain1.com:80/path ) result 404).
* [ ] http://www.quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/tutorial-lesson-03 (404) with 1 occurrences migrated to:
https://www.quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/tutorial-lesson-03 ([https](https://www.quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/tutorial-lesson-03 ) result 404).
* [ ] http://www.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html (301) with 1 occurrences migrated to:
https://www.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html ([https](https://www.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html ) result 404).
* [ ] http://xml.apache.org/xslt (404) with 3 occurrences migrated to:
https://xml.apache.org/xslt ([https](https://xml.apache.org/xslt ) result 404).
* [ ] http://myhost.com/resource/path/myTemplate.txt (500) with 1 occurrences migrated to:
https://myhost.com/resource/path/myTemplate.txt ([https](https://myhost.com/resource/path/myTemplate.txt ) result 500).
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://activemq.apache.org/delete-inactive-destinations.html with 1 occurrences migrated to:
https://activemq.apache.org/delete-inactive-destinations.html ([https](https://activemq.apache.org/delete-inactive-destinations.html ) result 200).
* [ ] http://activemq.apache.org/stomp.html with 1 occurrences migrated to:
https://activemq.apache.org/stomp.html ([https](https://activemq.apache.org/stomp.html ) result 200).
* [ ] http://ant.apache.org with 1 occurrences migrated to:
https://ant.apache.org ([https](https://ant.apache.org ) result 200).
* [ ] http://asciidoctor.org/ with 1 occurrences migrated to:
https://asciidoctor.org/ ([https](https://asciidoctor.org/ ) result 200).
* [ ] http://asciidoctor.org/docs/editing-asciidoc-with-live-preview/ with 2 occurrences migrated to:
https://asciidoctor.org/docs/editing-asciidoc-with-live-preview/ ([https](https://asciidoctor.org/docs/editing-asciidoc-with-live-preview/ ) result 200).
* [ ] http://beanvalidation.org/ with 1 occurrences migrated to:
https://beanvalidation.org/ ([https](https://beanvalidation.org/ ) result 200).
* [ ] http://caniuse.com/ with 2 occurrences migrated to:
https://caniuse.com/ ([https](https://caniuse.com/ ) result 200).
* [ ] http://castor-data-binding.github.io/castor/reference-guides/1.3.3/html-single/index.html with 2 occurrences migrated to:
https://castor-data-binding.github.io/castor/reference-guides/1.3.3/html-single/index.html ([https](https://castor-data-binding.github.io/castor/reference-guides/1.3.3/html-single/index.html ) result 200).
* [ ] http://cbor.io/ with 1 occurrences migrated to:
https://cbor.io/ ([https](https://cbor.io/ ) result 200).
* [ ] http://code.jquery.com/jquery-1.11.0.min.js with 2 occurrences migrated to:
https://code.jquery.com/jquery-1.11.0.min.js ([https](https://code.jquery.com/jquery-1.11.0.min.js ) result 200).
* [ ] http://code.jquery.com/jquery.js with 1 occurrences migrated to:
https://code.jquery.com/jquery.js ([https](https://code.jquery.com/jquery.js ) result 200).
* [ ] http://commons.apache.org/proper/commons-lang/ with 2 occurrences migrated to:
https://commons.apache.org/proper/commons-lang/ ([https](https://commons.apache.org/proper/commons-lang/ ) result 200).
* [ ] http://docs.oracle.com/javase/6/docs/api/java/lang/instrument/package-summary.html with 1 occurrences migrated to:
https://docs.oracle.com/javase/6/docs/api/java/lang/instrument/package-summary.html ([https](https://docs.oracle.com/javase/6/docs/api/java/lang/instrument/package-summary.html ) result 200).
* [ ] http://docs.oracle.com/javase/8/docs/api/java/beans/package-summary.html with 1 occurrences migrated to:
https://docs.oracle.com/javase/8/docs/api/java/beans/package-summary.html ([https](https://docs.oracle.com/javase/8/docs/api/java/beans/package-summary.html ) result 200).
* [ ] http://docs.oracle.com/javase/8/docs/api/java/lang/instrument/package-summary.html with 1 occurrences migrated to:
https://docs.oracle.com/javase/8/docs/api/java/lang/instrument/package-summary.html ([https](https://docs.oracle.com/javase/8/docs/api/java/lang/instrument/package-summary.html ) result 200).
* [ ] http://docs.oracle.com/javase/8/docs/api/javax/script/ScriptEngineFactory.html with 2 occurrences migrated to:
https://docs.oracle.com/javase/8/docs/api/javax/script/ScriptEngineFactory.html ([https](https://docs.oracle.com/javase/8/docs/api/javax/script/ScriptEngineFactory.html ) result 200).
* [ ] http://docs.oracle.com/javase/tutorial/javabeans/advanced/customization.html with 1 occurrences migrated to:
https://docs.oracle.com/javase/tutorial/javabeans/advanced/customization.html ([https](https://docs.oracle.com/javase/tutorial/javabeans/advanced/customization.html ) result 200).
* [ ] http://docs.oracle.com/javase/tutorial/javabeans/writing/properties.html with 1 occurrences migrated to:
https://docs.oracle.com/javase/tutorial/javabeans/writing/properties.html ([https](https://docs.oracle.com/javase/tutorial/javabeans/writing/properties.html ) result 200).
* [ ] http://docs.seleniumhq.org/ with 1 occurrences migrated to:
https://docs.seleniumhq.org/ ([https](https://docs.seleniumhq.org/ ) result 200).
* [ ] http://docs.seleniumhq.org/projects/webdriver/ with 1 occurrences migrated to:
https://docs.seleniumhq.org/projects/webdriver/ ([https](https://docs.seleniumhq.org/projects/webdriver/ ) result 200).
* [ ] http://docs.spring.io/spring-framework/docs/current/javadoc-api/ with 1 occurrences migrated to:
https://docs.spring.io/spring-framework/docs/current/javadoc-api/ ([https](https://docs.spring.io/spring-framework/docs/current/javadoc-api/ ) result 200).
* [ ] http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/servlet/view/script/ScriptTemplateView.html with 1 occurrences migrated to:
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/servlet/view/script/ScriptTemplateView.html ([https](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/servlet/view/script/ScriptTemplateView.html ) result 200).
* [ ] http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/ with 1 occurrences migrated to:
https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/ ([https](https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/ ) result 200).
* [ ] http://docs.spring.io/spring-session/docs/current/reference/html5/ with 1 occurrences migrated to:
https://docs.spring.io/spring-session/docs/current/reference/html5/ ([https](https://docs.spring.io/spring-session/docs/current/reference/html5/ ) result 200).
* [ ] http://en.wikipedia.org/wiki/Adapter_pattern with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/Adapter_pattern ([https](https://en.wikipedia.org/wiki/Adapter_pattern ) result 200).
* [ ] http://en.wikipedia.org/wiki/Halting_Problem with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/Halting_Problem ([https](https://en.wikipedia.org/wiki/Halting_Problem ) result 200).
* [ ] http://en.wikipedia.org/wiki/List_of_HTTP_status_codes with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/List_of_HTTP_status_codes ([https](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes ) result 200).
* [ ] http://en.wikipedia.org/wiki/MIME with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/MIME ([https](https://en.wikipedia.org/wiki/MIME ) result 200).
* [ ] http://en.wikipedia.org/wiki/Mock_Object with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/Mock_Object ([https](https://en.wikipedia.org/wiki/Mock_Object ) result 200).
* [ ] http://en.wikipedia.org/wiki/Polyfill with 2 occurrences migrated to:
https://en.wikipedia.org/wiki/Polyfill ([https](https://en.wikipedia.org/wiki/Polyfill ) result 200).
* [ ] http://example.com with 132 occurrences migrated to:
https://example.com ([https](https://example.com ) result 200).
* [ ] http://example.com/ with 16 occurrences migrated to:
https://example.com/ ([https](https://example.com/ ) result 200).
* [ ] http://example.com?foo with 2 occurrences migrated to:
https://example.com?foo ([https](https://example.com?foo ) result 200).
* [ ] http://example.com?foo=bar with 8 occurrences migrated to:
https://example.com?foo=bar ([https](https://example.com?foo=bar ) result 200).
* [ ] http://example.com?foo=bar@baz with 1 occurrences migrated to:
https://example.com?foo=bar@baz ([https](https://example.com?foo=bar@baz ) result 200).
* [ ] http://example.org with 18 occurrences migrated to:
https://example.org ([https](https://example.org ) result 200).
* [ ] http://example.org/ with 1 occurrences migrated to:
https://example.org/ ([https](https://example.org/ ) result 200).
* [ ] http://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/DeserializationFeature.html with 2 occurrences migrated to:
https://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/DeserializationFeature.html ([https](https://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/DeserializationFeature.html ) result 200).
* [ ] http://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/MapperFeature.html with 2 occurrences migrated to:
https://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/MapperFeature.html ([https](https://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/MapperFeature.html ) result 200).
* [ ] http://h2database.com with 1 occurrences migrated to:
https://h2database.com ([https](https://h2database.com ) result 200).
* [ ] http://handlebarsjs.com with 2 occurrences migrated to:
https://handlebarsjs.com ([https](https://handlebarsjs.com ) result 200).
* [ ] http://handlebarsjs.com/ with 2 occurrences migrated to:
https://handlebarsjs.com/ ([https](https://handlebarsjs.com/ ) result 200).
* [ ] http://hc.apache.org/httpcomponents-asyncclient-dev/ with 1 occurrences migrated to:
https://hc.apache.org/httpcomponents-asyncclient-dev/ ([https](https://hc.apache.org/httpcomponents-asyncclient-dev/ ) result 200).
* [ ] http://hc.apache.org/httpcomponents-client-ga/ with 2 occurrences migrated to:
https://hc.apache.org/httpcomponents-client-ga/ ([https](https://hc.apache.org/httpcomponents-client-ga/ ) result 200).
* [ ] http://hc.apache.org/httpcomponents-client-ga/httpclient/ with 1 occurrences migrated to:
https://hc.apache.org/httpcomponents-client-ga/httpclient/ ([https](https://hc.apache.org/httpcomponents-client-ga/httpclient/ ) result 200).
* [ ] http://www.hibernate.org/ (301) with 1 occurrences migrated to:
https://hibernate.org/ ([https](https://www.hibernate.org/ ) result 200).
* [ ] http://www.hibernate.org (301) with 1 occurrences migrated to:
https://hibernate.org/ ([https](https://www.hibernate.org ) result 200).
* [ ] http://jcp.org/aboutJava/communityprocess/final/jsr003/index3.html with 1 occurrences migrated to:
https://jcp.org/aboutJava/communityprocess/final/jsr003/index3.html ([https](https://jcp.org/aboutJava/communityprocess/final/jsr003/index3.html ) result 200).
* [ ] http://jcp.org/aboutJava/communityprocess/final/jsr160/index.html with 1 occurrences migrated to:
https://jcp.org/aboutJava/communityprocess/final/jsr160/index.html ([https](https://jcp.org/aboutJava/communityprocess/final/jsr160/index.html ) result 200).
* [ ] http://jcp.org/en/jsr/detail?id=107 with 1 occurrences migrated to:
https://jcp.org/en/jsr/detail?id=107 ([https](https://jcp.org/en/jsr/detail?id=107 ) result 200).
* [ ] http://joel-costigliola.github.io/assertj/ with 3 occurrences migrated to:
https://joel-costigliola.github.io/assertj/ ([https](https://joel-costigliola.github.io/assertj/ ) result 200).
* [ ] http://jsonassert.skyscreamer.org with 1 occurrences migrated to:
https://jsonassert.skyscreamer.org ([https](https://jsonassert.skyscreamer.org ) result 200).
* [ ] http://jsonassert.skyscreamer.org/ with 5 occurrences migrated to:
https://jsonassert.skyscreamer.org/ ([https](https://jsonassert.skyscreamer.org/ ) result 200).
* [ ] http://junit.org/junit5/docs/current/user-guide/ with 2 occurrences migrated to:
https://junit.org/junit5/docs/current/user-guide/ ([https](https://junit.org/junit5/docs/current/user-guide/ ) result 200).
* [ ] http://kotlinlang.org/ with 2 occurrences migrated to:
https://kotlinlang.org/ ([https](https://kotlinlang.org/ ) result 200).
* [ ] http://kotlinlang.org/docs/reference/ with 1 occurrences migrated to:
https://kotlinlang.org/docs/reference/ ([https](https://kotlinlang.org/docs/reference/ ) result 200).
* [ ] http://kotlinlang.org/docs/reference/classes.html with 3 occurrences migrated to:
https://kotlinlang.org/docs/reference/classes.html ([https](https://kotlinlang.org/docs/reference/classes.html ) result 200).
* [ ] http://mydomain.com with 5 occurrences migrated to:
https://mydomain.com ([https](https://mydomain.com ) result 200).
* [ ] http://netty.io/ with 1 occurrences migrated to:
https://netty.io/ ([https](https://netty.io/ ) result 200).
* [ ] http://openjdk.java.net/jeps/290 with 1 occurrences migrated to:
https://openjdk.java.net/jeps/290 ([https](https://openjdk.java.net/jeps/290 ) result 200).
* [ ] http://openjdk.java.net/projects/nashorn/ with 10 occurrences migrated to:
https://openjdk.java.net/projects/nashorn/ ([https](https://openjdk.java.net/projects/nashorn/ ) result 200).
* [ ] http://poi.apache.org with 3 occurrences migrated to:
https://poi.apache.org ([https](https://poi.apache.org ) result 200).
* [ ] http://projects.spring.io/spring-boot/ with 1 occurrences migrated to:
https://projects.spring.io/spring-boot/ ([https](https://projects.spring.io/spring-boot/ ) result 200).
* [ ] http://projects.spring.io/spring-data/ with 1 occurrences migrated to:
https://projects.spring.io/spring-data/ ([https](https://projects.spring.io/spring-data/ ) result 200).
* [ ] http://projects.spring.io/spring-framework/ with 1 occurrences migrated to:
https://projects.spring.io/spring-framework/ ([https](https://projects.spring.io/spring-framework/ ) result 200).
* [ ] http://projects.spring.io/spring-integration/ with 1 occurrences migrated to:
https://projects.spring.io/spring-integration/ ([https](https://projects.spring.io/spring-integration/ ) result 200).
* [ ] http://projects.spring.io/spring-security/ with 3 occurrences migrated to:
https://projects.spring.io/spring-security/ ([https](https://projects.spring.io/spring-security/ ) result 200).
* [ ] http://repo1.maven.org/maven2/javax/inject/javax.inject/1/ with 2 occurrences migrated to:
https://repo1.maven.org/maven2/javax/inject/javax.inject/1/ ([https](https://repo1.maven.org/maven2/javax/inject/javax.inject/1/ ) result 200).
* [ ] http://schema.spring.io/mvc/spring-mvc.xsd with 1 occurrences migrated to:
https://schema.spring.io/mvc/spring-mvc.xsd ([https](https://schema.spring.io/mvc/spring-mvc.xsd ) result 200).
* [ ] http://search.maven.org/ with 2 occurrences migrated to:
https://search.maven.org/ ([https](https://search.maven.org/ ) result 200).
* [ ] http://sockjs.github.io/sockjs-protocol/sockjs-protocol-0.3.3.html with 3 occurrences migrated to:
https://sockjs.github.io/sockjs-protocol/sockjs-protocol-0.3.3.html ([https](https://sockjs.github.io/sockjs-protocol/sockjs-protocol-0.3.3.html ) result 200).
* [ ] http://sourceforge.net with 1 occurrences migrated to:
https://sourceforge.net ([https](https://sourceforge.net ) result 200).
* [ ] http://sourceforge.net/projects/javadiff/ with 1 occurrences migrated to:
https://sourceforge.net/projects/javadiff/ ([https](https://sourceforge.net/projects/javadiff/ ) result 200).
* [ ] http://sourceforge.net/sflogo.php?group_id=37160 with 1 occurrences migrated to:
https://sourceforge.net/sflogo.php?group_id=37160 ([https](https://sourceforge.net/sflogo.php?group_id=37160 ) result 200).
* [ ] http://spring.io/blog/ with 1 occurrences migrated to:
https://spring.io/blog/ ([https](https://spring.io/blog/ ) result 200).
* [ ] http://spring.io/blog/category/news with 1 occurrences migrated to:
https://spring.io/blog/category/news ([https](https://spring.io/blog/category/news ) result 200).
* [ ] http://square.github.io/okhttp/ with 1 occurrences migrated to:
https://square.github.io/okhttp/ ([https](https://square.github.io/okhttp/ ) result 200).
* [ ] http://stackoverflow.com/questions/1481251/what-does-document-domain-document-domain-do with 1 occurrences migrated to:
https://stackoverflow.com/questions/1481251/what-does-document-domain-document-domain-do ([https](https://stackoverflow.com/questions/1481251/what-does-document-domain-document-domain-do ) result 200).
* [ ] http://stackoverflow.com/questions/19394570/java-jre-7u45-breaks-classloader-getresources with 2 occurrences migrated to:
https://stackoverflow.com/questions/19394570/java-jre-7u45-breaks-classloader-getresources ([https](https://stackoverflow.com/questions/19394570/java-jre-7u45-breaks-classloader-getresources ) result 200).
* [ ] http://stackoverflow.com/questions/22986109/testing-spring-managed-servlet with 1 occurrences migrated to:
https://stackoverflow.com/questions/22986109/testing-spring-managed-servlet ([https](https://stackoverflow.com/questions/22986109/testing-spring-managed-servlet ) result 200).
* [ ] http://stackoverflow.com/questions/24725438/what-could-cause-a-class-implementing-applicationlistenercontextrefreshedevent with 1 occurrences migrated to:
https://stackoverflow.com/questions/24725438/what-could-cause-a-class-implementing-applicationlistenercontextrefreshedevent ([https](https://stackoverflow.com/questions/24725438/what-could-cause-a-class-implementing-applicationlistenercontextrefreshedevent ) result 200).
* [ ] http://stackoverflow.com/questions/35733344/can-contextconfiguration-in-a-custom-annotation-be-merged with 1 occurrences migrated to:
https://stackoverflow.com/questions/35733344/can-contextconfiguration-in-a-custom-annotation-be-merged ([https](https://stackoverflow.com/questions/35733344/can-contextconfiguration-in-a-custom-annotation-be-merged ) result 200).
* [ ] http://start.spring.io/ with 2 occurrences migrated to:
https://start.spring.io/ ([https](https://start.spring.io/ ) result 200).
* [ ] http://stas-blogspot.blogspot.com/2010/03/java-bridge-methods-explained.html with 1 occurrences migrated to:
https://stas-blogspot.blogspot.com/2010/03/java-bridge-methods-explained.html ([https](https://stas-blogspot.blogspot.com/2010/03/java-bridge-methods-explained.html ) result 200).
* [ ] http://stomp.github.io/stomp-specification-1.2.html with 9 occurrences migrated to:
https://stomp.github.io/stomp-specification-1.2.html ([https](https://stomp.github.io/stomp-specification-1.2.html ) result 200).
* [ ] http://struts.apache.org with 1 occurrences migrated to:
https://struts.apache.org ([https](https://struts.apache.org ) result 200).
* [ ] http://struts.apache.org/ with 1 occurrences migrated to:
https://struts.apache.org/ ([https](https://struts.apache.org/ ) result 200).
* [ ] http://tapestry.apache.org/ with 2 occurrences migrated to:
https://tapestry.apache.org/ ([https](https://tapestry.apache.org/ ) result 200).
* [ ] http://tiles.apache.org with 4 occurrences migrated to:
https://tiles.apache.org ([https](https://tiles.apache.org ) result 200).
* [ ] http://tiles.apache.org/framework/dependency-management.html with 1 occurrences migrated to:
https://tiles.apache.org/framework/dependency-management.html ([https](https://tiles.apache.org/framework/dependency-management.html ) result 200).
* [ ] http://tools.ietf.org/html/rfc1945 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc1945 ([https](https://tools.ietf.org/html/rfc1945 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2109 with 2 occurrences migrated to:
https://tools.ietf.org/html/rfc2109 ([https](https://tools.ietf.org/html/rfc2109 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2295 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc2295 ([https](https://tools.ietf.org/html/rfc2295 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2324 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc2324 ([https](https://tools.ietf.org/html/rfc2324 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2518 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc2518 ([https](https://tools.ietf.org/html/rfc2518 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2616 with 3 occurrences migrated to:
https://tools.ietf.org/html/rfc2616 ([https](https://tools.ietf.org/html/rfc2616 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2774 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc2774 ([https](https://tools.ietf.org/html/rfc2774 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2817 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc2817 ([https](https://tools.ietf.org/html/rfc2817 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2965 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc2965 ([https](https://tools.ietf.org/html/rfc2965 ) result 200).
* [ ] http://tools.ietf.org/html/rfc3229 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc3229 ([https](https://tools.ietf.org/html/rfc3229 ) result 200).
* [ ] http://tools.ietf.org/html/rfc3986 with 3 occurrences migrated to:
https://tools.ietf.org/html/rfc3986 ([https](https://tools.ietf.org/html/rfc3986 ) result 200).
* [ ] http://tools.ietf.org/html/rfc4918 with 5 occurrences migrated to:
https://tools.ietf.org/html/rfc4918 ([https](https://tools.ietf.org/html/rfc4918 ) result 200).
* [ ] http://tools.ietf.org/html/rfc5842 with 2 occurrences migrated to:
https://tools.ietf.org/html/rfc5842 ([https](https://tools.ietf.org/html/rfc5842 ) result 200).
* [ ] http://tools.ietf.org/html/rfc5988 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc5988 ([https](https://tools.ietf.org/html/rfc5988 ) result 200).
* [ ] http://tools.ietf.org/html/rfc6202 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc6202 ([https](https://tools.ietf.org/html/rfc6202 ) result 200).
* [ ] http://tools.ietf.org/html/rfc6266 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc6266 ([https](https://tools.ietf.org/html/rfc6266 ) result 200).
* [ ] http://tools.ietf.org/html/rfc6454 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc6454 ([https](https://tools.ietf.org/html/rfc6454 ) result 200).
* [ ] http://tools.ietf.org/html/rfc6455 with 2 occurrences migrated to:
https://tools.ietf.org/html/rfc6455 ([https](https://tools.ietf.org/html/rfc6455 ) result 200).
* [ ] http://tools.ietf.org/html/rfc6585 with 4 occurrences migrated to:
https://tools.ietf.org/html/rfc6585 ([https](https://tools.ietf.org/html/rfc6585 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7230 with 10 occurrences migrated to:
https://tools.ietf.org/html/rfc7230 ([https](https://tools.ietf.org/html/rfc7230 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7231 with 56 occurrences migrated to:
https://tools.ietf.org/html/rfc7231 ([https](https://tools.ietf.org/html/rfc7231 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7232 with 8 occurrences migrated to:
https://tools.ietf.org/html/rfc7232 ([https](https://tools.ietf.org/html/rfc7232 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7233 with 12 occurrences migrated to:
https://tools.ietf.org/html/rfc7233 ([https](https://tools.ietf.org/html/rfc7233 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7234 with 5 occurrences migrated to:
https://tools.ietf.org/html/rfc7234 ([https](https://tools.ietf.org/html/rfc7234 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7235 with 6 occurrences migrated to:
https://tools.ietf.org/html/rfc7235 ([https](https://tools.ietf.org/html/rfc7235 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7238 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc7238 ([https](https://tools.ietf.org/html/rfc7238 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7239 with 7 occurrences migrated to:
https://tools.ietf.org/html/rfc7239 ([https](https://tools.ietf.org/html/rfc7239 ) result 200).
* [ ] http://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt with 3 occurrences migrated to:
https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt ([https](https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt ) result 200).
* [ ] http://unlicense.org with 1 occurrences migrated to:
https://unlicense.org ([https](https://unlicense.org ) result 200).
* [ ] http://www.amazon.com/exec/obidos/tg/detail/-/0764543857/ with 10 occurrences migrated to:
https://www.amazon.com/exec/obidos/tg/detail/-/0764543857/ ([https](https://www.amazon.com/exec/obidos/tg/detail/-/0764543857/ ) result 200).
* [ ] http://www.apache.org with 1 occurrences migrated to:
https://www.apache.org ([https](https://www.apache.org ) result 200).
* [ ] http://www.apple.com/DTDs/PropertyList-1.0.dtd with 6 occurrences migrated to:
https://www.apple.com/DTDs/PropertyList-1.0.dtd ([https](https://www.apple.com/DTDs/PropertyList-1.0.dtd ) result 200).
* [ ] http://www.atomikos.com/ with 1 occurrences migrated to:
https://www.atomikos.com/ ([https](https://www.atomikos.com/ ) result 200).
* [ ] http://www.baeldung.com/kotlin-null-safety with 1 occurrences migrated to:
https://www.baeldung.com/kotlin-null-safety ([https](https://www.baeldung.com/kotlin-null-safety ) result 200).
* [ ] http://www.eclipse.org/aspectj/doc/released/devguide/index.html with 1 occurrences migrated to:
https://www.eclipse.org/aspectj/doc/released/devguide/index.html ([https](https://www.eclipse.org/aspectj/doc/released/devguide/index.html ) result 200).
* [ ] http://www.eclipse.org/aspectj/doc/released/devguide/ltw-configuration.html with 1 occurrences migrated to:
https://www.eclipse.org/aspectj/doc/released/devguide/ltw-configuration.html ([https](https://www.eclipse.org/aspectj/doc/released/devguide/ltw-configuration.html ) result 200).
* [ ] http://www.eclipse.org/aspectj/dtd/aspectj.dtd with 1 occurrences migrated to:
https://www.eclipse.org/aspectj/dtd/aspectj.dtd ([https](https://www.eclipse.org/aspectj/dtd/aspectj.dtd ) result 200).
* [ ] http://ehcache.sourceforge.net (301) with 1 occurrences migrated to:
https://www.ehcache.org/ ([https](https://ehcache.sourceforge.net ) result 200).
* [ ] http://ehcache.org/ (301) with 1 occurrences migrated to:
https://www.ehcache.org/ ([https](https://ehcache.org/ ) result 200).
* [ ] http://www.embeddedjs.com/ with 2 occurrences migrated to:
https://www.embeddedjs.com/ ([https](https://www.embeddedjs.com/ ) result 200).
* [ ] http://www.enterpriseintegrationpatterns.com with 1 occurrences migrated to:
https://www.enterpriseintegrationpatterns.com ([https](https://www.enterpriseintegrationpatterns.com ) result 200).
* [ ] http://www.example.org/?param=aGVsbG9Xb3JsZA%3D%3D with 1 occurrences migrated to:
https://www.example.org/?param=aGVsbG9Xb3JsZA%3D%3D ([https](https://www.example.org/?param=aGVsbG9Xb3JsZA%3D%3D ) result 200).
* [ ] http://www.google.com with 2 occurrences migrated to:
https://www.google.com ([https](https://www.google.com ) result 200).
* [ ] http://www.h2database.com with 1 occurrences migrated to:
https://www.h2database.com ([https](https://www.h2database.com ) result 200).
* [ ] http://www.h2database.com/html/grammar.html with 1 occurrences migrated to:
https://www.h2database.com/html/grammar.html ([https](https://www.h2database.com/html/grammar.html ) result 200).
* [ ] http://www.ietf.org with 1 occurrences migrated to:
https://www.ietf.org ([https](https://www.ietf.org ) result 200).
* [ ] http://www.ietf.org/rfc/rfc1867.txt with 1 occurrences migrated to:
https://www.ietf.org/rfc/rfc1867.txt ([https](https://www.ietf.org/rfc/rfc1867.txt ) result 200).
* [ ] http://www.ietf.org/rfc/rfc2396.txt with 2 occurrences migrated to:
https://www.ietf.org/rfc/rfc2396.txt ([https](https://www.ietf.org/rfc/rfc2396.txt ) result 200).
* [ ] http://www.ietf.org/rfc/rfc3986.txt with 11 occurrences migrated to:
https://www.ietf.org/rfc/rfc3986.txt ([https](https://www.ietf.org/rfc/rfc3986.txt ) result 200).
* [ ] http://www.infoq.com/ with 1 occurrences migrated to:
https://www.infoq.com/ ([https](https://www.infoq.com/ ) result 200).
* [ ] http://www.infoq.com/minibooks/JTDS with 1 occurrences migrated to:
https://www.infoq.com/minibooks/JTDS ([https](https://www.infoq.com/minibooks/JTDS ) result 200).
* [ ] http://www.jetbrains.com/idea/ with 1 occurrences migrated to:
https://www.jetbrains.com/idea/ ([https](https://www.jetbrains.com/idea/ ) result 200).
* [ ] http://www.json.org/ with 1 occurrences migrated to:
https://www.json.org/ ([https](https://www.json.org/ ) result 200).
* [ ] http://www.jython.org with 2 occurrences migrated to:
https://www.jython.org ([https](https://www.jython.org ) result 200).
* [ ] http://www.jython.org/ with 2 occurrences migrated to:
https://www.jython.org/ ([https](https://www.jython.org/ ) result 200).
* [ ] http://www.lowagie.com/iText with 2 occurrences migrated to:
https://www.lowagie.com/iText ([https](https://www.lowagie.com/iText ) result 200).
* [ ] http://www.manpagez.com/man/5/crontab/ with 1 occurrences migrated to:
https://www.manpagez.com/man/5/crontab/ ([https](https://www.manpagez.com/man/5/crontab/ ) result 200).
* [ ] http://mydomain1.com:80/ (301) with 2 occurrences migrated to:
https://www.mydomain1.com/ ([https](https://mydomain1.com:80/ ) result 200).
* [ ] http://mydomain1.com:80 (301) with 1 occurrences migrated to:
https://www.mydomain1.com/ ([https](https://mydomain1.com:80 ) result 200).
* [ ] http://www.oracle.com/technetwork/articles/javaee/jpa-137156.html with 1 occurrences migrated to:
https://www.oracle.com/technetwork/articles/javaee/jpa-137156.html ([https](https://www.oracle.com/technetwork/articles/javaee/jpa-137156.html ) result 200).
* [ ] http://www.oracle.com/technetwork/java/javaee/javaserverfaces-139869.html with 1 occurrences migrated to:
https://www.oracle.com/technetwork/java/javaee/javaserverfaces-139869.html ([https](https://www.oracle.com/technetwork/java/javaee/javaserverfaces-139869.html ) result 200).
* [ ] http://www.oracle.com/technetwork/java/javase/documentation/spec-136004.html with 1 occurrences migrated to:
https://www.oracle.com/technetwork/java/javase/documentation/spec-136004.html ([https](https://www.oracle.com/technetwork/java/javase/documentation/spec-136004.html ) result 200).
* [ ] http://www.oracle.com/technetwork/java/javase/tech/download-jsp-141676.html with 1 occurrences migrated to:
https://www.oracle.com/technetwork/java/javase/tech/download-jsp-141676.html ([https](https://www.oracle.com/technetwork/java/javase/tech/download-jsp-141676.html ) result 200).
* [ ] http://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html with 1 occurrences migrated to:
https://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html ([https](https://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html ) result 200).
* [ ] http://www.ow2.org/ with 1 occurrences migrated to:
https://www.ow2.org/ ([https](https://www.ow2.org/ ) result 200).
* [ ] http://www.owasp.org/index.php/HTTPOnly with 4 occurrences migrated to:
https://www.owasp.org/index.php/HTTPOnly ([https](https://www.owasp.org/index.php/HTTPOnly ) result 200).
* [ ] http://quartz-scheduler.org (301) with 3 occurrences migrated to:
https://www.quartz-scheduler.org/ ([https](https://quartz-scheduler.org ) result 200).
* [ ] http://www.rabbitmq.com/stomp.html with 1 occurrences migrated to:
https://www.rabbitmq.com/stomp.html ([https](https://www.rabbitmq.com/stomp.html ) result 200).
* [ ] http://www.reactive-streams.org with 1 occurrences migrated to:
https://www.reactive-streams.org ([https](https://www.reactive-streams.org ) result 200).
* [ ] http://www.reactive-streams.org/ with 2 occurrences migrated to:
https://www.reactive-streams.org/ ([https](https://www.reactive-streams.org/ ) result 200).
* [ ] http://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/org/reactivestreams/Publisher.html with 1 occurrences migrated to:
https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/org/reactivestreams/Publisher.html ([https](https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/org/reactivestreams/Publisher.html ) result 200).
* [ ] http://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/org/reactivestreams/Subscriber.html with 1 occurrences migrated to:
https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/org/reactivestreams/Subscriber.html ([https](https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/org/reactivestreams/Subscriber.html ) result 200).
* [ ] http://seleniumhq.org/projects/webdriver/ (301) with 1 occurrences migrated to:
https://www.seleniumhq.org ([https](https://seleniumhq.org/projects/webdriver/ ) result 200).
* [ ] http://www.springbyexample.org/examples/custom-thread-scope-module.html with 1 occurrences migrated to:
https://www.springbyexample.org/examples/custom-thread-scope-module.html ([https](https://www.springbyexample.org/examples/custom-thread-scope-module.html ) result 200).
* [ ] http://www.springframework.org/dtd/spring-beans-2.0.dtd with 3 occurrences migrated to:
https://www.springframework.org/dtd/spring-beans-2.0.dtd ([https](https://www.springframework.org/dtd/spring-beans-2.0.dtd ) result 200).
* [ ] http://www.springframework.org/schema/aop/spring-aop.xsd with 12 occurrences migrated to:
https://www.springframework.org/schema/aop/spring-aop.xsd ([https](https://www.springframework.org/schema/aop/spring-aop.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 80 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd ) result 200).
* [ ] http://www.springframework.org/schema/cache/spring-cache.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/cache/spring-cache.xsd ([https](https://www.springframework.org/schema/cache/spring-cache.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context.xsd with 13 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jdbc/spring-jdbc.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/jdbc/spring-jdbc.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jee/spring-jee.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/jee/spring-jee.xsd ([https](https://www.springframework.org/schema/jee/spring-jee.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jms/spring-jms.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/jms/spring-jms.xsd ([https](https://www.springframework.org/schema/jms/spring-jms.xsd ) result 200).
* [ ] http://www.springframework.org/schema/lang/spring-lang.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/lang/spring-lang.xsd ([https](https://www.springframework.org/schema/lang/spring-lang.xsd ) result 200).
* [ ] http://www.springframework.org/schema/mvc/spring-mvc.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/mvc/spring-mvc.xsd ([https](https://www.springframework.org/schema/mvc/spring-mvc.xsd ) result 200).
* [ ] http://www.springframework.org/schema/oxm/spring-oxm.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/oxm/spring-oxm.xsd ([https](https://www.springframework.org/schema/oxm/spring-oxm.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tool/spring-tool.xsd with 13 occurrences migrated to:
https://www.springframework.org/schema/tool/spring-tool.xsd ([https](https://www.springframework.org/schema/tool/spring-tool.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tx/spring-tx.xsd with 8 occurrences migrated to:
https://www.springframework.org/schema/tx/spring-tx.xsd ([https](https://www.springframework.org/schema/tx/spring-tx.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util.xsd ([https](https://www.springframework.org/schema/util/spring-util.xsd ) result 200).
* [ ] http://www.springframework.org/schema/websocket/spring-websocket.xsd with 12 occurrences migrated to:
https://www.springframework.org/schema/websocket/spring-websocket.xsd ([https](https://www.springframework.org/schema/websocket/spring-websocket.xsd ) result 200).
* [ ] http://www.stuartellis.eu/articles/erb/ (301) with 2 occurrences migrated to:
https://www.stuartellis.name/articles/erb/ ([https](https://www.stuartellis.eu/articles/erb/ ) result 200).
* [ ] http://www.thymeleaf.org/ with 2 occurrences migrated to:
https://www.thymeleaf.org/ ([https](https://www.thymeleaf.org/ ) result 200).
* [ ] http://www.thymeleaf.org/documentation.html with 2 occurrences migrated to:
https://www.thymeleaf.org/documentation.html ([https](https://www.thymeleaf.org/documentation.html ) result 200).
* [ ] http://www.w3.org/2000/xmlns/ with 5 occurrences migrated to:
https://www.w3.org/2000/xmlns/ ([https](https://www.w3.org/2000/xmlns/ ) result 200).
* [ ] http://www.w3.org/2004/08/xop/include with 2 occurrences migrated to:
https://www.w3.org/2004/08/xop/include ([https](https://www.w3.org/2004/08/xop/include ) result 200).
* [ ] http://www.w3.org/DesignIssues/MatrixURIs.html with 1 occurrences migrated to:
https://www.w3.org/DesignIssues/MatrixURIs.html ([https](https://www.w3.org/DesignIssues/MatrixURIs.html ) result 200).
* [ ] http://www.w3.org/TR/2004/WD-soap12-mtom-20040608/ with 2 occurrences migrated to:
https://www.w3.org/TR/2004/WD-soap12-mtom-20040608/ ([https](https://www.w3.org/TR/2004/WD-soap12-mtom-20040608/ ) result 200).
* [ ] http://www.w3.org/TR/2005/REC-xop10-20050125/ with 6 occurrences migrated to:
https://www.w3.org/TR/2005/REC-xop10-20050125/ ([https](https://www.w3.org/TR/2005/REC-xop10-20050125/ ) result 200).
* [ ] http://www.w3.org/TR/cors/ with 19 occurrences migrated to:
https://www.w3.org/TR/cors/ ([https](https://www.w3.org/TR/cors/ ) result 200).
* [ ] http://www.w3.org/TR/eventsource/ with 2 occurrences migrated to:
https://www.w3.org/TR/eventsource/ ([https](https://www.w3.org/TR/eventsource/ ) result 200).
* [ ] http://www.w3.org/TR/xhtml1/ with 1 occurrences migrated to:
https://www.w3.org/TR/xhtml1/ ([https](https://www.w3.org/TR/xhtml1/ ) result 200).
* [ ] http://www.w3.org/TR/xhtml1/diffs.html with 1 occurrences migrated to:
https://www.w3.org/TR/xhtml1/diffs.html ([https](https://www.w3.org/TR/xhtml1/diffs.html ) result 200).
* [ ] http://www.w3.org/TR/xhtml1/dtds.html with 1 occurrences migrated to:
https://www.w3.org/TR/xhtml1/dtds.html ([https](https://www.w3.org/TR/xhtml1/dtds.html ) result 200).
* [ ] http://www.webjars.org with 4 occurrences migrated to:
https://www.webjars.org ([https](https://www.webjars.org ) result 200).
* [ ] http://www.webjars.org/ with 2 occurrences migrated to:
https://www.webjars.org/ ([https](https://www.webjars.org/ ) result 200).
* [ ] http://www.webjars.org/documentation with 2 occurrences migrated to:
https://www.webjars.org/documentation ([https](https://www.webjars.org/documentation ) result 200).
* [ ] http://x-stream.github.io/ with 2 occurrences migrated to:
https://x-stream.github.io/ ([https](https://x-stream.github.io/ ) result 200).
* [ ] http://youtrack.jetbrains.com/issue/IDEA-53476 with 1 occurrences migrated to:
https://youtrack.jetbrains.com/issue/IDEA-53476 ([https](https://youtrack.jetbrains.com/issue/IDEA-53476 ) result 200).
* [ ] http://youtrack.jetbrains.com/issue/IDEA-64446 with 1 occurrences migrated to:
https://youtrack.jetbrains.com/issue/IDEA-64446 ([https](https://youtrack.jetbrains.com/issue/IDEA-64446 ) result 200).
* [ ] http://bit.ly/TRlX2r with 1 occurrences migrated to:
https://bit.ly/TRlX2r ([https](https://bit.ly/TRlX2r ) result 301).
* [ ] http://bit.ly/UzccDt with 1 occurrences migrated to:
https://bit.ly/UzccDt ([https](https://bit.ly/UzccDt ) result 301).
* [ ] http://bit.ly/p9rIvx with 1 occurrences migrated to:
https://bit.ly/p9rIvx ([https](https://bit.ly/p9rIvx ) result 301).
* [ ] http://bit.ly/qUwvwz with 1 occurrences migrated to:
https://bit.ly/qUwvwz ([https](https://bit.ly/qUwvwz ) result 301).
* [ ] http://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitations-and-workarounds.aspx with 1 occurrences migrated to:
https://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitations-and-workarounds.aspx ([https](https://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitations-and-workarounds.aspx ) result 301).
* [ ] http://castor-data-binding.github.io/castor with 1 occurrences migrated to:
https://castor-data-binding.github.io/castor ([https](https://castor-data-binding.github.io/castor ) result 301).
* [ ] http://code.google.com/p/beanshell2/ with 1 occurrences migrated to:
https://code.google.com/p/beanshell2/ ([https](https://code.google.com/p/beanshell2/ ) result 301).
* [ ] http://code.google.com/p/browsersec/wiki/Part2 with 1 occurrences migrated to:
https://code.google.com/p/browsersec/wiki/Part2 ([https](https://code.google.com/p/browsersec/wiki/Part2 ) result 301).
* [ ] http://code.google.com/p/gears/wiki/ResumableHttpRequestsProposal with 1 occurrences migrated to:
https://code.google.com/p/gears/wiki/ResumableHttpRequestsProposal ([https](https://code.google.com/p/gears/wiki/ResumableHttpRequestsProposal ) result 301).
* [ ] http://code.google.com/p/xml-matchers/ with 3 occurrences migrated to:
https://code.google.com/p/xml-matchers/ ([https](https://code.google.com/p/xml-matchers/ ) result 301).
* [ ] http://commons.apache.org/proper/commons-dbcp with 2 occurrences migrated to:
https://commons.apache.org/proper/commons-dbcp ([https](https://commons.apache.org/proper/commons-dbcp ) result 301).
* [ ] http://commons.apache.org/proper/commons-fileupload with 2 occurrences migrated to:
https://commons.apache.org/proper/commons-fileupload ([https](https://commons.apache.org/proper/commons-fileupload ) result 301).
* [ ] http://confluence.jetbrains.net/display/IDEADEV/Gradle+integration with 1 occurrences migrated to:
https://confluence.jetbrains.net/display/IDEADEV/Gradle+integration ([https](https://confluence.jetbrains.net/display/IDEADEV/Gradle+integration ) result 301).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
https://contributor-covenant.org ([https](https://contributor-covenant.org ) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/ ) result 301).
* [ ] http://db.apache.org/derby with 2 occurrences migrated to:
https://db.apache.org/derby ([https](https://db.apache.org/derby ) result 301).
* [ ] http://dev.w3.org/html5/eventsource/ with 2 occurrences migrated to:
https://dev.w3.org/html5/eventsource/ ([https](https://dev.w3.org/html5/eventsource/ ) result 301).
* [ ] http://domain.com with 24 occurrences migrated to:
https://domain.com ([https](https://domain.com ) result 301).
* [ ] http://domain.com/ with 1 occurrences migrated to:
https://domain.com/ ([https](https://domain.com/ ) result 301).
* [ ] http://en.wikipedia.org/wiki/Cache_ with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/Cache_ ([https](https://en.wikipedia.org/wiki/Cache_ ) result 301).
* [ ] http://facebook.github.io/react/ with 2 occurrences migrated to:
https://facebook.github.io/react/ ([https](https://facebook.github.io/react/ ) result 301).
* [ ] http://forum.springframework.org/showthread.php?t=41350 with 1 occurrences migrated to:
https://forum.springframework.org/showthread.php?t=41350 ([https](https://forum.springframework.org/showthread.php?t=41350 ) result 301).
* [ ] http://github.com/SpringSource/spring-framework with 1 occurrences migrated to:
https://github.com/SpringSource/spring-framework ([https](https://github.com/SpringSource/spring-framework ) result 301).
* [ ] http://hdiv.org/ with 1 occurrences migrated to:
https://hdiv.org/ ([https](https://hdiv.org/ ) result 301).
* [ ] http://jakarta.apache.org/commons/fileupload with 1 occurrences migrated to:
https://jakarta.apache.org/commons/fileupload ([https](https://jakarta.apache.org/commons/fileupload ) result 301).
* [ ] http://jira.springframework.org/browse/SPR-5708 with 1 occurrences migrated to:
https://jira.springframework.org/browse/SPR-5708 ([https](https://jira.springframework.org/browse/SPR-5708 ) result 301).
* [ ] http://jira.springframework.org/browse/SPR-6124 with 1 occurrences migrated to:
https://jira.springframework.org/browse/SPR-6124 ([https](https://jira.springframework.org/browse/SPR-6124 ) result 301).
* [ ] http://jira.springframework.org/browse/SPR-6128 with 1 occurrences migrated to:
https://jira.springframework.org/browse/SPR-6128 ([https](https://jira.springframework.org/browse/SPR-6128 ) result 301).
* [ ] http://jira.springframework.org/browse/SPR-7064 with 1 occurrences migrated to:
https://jira.springframework.org/browse/SPR-7064 ([https](https://jira.springframework.org/browse/SPR-7064 ) result 301).
* [ ] http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html with 1 occurrences migrated to:
https://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html ([https](https://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html ) result 301).
* [ ] http://mockito.org/ (301) with 1 occurrences migrated to:
https://mockito.github.io ([https](https://mockito.org/ ) result 301).
* [ ] http://mydomain1.com with 37 occurrences migrated to:
https://mydomain1.com ([https](https://mydomain1.com ) result 301).
* [ ] http://mydomain1.com/ with 2 occurrences migrated to:
https://mydomain1.com/ ([https](https://mydomain1.com/ ) result 301).
* [ ] http://mydomain1.com/path with 2 occurrences migrated to:
https://mydomain1.com/path ([https](https://mydomain1.com/path ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-2660 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-2660 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-2660 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-2754 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-2754 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-2754 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-2789 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-2789 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-2789 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-3127 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-3127 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-3127 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-3775 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-3775 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-3775 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-3880 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-3880 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-3880 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-3896 with 7 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-3896 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-3896 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-3949 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-3949 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-3949 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-4008 with 2 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-4008 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-4008 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-4040 with 2 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-4040 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-4040 ) result 301).
* [ ] http://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//topic/com.ibm.websphere.base.doc/info/aes/ae/rdat_extiapi.html with 1 occurrences migrated to:
https://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//topic/com.ibm.websphere.base.doc/info/aes/ae/rdat_extiapi.html ([https](https://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//topic/com.ibm.websphere.base.doc/info/aes/ae/rdat_extiapi.html ) result 301).
* [ ] http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.javadoc.doc/public_html/api/com/ibm/websphere/rsadapter/JDBCConnectionSpec.html with 1 occurrences migrated to:
https://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.javadoc.doc/public_html/api/com/ibm/websphere/rsadapter/JDBCConnectionSpec.html ([https](https://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.javadoc.doc/public_html/api/com/ibm/websphere/rsadapter/JDBCConnectionSpec.html ) result 301).
* [ ] http://site2.com with 3 occurrences migrated to:
https://site2.com ([https](https://site2.com ) result 301).
* [ ] http://slack.kotlinlang.org/ with 2 occurrences migrated to:
https://slack.kotlinlang.org/ ([https](https://slack.kotlinlang.org/ ) result 301).
* [ ] http://sourceforge.net/projects/c3p0 with 2 occurrences migrated to:
https://sourceforge.net/projects/c3p0 ([https](https://sourceforge.net/projects/c3p0 ) result 301).
* [ ] http://sourceforge.net/projects/javadiff with 1 occurrences migrated to:
https://sourceforge.net/projects/javadiff ([https](https://sourceforge.net/projects/javadiff ) result 301).
* [ ] http://springframework.org with 2 occurrences migrated to:
https://springframework.org ([https](https://springframework.org ) result 301).
* [ ] http://www.atomenabled.org/developers/syndication/ with 1 occurrences migrated to:
https://www.atomenabled.org/developers/syndication/ ([https](https://www.atomenabled.org/developers/syndication/ ) result 301).
* [ ] http://www.google.com/ig/calculator?q=1USD=?EUR with 1 occurrences migrated to:
https://www.google.com/ig/calculator?q=1USD=?EUR ([https](https://www.google.com/ig/calculator?q=1USD=?EUR ) result 301).
* [ ] http://www.javaworld.com/javaworld/jw-01-2009/jw-01-spring-transactions.html with 1 occurrences migrated to:
https://www.javaworld.com/javaworld/jw-01-2009/jw-01-spring-transactions.html ([https](https://www.javaworld.com/javaworld/jw-01-2009/jw-01-spring-transactions.html ) result 301).
* [ ] http://www.junit.org/ with 1 occurrences migrated to:
https://www.junit.org/ ([https](https://www.junit.org/ ) result 301).
* [ ] http://www.mnot.net/cache_docs with 1 occurrences migrated to:
https://www.mnot.net/cache_docs ([https](https://www.mnot.net/cache_docs ) result 301).
* [ ] http://www.sf.net/home.view?siteLanguage=nl with 1 occurrences migrated to:
https://www.sf.net/home.view?siteLanguage=nl ([https](https://www.sf.net/home.view?siteLanguage=nl ) result 301).
* [ ] http://www.springframework.org with 7 occurrences migrated to:
https://www.springframework.org ([https](https://www.springframework.org ) result 301).
* [ ] http://www.springframework.org/ with 3 occurrences migrated to:
https://www.springframework.org/ ([https](https://www.springframework.org/ ) result 301).
* [ ] http://xyz.com/path with 2 occurrences migrated to:
https://xyz.com/path ([https](https://xyz.com/path ) result 301).
* [ ] http://commons.apache.org/codec/ with 1 occurrences migrated to:
https://commons.apache.org/codec/ ([https](https://commons.apache.org/codec/ ) result 302).
* [ ] http://commons.apache.org/logging with 2 occurrences migrated to:
https://commons.apache.org/logging ([https](https://commons.apache.org/logging ) result 302).
* [ ] http://download.oracle.com/javaee/6/api/javax/inject/Scope.html with 1 occurrences migrated to:
https://download.oracle.com/javaee/6/api/javax/inject/Scope.html ([https](https://download.oracle.com/javaee/6/api/javax/inject/Scope.html ) result 302).
* [ ] http://download.oracle.com/javase/1.5.0/docs/api/java/lang/System.html with 4 occurrences migrated to:
https://download.oracle.com/javase/1.5.0/docs/api/java/lang/System.html ([https](https://download.oracle.com/javase/1.5.0/docs/api/java/lang/System.html ) result 302).
* [ ] http://download.oracle.com/javase/6/docs/technotes/guides/jar/jar.html with 1 occurrences migrated to:
https://download.oracle.com/javase/6/docs/technotes/guides/jar/jar.html ([https](https://download.oracle.com/javase/6/docs/technotes/guides/jar/jar.html ) result 302).
* [ ] http://download.oracle.com/javase/8/docs/api/java/beans/ConstructorProperties.html with 1 occurrences migrated to:
https://download.oracle.com/javase/8/docs/api/java/beans/ConstructorProperties.html ([https](https://download.oracle.com/javase/8/docs/api/java/beans/ConstructorProperties.html ) result 302).
* [ ] http://download.oracle.com/javase/jndi/tutorial/beyond/misc/policy.html with 1 occurrences migrated to:
https://download.oracle.com/javase/jndi/tutorial/beyond/misc/policy.html ([https](https://download.oracle.com/javase/jndi/tutorial/beyond/misc/policy.html ) result 302).
* [ ] http://gafter.blogspot.nl/2006/12/super-type-tokens.html with 1 occurrences migrated to:
https://gafter.blogspot.nl/2006/12/super-type-tokens.html ([https](https://gafter.blogspot.nl/2006/12/super-type-tokens.html ) result 302).
* [ ] http://git-scm.com/book/en/Distributed-Git-Contributing-to-a-Project with 1 occurrences migrated to:
https://git-scm.com/book/en/Distributed-Git-Contributing-to-a-Project ([https](https://git-scm.com/book/en/Distributed-Git-Contributing-to-a-Project ) result 302).
* [ ] http://git-scm.com/book/en/Git-Tools-Rewriting-History with 1 occurrences migrated to:
https://git-scm.com/book/en/Git-Tools-Rewriting-History ([https](https://git-scm.com/book/en/Git-Tools-Rewriting-History ) result 302).
* [ ] http://java.sun.com with 3 occurrences migrated to:
https://java.sun.com ([https](https://java.sun.com ) result 302).
* [ ] http://java.sun.com/docs/books/jls/third_edition/html/conversions.html with 1 occurrences migrated to:
https://java.sun.com/docs/books/jls/third_edition/html/conversions.html ([https](https://java.sun.com/docs/books/jls/third_edition/html/conversions.html ) result 302).
* [ ] http://java.sun.com/docs/books/jls/third_edition/html/expressions.html with 1 occurrences migrated to:
https://java.sun.com/docs/books/jls/third_edition/html/expressions.html ([https](https://java.sun.com/docs/books/jls/third_edition/html/expressions.html ) result 302).
* [ ] http://java.sun.com/j2se/ with 2 occurrences migrated to:
https://java.sun.com/j2se/ ([https](https://java.sun.com/j2se/ ) result 302).
* [ ] http://java.sun.com/j2se/1.4.1/docs/tooldocs/solaris/javadoc.html with 1 occurrences migrated to:
https://java.sun.com/j2se/1.4.1/docs/tooldocs/solaris/javadoc.html ([https](https://java.sun.com/j2se/1.4.1/docs/tooldocs/solaris/javadoc.html ) result 302).
* [ ] http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html with 1 occurrences migrated to:
https://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html ([https](https://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html ) result 302).
* [ ] http://java.sun.com/j2se/javadoc with 1 occurrences migrated to:
https://java.sun.com/j2se/javadoc ([https](https://java.sun.com/j2se/javadoc ) result 302).
* [ ] http://java.sun.com/j2se/javadoc/ with 1 occurrences migrated to:
https://java.sun.com/j2se/javadoc/ ([https](https://java.sun.com/j2se/javadoc/ ) result 302).
* [ ] http://java.sun.com/j2se/javadoc/faq.html with 1 occurrences migrated to:
https://java.sun.com/j2se/javadoc/faq.html ([https](https://java.sun.com/j2se/javadoc/faq.html ) result 302).
* [ ] http://java.sun.com/webservices/jaxb/ with 1 occurrences migrated to:
https://java.sun.com/webservices/jaxb/ ([https](https://java.sun.com/webservices/jaxb/ ) result 302).
* [ ] http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd with 1 occurrences migrated to:
https://java.sun.com/xml/ns/j2ee/connector_1_5.xsd ([https](https://java.sun.com/xml/ns/j2ee/connector_1_5.xsd ) result 302).
* [ ] http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd with 2 occurrences migrated to:
https://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd ([https](https://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd ) result 302).
* [ ] http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd with 2 occurrences migrated to:
https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd ([https](https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd ) result 302).
* [ ] http://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download with 1 occurrences migrated to:
https://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download ([https](https://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download ) result 302).
* [ ] http://other.info/foo/bar (301) with 1 occurrences migrated to:
https://weibo.com/otherinfo/foo/bar ([https](https://other.info/foo/bar ) result 302).
* [ ] http://www.iana.org/assignments/http-status-codes with 1 occurrences migrated to:
https://www.iana.org/assignments/http-status-codes ([https](https://www.iana.org/assignments/http-status-codes ) result 302).
* [ ] http://www.iana.org/assignments/media-types/ with 1 occurrences migrated to:
https://www.iana.org/assignments/media-types/ ([https](https://www.iana.org/assignments/media-types/ ) result 302).
* [ ] http://www.sys-con.com/java with 1 occurrences migrated to:
https://www.sys-con.com/java ([https](https://www.sys-con.com/java ) result 302).
These URLs were intentionally ignored.
* http://Additional-namespace-name-URI with 1 occurrences
* http://Default-namespace-name-URI with 1 occurrences
* http://HOST:8080/remoting/AccountService with 1 occurrences
* http://Namespace-name-URI with 1 occurrences
* http://Unbound-namespace-name-URI with 1 occurrences
* http://anotherHost/mvc-showcase with 1 occurrences
* http://apache.org/xml/features/disallow-doctype-decl with 14 occurrences
* http://barfoo:8888 with 1 occurrences
* http://example/ with 1 occurrences
* http://fake-service with 7 occurrences
* http://foo with 3 occurrences
* http://foobar:8088 with 1 occurrences
* http://host:port/myApp/myEndpoint/ with 1 occurrences
* http://java.sun.com/jsp/jstl/core with 1 occurrences
* http://java.sun.com/xml/jaxp/properties/schemaLanguage with 1 occurrences
* http://java.sun.com/xml/ns/j2ee with 6 occurrences
* http://java.sun.com/xml/ns/javaee with 4 occurrences
* http://java.sun.com/xml/ns/persistence with 1 occurrences
* http://java.sun.com/xml/stream/properties/report-cdata-event with 1 occurrences
* http://jaxws.remoting.springframework.org/ with 4 occurrences
* http://localhost with 86 occurrences
* http://localhost/ with 16 occurrences
* http://localhost/42 with 1 occurrences
* http://localhost/?cookie=foo with 1 occurrences
* http://localhost/FILE.TXT with 1 occurrences
* http://localhost/abc with 1 occurrences
* http://localhost/abc/def with 1 occurrences
* http://localhost/app%20/path/ with 1 occurrences
* http://localhost/app/path%20with%20spaces/ with 1 occurrences
* http://localhost/bar with 2 occurrences
* http://localhost/context/a with 3 occurrences
* http://localhost/contextPath/main/path with 2 occurrences
* http://localhost/file.foo with 1 occurrences
* http://localhost/file.txt with 1 occurrences
* http://localhost/foo with 2 occurrences
* http://localhost/foo%20bar with 1 occurrences
* http://localhost/foo/bar with 1 occurrences
* http://localhost/foo/bar/baz with 1 occurrences
* http://localhost/forward with 1 occurrences
* http://localhost/hotels/42/bookings/21 with 4 occurrences
* http://localhost/input with 1 occurrences
* http://localhost/jquery-1.11.0.min.js with 5 occurrences
* http://localhost/messages/form with 1 occurrences
* http://localhost/mvc-showcase with 2 occurrences
* http://localhost/mvc-showcase/app with 1 occurrences
* http://localhost/mvc-showcase/data/foo%20bar with 1 occurrences
* http://localhost/mvc-showcase/data/param with 1 occurrences
* http://localhost/mvc-showcase/data/param?foo=123 with 2 occurrences
* http://localhost/myapp/main with 1 occurrences
* http://localhost/myapp/people/1/addresses/DE with 1 occurrences
* http://localhost/path with 3 occurrences
* http://localhost/path;a=b/with/semicolon with 1 occurrences
* http://localhost/persons with 1 occurrences
* http://localhost/prefix with 1 occurrences
* http://localhost/prefix/app with 1 occurrences
* http://localhost/prefix/bar with 1 occurrences
* http://localhost/prefix/mvc-showcase with 3 occurrences
* http://localhost/query= with 1 occurrences
* http://localhost/query=foo@bar with 1 occurrences
* http://localhost/resources/child/response.txt with 1 occurrences
* http://localhost/resources/foo with 2 occurrences
* http://localhost/resources/foo.txt with 1 occurrences
* http://localhost/resources/response.txt with 2 occurrences
* http://localhost/rest/books/6/pages/1.json with 1 occurrences
* http://localhost/something/1/foo with 1 occurrences
* http://localhost/something/optional-param with 1 occurrences
* http://localhost/test with 4 occurrences
* http://localhost/test.html with 1 occurrences
* http://localhost/test/this with 2 occurrences
* http://localhost:7070/example/adminhandle.vm with 1 occurrences
* http://localhost:7070/example/bingo.html with 1 occurrences
* http://localhost:80/jquery-1.11.0.min.js with 1 occurrences
* http://localhost:8080 with 34 occurrences
* http://localhost:8080/ with 4 occurrences
* http://localhost:8080/OrderService with 3 occurrences
* http://localhost:8080/aA/bB/cC with 1 occurrences
* http://localhost:8080/context with 1 occurrences
* http://localhost:8080/context/myapiresource with 1 occurrences
* http://localhost:8080/gamecast/admin/index.html with 1 occurrences
* http://localhost:8080/gamecast/display.html with 1 occurrences
* http://localhost:8080/gamecast/displayShoppingCart.html with 1 occurrences
* http://localhost:8080/jquery-1.11.0.min.js with 1 occurrences
* http://localhost:8080/mvc-showcase with 1 occurrences
* http://localhost:8080/myapiresource with 1 occurrences
* http://localhost:8080/myapp/js/sockjs-client.js with 1 occurrences
* http://localhost:8080/path with 2 occurrences
* http://localhost:8080/people with 2 occurrences
* http://localhost:8080/portfolio with 1 occurrences
* http://localhost:8080/spring/ with 2 occurrences
* http://localhost:8080/test/ with 2 occurrences
* http://localhost:8080/test/print?value=%EA%B0%80+%EB%82%98 with 1 occurrences
* http://localhost:8081 with 1 occurrences
* http://localhost:8081/ with 1 occurrences
* http://localhost:8181 with 1 occurrences
* http://localhost:8888/AccountServiceEndpoint?WSDL with 1 occurrences
* http://localhost:9000 with 7 occurrences
* http://localhost:9090 with 18 occurrences
* http://localhost:9090/jquery-1.11.0.min.js with 2 occurrences
* http://localhost:9990/mail/messages/form with 1 occurrences
* http://localhost:9999/ with 1 occurrences
* http://localhost:9999/OrderService?wsdl with 4 occurrences
* http://localhosta/testbean with 3 occurrences
* http://myserver with 1 occurrences
* http://myurl with 12 occurrences
* http://remotehost:8080/remoting/AccountService with 2 occurrences
* http://samples.springframework.org/flight with 39 occurrences
* http://somethingDifferent with 1 occurrences
* http://springframework.org/spring-ws with 17 occurrences
* http://test.com with 1 occurrences
* http://test.com/ with 1 occurrences
* http://testng.org/ with 1 occurrences
* http://tiles.apache.org/tags-tiles with 1 occurrences
* http://www with 1 occurrences
* http://www.foo.com/schema/component with 6 occurrences
* http://www.mycompany.com/schema/myns with 4 occurrences
* http://www.springframework.org/schema/aop with 30 occurrences
* http://www.springframework.org/schema/beans with 169 occurrences
* http://www.springframework.org/schema/beans/test with 2 occurrences
* http://www.springframework.org/schema/c with 1 occurrences
* http://www.springframework.org/schema/cache with 5 occurrences
* http://www.springframework.org/schema/context with 28 occurrences
* http://www.springframework.org/schema/jdbc with 8 occurrences
* http://www.springframework.org/schema/jee with 9 occurrences
* http://www.springframework.org/schema/jms with 5 occurrences
* http://www.springframework.org/schema/lang with 10 occurrences
* http://www.springframework.org/schema/mvc with 8 occurrences
* http://www.springframework.org/schema/oxm with 4 occurrences
* http://www.springframework.org/schema/p with 4 occurrences
* http://www.springframework.org/schema/task with 2 occurrences
* http://www.springframework.org/schema/tool with 27 occurrences
* http://www.springframework.org/schema/tx with 18 occurrences
* http://www.springframework.org/schema/util with 8 occurrences
* http://www.springframework.org/schema/websocket with 26 occurrences
* http://www.springframework.org/spring-ws with 1 occurrences
* http://www.springframework.org/tags with 4 occurrences
* http://www.springframework.org/tags/form with 2 occurrences
* http://www.w3.org/1999/XSL/Transform with 8 occurrences
* http://www.w3.org/2001/XMLSchema with 24 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 83 occurrences
* http://www.w3.org/2005/Atom with 4 occurrences
* http://www.w3.org/TR/html4/charset.html with 5 occurrences
* http://www.w3.org/TR/html4/sgml/entities.html with 14 occurrences
* http://www.w3.org/XML/1998/namespace with 5 occurrences
* http://xml.org/sax/features/ with 4 occurrences
* http://xml.org/sax/features/external-general-entities with 14 occurrences
* http://xml.org/sax/features/is-standalone with 1 occurrences
* http://xml.org/sax/features/namespace-prefixes with 13 occurrences
* http://xml.org/sax/features/namespaces with 12 occurrences
* http://xml.org/sax/features/namespaces-prefixes with 1 occurrences
* http://xml.org/sax/properties/lexical-handler with 12 occurrences
Closes gh-22680
2019-03-27 22:05:38 +01:00
Rossen Stoyanchev
1aaadb39c0
Support STOMP in addition to CONNECT frame
...
One is literally an alias for the other with "the advantage that a
protocol sniffer/discriminator will be able to differentiate the STOMP
connection from an HTTP connection".
Closes gh-22652
2019-03-27 16:19:11 -04:00
Juergen Hoeller
50acbae4cf
Upgrade to RxJava 2.2.8 and Mockito 2.25.1
2019-03-27 19:14:51 +01:00
Sam Brannen
20f1f46ae1
URL Cleanup - Fix broken tests
...
See gh-22669
2019-03-27 19:06:01 +01:00
Sam Brannen
c51a257210
URL Cleanup - Polishing
...
See gh-22669
2019-03-27 19:05:54 +01:00
Sam Brannen
c74d102df3
URL Cleanup - remove obsolete ATOM schema location
...
See gh-22669
2019-03-27 19:05:34 +01:00
Spring Operator
8f77b7366e
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.
* [ ] http://castor.org/mapping.dtd (301) with 1 occurrences could not be migrated:
([https](https://castor.org/mapping.dtd ) result AnnotatedConnectException).
* [ ] http://mydomain2.com (302) with 2 occurrences could not be migrated:
([https](https://mydomain2.com ) result ConnectTimeoutException).
* [ ] http://www.foo.com/schema/component/component.xsd (404) with 1 occurrences could not be migrated:
([https](https://www.foo.com/schema/component/component.xsd ) result SSLHandshakeException).
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* [ ] http://www.kbcafe.com/rss/atom.xsd.xml (ConnectTimeoutException) with 1 occurrences migrated to:
https://www.kbcafe.com/rss/atom.xsd.xml ([https](https://www.kbcafe.com/rss/atom.xsd.xml ) result ConnectTimeoutException).
* [ ] http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd (ReadTimeoutException) with 5 occurrences migrated to:
https://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd ([https](https://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd ) result ReadTimeoutException).
* [ ] http://domain1.com (UnknownHostException) with 2 occurrences migrated to:
https://domain1.com ([https](https://domain1.com ) result UnknownHostException).
* [ ] http://domain2.com (UnknownHostException) with 1 occurrences migrated to:
https://domain2.com ([https](https://domain2.com ) result UnknownHostException).
* [ ] http://mydomain1.com,http://mydomain2.com (UnknownHostException) with 1 occurrences migrated to:
https://mydomain1.com,http://mydomain2.com ([https](https://mydomain1.com,https://mydomain2.com ) result UnknownHostException).
* [ ] http://mydomain3.com,http://mydomain4.com (UnknownHostException) with 1 occurrences migrated to:
https://mydomain3.com,http://mydomain4.com ([https](https://mydomain3.com,https://mydomain4.com ) result UnknownHostException).
* [ ] http://www.springframework.org/schema/beans/factory/xml/support/CustomNamespaceHandlerTests.xsd (404) with 1 occurrences migrated to:
https://www.springframework.org/schema/beans/factory/xml/support/CustomNamespaceHandlerTests.xsd ([https](https://www.springframework.org/schema/beans/factory/xml/support/CustomNamespaceHandlerTests.xsd ) result 404).
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://example.com with 1 occurrences migrated to:
https://example.com ([https](https://example.com ) result 200).
* [ ] http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd (301) with 2 occurrences migrated to:
https://hibernate.org/dtd/hibernate-mapping-3.0.dtd ([https](https://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd ) result 200).
* [ ] http://testng.org/testng-1.0.dtd with 3 occurrences migrated to:
https://testng.org/testng-1.0.dtd ([https](https://testng.org/testng-1.0.dtd ) result 200).
* [ ] http://tiles.apache.org/dtds/tiles-config_2_0.dtd with 2 occurrences migrated to:
https://tiles.apache.org/dtds/tiles-config_2_0.dtd ([https](https://tiles.apache.org/dtds/tiles-config_2_0.dtd ) result 200).
* [ ] http://tiles.apache.org/dtds/tiles-config_2_1.dtd with 2 occurrences migrated to:
https://tiles.apache.org/dtds/tiles-config_2_1.dtd ([https](https://tiles.apache.org/dtds/tiles-config_2_1.dtd ) result 200).
* [ ] http://tiles.apache.org/dtds/tiles-config_3_0.dtd with 4 occurrences migrated to:
https://tiles.apache.org/dtds/tiles-config_3_0.dtd ([https](https://tiles.apache.org/dtds/tiles-config_3_0.dtd ) result 200).
* [ ] http://www.quartz-scheduler.org/xml/job_scheduling_data_1_8.xsd with 1 occurrences migrated to:
https://www.quartz-scheduler.org/xml/job_scheduling_data_1_8.xsd ([https](https://www.quartz-scheduler.org/xml/job_scheduling_data_1_8.xsd ) result 200).
* [ ] http://www.springframework.org/dtd/spring-beans-2.0.dtd with 176 occurrences migrated to:
https://www.springframework.org/dtd/spring-beans-2.0.dtd ([https](https://www.springframework.org/dtd/spring-beans-2.0.dtd ) result 200).
* [ ] http://www.springframework.org/schema/aop/spring-aop-2.0.xsd with 68 occurrences migrated to:
https://www.springframework.org/schema/aop/spring-aop-2.0.xsd ([https](https://www.springframework.org/schema/aop/spring-aop-2.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/aop/spring-aop-2.5.xsd with 11 occurrences migrated to:
https://www.springframework.org/schema/aop/spring-aop-2.5.xsd ([https](https://www.springframework.org/schema/aop/spring-aop-2.5.xsd ) result 200).
* [ ] http://www.springframework.org/schema/aop/spring-aop-3.0.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/aop/spring-aop-3.0.xsd ([https](https://www.springframework.org/schema/aop/spring-aop-3.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/aop/spring-aop.xsd with 7 occurrences migrated to:
https://www.springframework.org/schema/aop/spring-aop.xsd ([https](https://www.springframework.org/schema/aop/spring-aop.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-2.0.xsd with 112 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-2.0.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-2.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-2.5.xsd with 46 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-2.5.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-2.5.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-3.0.xsd with 10 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-3.0.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-3.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-3.1.xsd with 33 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-3.1.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-3.2.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-3.2.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-3.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-4.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-4.0.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-4.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-4.1.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-4.1.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-4.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-4.2.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-4.2.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-4.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-4.3.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-4.3.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-4.3.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 142 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd ) result 200).
* [ ] http://www.springframework.org/schema/cache/spring-cache.xsd with 10 occurrences migrated to:
https://www.springframework.org/schema/cache/spring-cache.xsd ([https](https://www.springframework.org/schema/cache/spring-cache.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context-2.5.xsd with 41 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-2.5.xsd ([https](https://www.springframework.org/schema/context/spring-context-2.5.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context-3.0.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-3.0.xsd ([https](https://www.springframework.org/schema/context/spring-context-3.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context-3.1.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-3.1.xsd ([https](https://www.springframework.org/schema/context/spring-context-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context-3.2.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-3.2.xsd ([https](https://www.springframework.org/schema/context/spring-context-3.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context-4.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-4.0.xsd ([https](https://www.springframework.org/schema/context/spring-context-4.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context-4.2.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-4.2.xsd ([https](https://www.springframework.org/schema/context/spring-context-4.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context-4.3.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-4.3.xsd ([https](https://www.springframework.org/schema/context/spring-context-4.3.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context.xsd with 10 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd with 9 occurrences migrated to:
https://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd with 5 occurrences migrated to:
https://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jdbc/spring-jdbc-4.2.xsd with 9 occurrences migrated to:
https://www.springframework.org/schema/jdbc/spring-jdbc-4.2.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc-4.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jdbc/spring-jdbc-4.3.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/jdbc/spring-jdbc-4.3.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc-4.3.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jdbc/spring-jdbc.xsd with 8 occurrences migrated to:
https://www.springframework.org/schema/jdbc/spring-jdbc.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jee/spring-jee-3.1.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/jee/spring-jee-3.1.xsd ([https](https://www.springframework.org/schema/jee/spring-jee-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jms/spring-jms-4.1.xsd with 9 occurrences migrated to:
https://www.springframework.org/schema/jms/spring-jms-4.1.xsd ([https](https://www.springframework.org/schema/jms/spring-jms-4.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jms/spring-jms-4.2.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/jms/spring-jms-4.2.xsd ([https](https://www.springframework.org/schema/jms/spring-jms-4.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/lang/spring-lang-2.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/lang/spring-lang-2.0.xsd ([https](https://www.springframework.org/schema/lang/spring-lang-2.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/lang/spring-lang-2.5.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/lang/spring-lang-2.5.xsd ([https](https://www.springframework.org/schema/lang/spring-lang-2.5.xsd ) result 200).
* [ ] http://www.springframework.org/schema/lang/spring-lang-3.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/lang/spring-lang-3.0.xsd ([https](https://www.springframework.org/schema/lang/spring-lang-3.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/lang/spring-lang-3.1.xsd with 5 occurrences migrated to:
https://www.springframework.org/schema/lang/spring-lang-3.1.xsd ([https](https://www.springframework.org/schema/lang/spring-lang-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/lang/spring-lang-4.2.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/lang/spring-lang-4.2.xsd ([https](https://www.springframework.org/schema/lang/spring-lang-4.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/lang/spring-lang.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/lang/spring-lang.xsd ([https](https://www.springframework.org/schema/lang/spring-lang.xsd ) result 200).
* [ ] http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd ([https](https://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd ([https](https://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd ) result 200).
* [ ] http://www.springframework.org/schema/mvc/spring-mvc.xsd with 26 occurrences migrated to:
https://www.springframework.org/schema/mvc/spring-mvc.xsd ([https](https://www.springframework.org/schema/mvc/spring-mvc.xsd ) result 200).
* [ ] http://www.springframework.org/schema/oxm/spring-oxm.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/oxm/spring-oxm.xsd ([https](https://www.springframework.org/schema/oxm/spring-oxm.xsd ) result 200).
* [ ] http://www.springframework.org/schema/task/spring-task-4.1.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/task/spring-task-4.1.xsd ([https](https://www.springframework.org/schema/task/spring-task-4.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/task/spring-task.xsd with 6 occurrences migrated to:
https://www.springframework.org/schema/task/spring-task.xsd ([https](https://www.springframework.org/schema/task/spring-task.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tx/spring-tx-2.5.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/tx/spring-tx-2.5.xsd ([https](https://www.springframework.org/schema/tx/spring-tx-2.5.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tx/spring-tx-4.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/tx/spring-tx-4.0.xsd ([https](https://www.springframework.org/schema/tx/spring-tx-4.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tx/spring-tx.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/tx/spring-tx.xsd ([https](https://www.springframework.org/schema/tx/spring-tx.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util-2.0.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util-2.0.xsd ([https](https://www.springframework.org/schema/util/spring-util-2.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util-2.5.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util-2.5.xsd ([https](https://www.springframework.org/schema/util/spring-util-2.5.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util-3.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util-3.0.xsd ([https](https://www.springframework.org/schema/util/spring-util-3.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util-3.1.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util-3.1.xsd ([https](https://www.springframework.org/schema/util/spring-util-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util-4.1.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util-4.1.xsd ([https](https://www.springframework.org/schema/util/spring-util-4.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util-4.2.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util-4.2.xsd ([https](https://www.springframework.org/schema/util/spring-util-4.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util.xsd ([https](https://www.springframework.org/schema/util/spring-util.xsd ) result 200).
* [ ] http://www.springframework.org/schema/websocket/spring-websocket.xsd with 11 occurrences migrated to:
https://www.springframework.org/schema/websocket/spring-websocket.xsd ([https](https://www.springframework.org/schema/websocket/spring-websocket.xsd ) result 200).
* [ ] http://www.w3.org/1999/02/22-rdf-syntax-ns with 2 occurrences migrated to:
https://www.w3.org/1999/02/22-rdf-syntax-ns ([https](https://www.w3.org/1999/02/22-rdf-syntax-ns ) result 200).
* [ ] http://mydomain1.com with 2 occurrences migrated to:
https://mydomain1.com ([https](https://mydomain1.com ) result 301).
* [ ] http://www.springframework.org with 1 occurrences migrated to:
https://www.springframework.org ([https](https://www.springframework.org ) result 301).
* [ ] http://help.sap.com/saphelp_hanaplatform/helpdata/en/20/a78d3275191014b41bae7c4a46d835/content.htm with 1 occurrences migrated to:
https://help.sap.com/saphelp_hanaplatform/helpdata/en/20/a78d3275191014b41bae7c4a46d835/content.htm ([https](https://help.sap.com/saphelp_hanaplatform/helpdata/en/20/a78d3275191014b41bae7c4a46d835/content.htm ) result 302).
* [ ] http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd with 1 occurrences migrated to:
https://java.sun.com/xml/ns/j2ee/connector_1_5.xsd ([https](https://java.sun.com/xml/ns/j2ee/connector_1_5.xsd ) result 302).
* [ ] http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd with 1 occurrences migrated to:
https://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd ([https](https://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd ) result 302).
* [ ] http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd with 12 occurrences migrated to:
https://java.sun.com/xml/ns/persistence/persistence_1_0.xsd ([https](https://java.sun.com/xml/ns/persistence/persistence_1_0.xsd ) result 302).
* [ ] http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd with 1 occurrences migrated to:
https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd ([https](https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd ) result 302).
* [ ] http://purl.org/dc/dcmitype/StillImage with 2 occurrences migrated to:
https://purl.org/dc/dcmitype/StillImage ([https](https://purl.org/dc/dcmitype/StillImage ) result 302).
These URLs were intentionally ignored.
* http://creativecommons.org/ns with 2 occurrences
* http://java.sun.com/dtd/properties.dtd with 4 occurrences
* http://java.sun.com/xml/ns/j2ee with 2 occurrences
* http://java.sun.com/xml/ns/javaee with 2 occurrences
* http://java.sun.com/xml/ns/persistence with 27 occurrences
* http://localhost:8080 with 3 occurrences
* http://purl.org/dc/elements/1.1/ with 2 occurrences
* http://samples.springframework.org/flight with 7 occurrences
* http://schemas.microsoft.com/visio/2003/SVGExtensions/ with 7 occurrences
* http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd with 2 occurrences
* http://www.foo.com/schema/component with 2 occurrences
* http://www.greeting.com/goodbye/ with 1 occurrences
* http://www.greeting.com/hello/ with 1 occurrences
* http://www.inkscape.org/namespaces/inkscape with 2 occurrences
* http://www.quartz-scheduler.org/xml/JobSchedulingData with 2 occurrences
* http://www.springframework.org/schema/aop with 176 occurrences
* http://www.springframework.org/schema/beans with 715 occurrences
* http://www.springframework.org/schema/beans/test with 2 occurrences
* http://www.springframework.org/schema/c with 9 occurrences
* http://www.springframework.org/schema/cache with 20 occurrences
* http://www.springframework.org/schema/context with 126 occurrences
* http://www.springframework.org/schema/jdbc with 66 occurrences
* http://www.springframework.org/schema/jee with 2 occurrences
* http://www.springframework.org/schema/jms with 20 occurrences
* http://www.springframework.org/schema/lang with 27 occurrences
* http://www.springframework.org/schema/mvc with 58 occurrences
* http://www.springframework.org/schema/oxm with 2 occurrences
* http://www.springframework.org/schema/p with 16 occurrences
* http://www.springframework.org/schema/task with 14 occurrences
* http://www.springframework.org/schema/tx with 12 occurrences
* http://www.springframework.org/schema/util with 28 occurrences
* http://www.springframework.org/schema/websocket with 22 occurrences
* http://www.w3.org/2000/svg with 9 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 375 occurrences
* http://www.w3.org/2005/Atom with 2 occurrences
Closes gh-22669
2019-03-27 19:05:08 +01:00
Juergen Hoeller
80b4b9850a
Upgrade to Reactor Californium SR6
...
Closes gh-22693
2019-03-27 18:08:35 +01:00
Sebastien Deleuze
f0ae8bc300
Support custom XmlFactory in Jackson2ObjectMapperBuilder
...
Closes gh-22428
2019-03-27 16:48:21 +01:00
Juergen Hoeller
ca24fd50b0
Rethrow original BeanCreationException if fallback producer fails
...
Closes gh-22689
2019-03-27 16:01:18 +01:00
Rossen Stoyanchev
c54355784e
Buffer leak fixes
...
Address issues where buffers are allocated (and cached somehow) at or
before subscription, and before explicit demand.
The commit adds tests proving the leaks and fixes. The common thread
for all tests is a "zero demand" subscriber that subscribes but does
not request, and then cancels without consuming anything.
Closes gh-22107
2019-03-26 21:13:42 -04:00
Rossen Stoyanchev
65b46079a2
Replace stream with loop in RequestCondition's
2019-03-26 21:12:15 -04:00
Juergen Hoeller
9d6592d8f6
Upgrade to Hibernate Validator 6.0.16 and H2 1.4.199
2019-03-26 23:31:19 +01:00
Sam Brannen
95eb24d642
Verify that CssLinkResourceTransformer handles empty url() links
...
This commit introduces tests that verify that both
CssLinkResourceTransformer implementations properly handle empty url()
functions in CSS files.
See gh-22602
2019-03-26 18:27:11 +01:00
Juergen Hoeller
699d75ec11
Polishing
2019-03-26 17:56:31 +01:00
Arjen Poutsma
c152d246a8
Copy cookies and hints to ServerResponse builders
...
Closes gh-22351
2019-03-26 16:19:13 +01:00
Arjen Poutsma
6324a1b3fa
Copy cookies and hints in built ServerResponse
...
Closes gh-22481
2019-03-26 15:49:12 +01:00
Sebastien Deleuze
0ca8428603
Fix lambda nullability in JdbcOperations extensions
...
Closes gh-22682
2019-03-26 14:29:41 +01:00
Sam Brannen
fd6b64bfac
Polishing
2019-03-26 12:48:15 +01:00
Sam Brannen
6870b9c691
Test fix in gh-22638
2019-03-26 12:48:15 +01:00
李全城
93de5f407e
Avoid duplicate registration of [RequestBody|ResponseBody]Advice @ControllerAdvice
...
Prior to this commit, if a @ControllerAdvice implemented both
RequestBodyAdvice and ResponseBodyAdvice, it was registered twice in
RequestMappingHandlerAdapter.
This commit ensures that such instances are only registered once.
Closes gh-22638
2019-03-26 12:07:19 +01:00
Sam Brannen
f66362a01c
Update license.txt file
...
Closes gh-22659
2019-03-25 18:09:28 +01:00
Juergen Hoeller
fc178ef7c2
Upgrade to Tomcat 9.0.17 and OkHttp 3.14
2019-03-25 13:54:15 +01:00
Juergen Hoeller
6f1b583130
Polishing
2019-03-25 13:54:02 +01:00
Juergen Hoeller
507d4ba825
StringUtils.parseLocale consistently handles invalid locale values
...
Closes gh-22603
2019-03-25 13:53:54 +01:00
Sam Brannen
8d7676a5ec
Merge branch 'spring-operator-polish-urls-apache-license-5.1.x' into 5.1.x
2019-03-23 15:41:55 +01:00
Sam Brannen
68de9820dc
Upgrade to latest Checkstyle DTDs
...
See gh-22634
2019-03-23 15:40:10 +01:00
Sam Brannen
af99e868c4
Upgrade to spring-javaformat-checkstyle version 0.0.7
...
See gh-22634
2019-03-23 15:38:44 +01:00
Sam Brannen
e98fd762ba
URL Cleanup - license headers - target subpackages
...
This commit updates license headers for source files residing in
subpackages named `target`.
Closes gh-22634
2019-03-23 15:22:44 +01:00
Spring Operator
540759ec41
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 6515 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-23 15:19:34 +01:00
Rossen Stoyanchev
c9a86e1ff4
Polish
...
See gh-22598
2019-03-22 14:39:21 -04:00
wenqi.huang
d10174a3e9
Optimize performance of produces condition checks
2019-03-22 13:59:34 -04:00
Sebastien Deleuze
d4714847a0
Restore 2 digit days format in HttpHeaders
...
As recommended by RFC 7231, this commit restore using 2 digit days
when formatting dates while still using
DateTimeFormatter.RFC_1123_DATE_TIME for parsing.
Closes gh-22478
2019-03-21 18:31:45 +01:00
Sebastien Deleuze
35010149f8
Fix Jackson builder modulesToInstall override behavior
...
This commit updates Jackson2ObjectMapperBuilder in order
to ensure that modules specified via modulesToInstall
eventually override the default ones.
Closes gh-22576
2019-03-21 11:24:03 +01:00
Rossen Stoyanchev
5f111098b1
Check for Reactor Netty disconnected client errors
...
Extend the list of disconnected client errors in HttpWebHandlerAdapter
to include the Reactor Netty AbortedException as well exceptions with
the message "connection reset by peer".
Closes gh-21790
2019-03-20 09:01:22 -04:00
Rossen Stoyanchev
c7401dbe1f
Fix @since typo
2019-03-19 14:40:34 -04:00
Rossen Stoyanchev
f52c1fda3b
Polish
2019-03-19 14:18:33 -04:00
Sam Brannen
ef11aa4583
Update documentation for WebJar support
...
Prior to this commit, documentation for WebJar support referenced the
webjars-locator artifact; however, Spring now uses the
webjars-locator-core artifact.
This commit updates the documentation to reflect this.
Closes gh-22613
2019-03-19 18:59:03 +01:00
Arjen Poutsma
4651039b1f
Use ChannelListener for Undertow zero-copy file transfers
...
This commit changes the UndertowServerHttpResponse to use a
listener-based approach instead of a blocking approach.
Closes gh-22413
2019-03-19 11:16:42 +01:00
Stephane Nicoll
0552468998
Merge pull request #22597 from lwjli
...
* pr/22597:
Polish "Remove outdated link in documentation"
Remove outdated link in documentation
2019-03-15 10:51:41 +01:00
Stephane Nicoll
5e019e1769
Polish "Remove outdated link in documentation"
...
Closes gh-22597
2019-03-15 10:51:21 +01:00
lwjli
31a2b4ef46
Remove outdated link in documentation
...
See gh-22597
2019-03-15 10:50:13 +01:00
Juergen Hoeller
fcb3957884
Upgrade to Netty 4.1.34
2019-03-13 15:32:37 +01:00
Juergen Hoeller
fe56aa6fa4
Polishing
2019-03-13 15:32:24 +01:00
Juergen Hoeller
88049e9b5c
EventListenerMethodProcessor skips annotation search on java classes
...
Closes gh-22564
2019-03-13 15:32:14 +01:00
Sam Brannen
db56d348dc
Polishing
...
See gh-22577
2019-03-13 15:28:15 +01:00
Sam Brannen
8f7b118701
Ensure PDF version of Reference Manual does not contain HTML <strong> tags
...
Prior to this commit, the PDF version of the Spring Reference Manual
contained HTML <strong></strong> tags in code examples due to the fact
that Asciidoctor converts bold formatting (i.e., elements wrapped in
`**` or `*`) within source code blocks into HTML tags even for PDF
rendering.
This commit addresses this issue by removing all bold formatting from
example code blocks.
Closes gh-22577
2019-03-13 15:12:51 +01:00
Sam Brannen
00196ea14a
Merge branch 'spring-operator-polish-urls-build-5.1.x' into 5.1.x
2019-03-12 18:36:04 +01:00
Sam Brannen
7eb1a421f7
Manual URL Cleanup
...
Closes gh-22522
2019-03-12 17:52:46 +01:00
Spring Operator
9ca70dc1d3
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* http://quartz-scheduler.org/api/2.2.1/ (301) migrated to:
https://www.quartz-scheduler.org/api/2.2.1/ ([https](https://quartz-scheduler.org/api/2.2.1/ ) result 404).
## Fixed Success
These URLs were fixed successfully.
* http://docs.jboss.org/jbossas/javadoc/4.0.5/connector/ migrated to:
https://docs.jboss.org/jbossas/javadoc/4.0.5/connector/ ([https](https://docs.jboss.org/jbossas/javadoc/4.0.5/connector/ ) result 200).
* http://docs.jboss.org/jbossas/javadoc/7.1.2.Final/ migrated to:
https://docs.jboss.org/jbossas/javadoc/7.1.2.Final/ ([https](https://docs.jboss.org/jbossas/javadoc/7.1.2.Final/ ) result 200).
* http://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/ migrated to:
https://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/ ([https](https://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/ ) result 200).
* http://docs.oracle.com/javaee/7/api/ migrated to:
https://docs.oracle.com/javaee/7/api/ ([https](https://docs.oracle.com/javaee/7/api/ ) result 200).
* http://docs.oracle.com/javase/8/docs/api/ migrated to:
https://docs.oracle.com/javase/8/docs/api/ ([https](https://docs.oracle.com/javase/8/docs/api/ ) result 200).
* http://fasterxml.github.io/jackson-core/javadoc/2.9/ migrated to:
https://fasterxml.github.io/jackson-core/javadoc/2.9/ ([https](https://fasterxml.github.io/jackson-core/javadoc/2.9/ ) result 200).
* http://fasterxml.github.io/jackson-databind/javadoc/2.9/ migrated to:
https://fasterxml.github.io/jackson-databind/javadoc/2.9/ ([https](https://fasterxml.github.io/jackson-databind/javadoc/2.9/ ) result 200).
* http://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/ migrated to:
https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/ ([https](https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/ ) result 200).
* http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/ migrated to:
https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/ ([https](https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/ ) result 200).
* http://issues.gradle.org/browse/GRADLE-1116 migrated to:
https://issues.gradle.org/browse/GRADLE-1116 ([https](https://issues.gradle.org/browse/GRADLE-1116 ) result 200).
* http://projectreactor.io/docs/core/release/api/ migrated to:
https://projectreactor.io/docs/core/release/api/ ([https](https://projectreactor.io/docs/core/release/api/ ) result 200).
* http://tiles.apache.org/framework/apidocs/ migrated to:
https://tiles.apache.org/framework/apidocs/ ([https](https://tiles.apache.org/framework/apidocs/ ) result 200).
* http://tiles.apache.org/tiles-request/apidocs/ migrated to:
https://tiles.apache.org/tiles-request/apidocs/ ([https](https://tiles.apache.org/tiles-request/apidocs/ ) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
* http://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/ migrated to:
https://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/ ([https](https://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/ ) result 200).
* http://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/ migrated to:
https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/ ([https](https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/ ) result 200).
* http://docs.spring.io/spring-framework/docs migrated to:
https://docs.spring.io/spring-framework/docs ([https](https://docs.spring.io/spring-framework/docs ) result 301).
* http://glassfish.java.net/nonav/docs/v3/api/ migrated to:
https://glassfish.java.net/nonav/docs/v3/api/ ([https](https://glassfish.java.net/nonav/docs/v3/api/ ) result 301).
* http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.javadoc.doc/web/apidocs/ migrated to:
https://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.javadoc.doc/web/apidocs/ ([https](https://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.javadoc.doc/web/apidocs/ ) result 301).
* http://projects.spring.io/spring-framework migrated to:
https://projects.spring.io/spring-framework ([https](https://projects.spring.io/spring-framework ) result 301).
* http://springframework.org/schema migrated to:
https://springframework.org/schema ([https](https://springframework.org/schema ) result 301).
* http://ehcache.org/apidocs/2.10.4 (301) migrated to:
https://www.ehcache.org/apidocs/2.10.4 ([https](https://ehcache.org/apidocs/2.10.4 ) result 301).
2019-03-12 17:50:04 +01:00
Stephane Nicoll
78bdb58356
Merge pull request #22572 from jorgheymans
...
* pr/22572:
Polish "Align RdbmsOperation javadoc with jdbcTemplate defaults"
Align RdbmsOperation javadoc with jdbcTemplate defaults
2019-03-12 09:10:29 +01:00
Stephane Nicoll
620ee018e7
Polish "Align RdbmsOperation javadoc with jdbcTemplate defaults"
...
Closes gh-22572
2019-03-12 09:09:34 +01:00
Jorg Heymans
abb178d0d5
Align RdbmsOperation javadoc with jdbcTemplate defaults
...
See gh-22572
2019-03-12 09:08:21 +01:00
Rossen Stoyanchev
b343e73eb0
Add streaming responses to Spring MVC Test section
...
Closes gh-22544
2019-03-11 09:13:49 -04:00
Rossen Stoyanchev
620a898e60
Fix typo in documentation
...
See gh-22394
2019-03-11 08:42:23 -04:00
Juergen Hoeller
fe0c2d6b6e
StringUtils.toStringArray/CollectionUtils.toIterator handle null input
...
Closes gh-22547
2019-03-08 22:40:18 +01:00
Juergen Hoeller
6c87ef09c1
Polishing
2019-03-07 17:55:32 +01:00
Juergen Hoeller
b8f29962ac
Upgrade to SLF4J 1.7.26, H2 1.4.198, OkHttp 3.13.1, WebJars Locator 0.37
...
Includes Mockito 2.25, Undertow 2.0.19, OpenPDF 1.2.10, JRuby 9.2.6.
2019-03-06 16:24:14 +01:00
Juergen Hoeller
9cc862246f
Local https URL resolution attempt with fallback to parser's default
...
See gh-22504
2019-03-06 16:23:45 +01:00
Juergen Hoeller
7cbb3b06a0
Consistent local vs external resolution of https schema references
...
Closes gh-22504
2019-03-06 13:50:40 +01:00
Juergen Hoeller
d034c053b3
Jackson2Tokenizer passes DeserializationContext into all TokenBuffers
...
See gh-22510
2019-03-05 13:47:26 +01:00
Juergen Hoeller
216e4eeba4
General doc revision: configuration updates, consistent formatting etc
2019-03-05 13:08:34 +01:00
Juergen Hoeller
3eb1042a53
Revised AOP documentation: load-time weaving, CGLIB etc
...
Includes removal of outdated Spring 1.2/2.0 references.
Closes gh-22429
2019-03-05 13:08:24 +01:00
Juergen Hoeller
013c0bca92
Polishing
2019-03-05 13:08:11 +01:00
Juergen Hoeller
f6693e790a
Jackson2Tokenizer passes DeserializationContext into TokenBuffer
...
Closes gh-22510
2019-03-05 13:08:04 +01:00
Juergen Hoeller
6c599208f6
Remove javadoc reference to unsupported FieldInterceptor
...
Closes gh-22507
2019-03-05 13:07:57 +01:00
Andrew Tulloch
090aceb3ad
Fix repeated calls to DataBuffer.write(CharSequence, Charset)
...
Prior to this commit, repeated calls to `DataBuffer.write(CharSequence,
Charset)` would not write the given chars to the expected position in
the original buffer.
This commit fixes that by writing to the `outBuffer.position()`, offset
by the current `DataBuffer.writePosition()`.
Fixes gh-22484
2019-03-04 13:37:06 +01:00
Stephane Nicoll
2137cc4422
Merge pull request #22500 from DamianChlod
...
* pr/22500:
Fix typo in `my-property'
2019-03-04 09:41:42 +01:00
DamianChlod
fe458aabde
Fix typo in `my-property'
...
Closes gh-22500
2019-03-04 09:40:58 +01:00
Juergen Hoeller
5d8a34fee6
Only prefer JDK 9+ Lookup.defineClass API if ClassLoader matches
...
Closes gh-22416
2019-02-28 19:28:03 +01:00
Juergen Hoeller
7a7c7f51e3
Polishing
2019-02-28 15:37:47 +01:00
Juergen Hoeller
9c42fd7f17
JdbcTemplate preserves order of stored procedure output parameters
...
Closes gh-22491
2019-02-28 11:13:51 +01:00
Juergen Hoeller
e583da0725
Polishing
2019-02-27 17:26:53 +01:00
Juergen Hoeller
0288878bcc
Consistent handling of early FactoryBean instantiation failures
...
Closes gh-22409
2019-02-27 17:26:35 +01:00
Stephane Nicoll
46a39dbf99
Merge pull request #22482 from izeye
...
* pr/22482:
Polish
2019-02-27 13:57:24 +01:00
Johnny Lim
046531fc75
Polish
...
Closes gh-22482
2019-02-27 13:57:09 +01:00
Juergen Hoeller
79f91b4867
Upgrade to Hibernate ORM 5.3.9 and EclipseLink 2.7.4
2019-02-26 17:42:55 +01:00
Juergen Hoeller
490b23518b
Polishing
2019-02-26 17:42:49 +01:00
Juergen Hoeller
227c813c64
Revised AbstractAdvisorAutoProxyCreator javadoc
...
Closes gh-22473
2019-02-26 17:42:43 +01:00
Juergen Hoeller
00ed8da5c5
JmsTransactionManager supports lazy resource retrieval
...
Closes gh-22468
2019-02-26 17:42:36 +01:00
Juergen Hoeller
8d9ef46d98
Upgrade to Checkstyle 8.18 and RxJava 2.2.7
2019-02-25 23:18:56 +01:00
Juergen Hoeller
9eb7f7e294
Polishing
2019-02-25 17:36:37 +01:00
Juergen Hoeller
cb54f201c2
Break out of loop once an AspectJ advice has been found
...
Closes gh-22449
2019-02-25 17:24:02 +01:00
Juergen Hoeller
f07014ad37
MappingJackson2MessageConverter delegates default encoding to Jackson
...
Closes gh-22444
2019-02-25 17:21:08 +01:00
Juergen Hoeller
4be41e9e26
Only use payload if it actually matches declared event type
...
Closes gh-22426
2019-02-25 17:18:07 +01:00
Juergen Hoeller
707b8c02fe
Upgrade to Jetty 9.4.15 and Undertow 2.0.18
2019-02-22 14:18:39 +01:00
Juergen Hoeller
c3fa900672
Upgrade to Hibernate Validator 5.4.3 and 6.0.15
2019-02-22 14:18:08 +01:00
Sebastien Deleuze
f19d7c0375
Fix AbstractTraceInterceptor null-safety annotations
...
Closes gh-22435
2019-02-22 09:47:14 +01:00
Brian Clozel
e47f7ef7b5
Remove response content-type before error handling
...
Prior to this commit, the negotiated content-type during the request
mapping phase would be kept as the response content-type header; this
information is used when rendering the error response and prevents a new
round of content negotiation to choose the media type that fits best.
This commit removes the response content type information at the
beginning of the error handling phase.
Fixes gh-22452
2019-02-21 17:44:03 +01:00
Sam Brannen
7c65b57530
Polish Kotlin chapter
2019-02-17 17:22:04 +01:00
Sebastien Deleuze
ab32dc8937
Document checked exceptions with proxies in Kotlin
...
Closes gh-22412
2019-02-17 10:37:11 +01:00
Sebastien Deleuze
6089ec1161
Add a warning in Kotlin Script Templates documentation
2019-02-17 10:11:00 +01:00
Ryan Scheidter
6e7c3f2893
Fix a typo in RouterFunctionDsl Javadoc
...
Closes gh-22419
2019-02-17 09:50:06 +01:00
Juergen Hoeller
e307dd58db
Polishing
2019-02-15 17:06:11 +01:00
Juergen Hoeller
c2bd229d4c
Clarify role of 'aware' callback interfaces
2019-02-15 17:06:03 +01:00
Juergen Hoeller
ac0e5d8ec6
DefaultConversionService properly converts Object[] to int[]
...
Closes gh-22410
2019-02-14 13:38:29 +01:00
Stephane Nicoll
1152e67bb7
Merge pull request #22385 from vpavic
...
* pr/22385:
Polish "Ensure indexer gracefully handle missing meta annotations"
Ensure indexer gracefully handle missing meta annotations
2019-02-14 10:17:54 +01:00
Stephane Nicoll
0cc77e812c
Polish "Ensure indexer gracefully handle missing meta annotations"
...
Closes gh-22385
2019-02-14 10:16:32 +01:00
Vedran Pavic
87e5f0db01
Ensure indexer gracefully handle missing meta annotations
...
See gh-22385
2019-02-14 10:16:04 +01:00
Spring Buildmaster
566cc87748
Next Development Version
2019-02-13 05:51:26 +00:00
Stephane Nicoll
d703ca95d7
Upgrade to Reactor Californium SR5
2019-02-12 21:29:25 +01:00
Juergen Hoeller
106a757098
Polishing
2019-02-12 09:07:58 +01:00
Juergen Hoeller
8637540678
Expose empty annotation array as empty AnnotationAttributes array
...
Closes gh-22405
2019-02-12 09:07:51 +01:00
Sebastien Deleuze
5bb1c3e1e3
Deprecate SqlXmlObjectMappingHandler
...
This class is only known to be used in spring-data-jdbc-ext project
which was never upgraded to Spring Framework 5.x and is no longer
actively developed.
Closes gh-11647
2019-02-11 13:18:28 +01:00
Sebastien Deleuze
2a0a002bd3
Improve Kotlin documentation
...
Closes gh-22400
2019-02-11 13:08:04 +01:00
dzou
514f7e3328
Add link to Kotlin sample for Spring Cloud GCP
...
Closes gh-2070
2019-02-11 13:08:04 +01:00
Juergen Hoeller
cdd0456aa4
Upgrade to Tomcat 9.0.16 and Log4J 2.11.2
2019-02-11 11:51:41 +01:00
Juergen Hoeller
9f03d158ce
Upgrade to Checkstyle 8.17 and Mockito 2.24
2019-02-08 18:03:07 +01:00
Juergen Hoeller
ba0c48b933
Polishing
2019-02-08 18:02:28 +01:00
Mansur Mustaquim
82dbde13b6
Fix for ScriptUtils failure when '--' occurs inside a multi-line comment on the same line as '*/' ( #22392 )
...
* Test for multi-line comment block where the comment end delimiter occurs on a line starting with the single-line comment prefix
* ScriptUtils successfully parses a SQL script containing a multi-line comment block where the comment-end delimiter occurs on a line starting with the single-line comment prefix.
2019-02-08 16:20:51 +01:00
Stephane Nicoll
a698adf125
Merge pull request #22382 from artembilan
...
* pr/22382:
Polish contribution
Polish warning message
2019-02-08 08:49:34 +01:00
Stephane Nicoll
50e4308779
Polish contribution
...
Closes gh-22382
2019-02-08 08:48:58 +01:00
Artem Bilan
07bac70c09
Polish warning message
...
See gh-22382
2019-02-08 08:48:18 +01:00
Juergen Hoeller
cc740dfd93
Upgrade to Groovy 2.5.6 and Hibernate ORM 5.1.17
2019-02-07 23:02:59 +01:00
Juergen Hoeller
15af0d9787
Polishing
2019-02-07 23:02:35 +01:00
Rossen Stoyanchev
2b974da395
Use snapshot instead of libs-snapshot repository
...
The latter has stale Reactor snapshots
2019-02-07 14:34:59 -05:00
Rossen Stoyanchev
e7c038f2d2
Switch to Reactor Californium snapshots
2019-02-07 11:59:54 -05:00
Juergen Hoeller
b8e663c531
AbstractAutoProxyCreator ignores unused early proxy references
...
Closes gh-22370
2019-02-07 15:57:44 +01:00
Juergen Hoeller
0f73a69033
AbstractApplicationContext resets local listeners to pre-refresh state
...
Closes gh-22325
2019-02-07 15:56:46 +01:00
Juergen Hoeller
e9626779ee
@Resource provides dependency descriptor for resolving beans by name
...
Closes gh-22359
2019-02-07 15:56:00 +01:00
Juergen Hoeller
5f4c461d4f
Documentation revision for @PostConstruct/PreDestroy and @Required
...
Closes gh-22348
2019-02-07 15:53:55 +01:00
Brian Clozel
ef8652615c
Log exception at ERROR level in CompositeLog
...
Fixes gh-22364
2019-02-06 19:58:41 +01:00
Sebastien Deleuze
d1e5a3af9f
Fix truncated Value#value javadoc
...
Closes gh-22331
2019-02-06 19:28:31 +01:00
Juergen Hoeller
9895e44d73
Polishing
2019-02-05 16:03:24 +01:00
Juergen Hoeller
643a68f81b
Detect existing jar URLs from URLClassLoader.getURLs()
...
Closes gh-22346
2019-02-05 16:02:50 +01:00
Juergen Hoeller
ac4525ddf8
Detect MariaDB as MySQL (for mariadb-java-client 2.4+ compatibility)
...
Closes gh-22344
2019-02-05 16:02:17 +01:00
Yoann Rodière
17caac8f1f
Add tests for SpringBeanContainer (Hibernate ORM integration) and fix the behavior when requesting named beans ( #22260 )
...
* Add integration tests for SpringBeanContainer (Hibernate ORM integration)
* Autowire bean properties of beans retrieved by name in SpringBeanContainer
* Add integration tests for fallback cases in SpringBeanContainer (Hibernate ORM integration)
* Fix SpringBeanContainer incorrectly losing the bean name when calling the fallback producer
(cherry picked from commit 00855c4f5f )
2019-02-05 16:01:40 +01:00
Juergen Hoeller
165d2511b9
Upgrade to Apache HttpClient 4.5.7 and Commons FileUpload 1.4
...
Includes RxJava 2.2.6, Netty 4.1.33, Undertow 2.0.17.
2019-02-05 00:46:07 +01:00
Juergen Hoeller
d27bae245a
Polishing
2019-02-05 00:45:28 +01:00
Juergen Hoeller
0ebc020b21
Load-time weaving support for WildFly 13+ (JBoss Modules 1.8+)
...
Fixes gh-22297
2019-02-05 00:44:52 +01:00
Juergen Hoeller
59a9c8e004
MethodReference.MethodValueRef.setValue throws SpelEvaluationException
...
Closes gh-22336
2019-02-05 00:43:56 +01:00
Juergen Hoeller
ca7634dfe8
Avoid duplicate class introspection during findAnnotationOnBean
...
Closes gh-22318
2019-02-05 00:42:24 +01:00
Juergen Hoeller
5eca512c46
Ref doc mentions SimpleTransactionScope next to SimpleThreadScope
...
Closes gh-22180
2019-02-05 00:41:53 +01:00
Stephane Nicoll
99da6e9723
Merge pull request #22337 from mhewedy
...
* pr/22337:
Polish "Fix use CompletableFuture in DeferredResultReturnValueHandlerTest"
Fix use CompletableFuture in DeferredResultReturnValueHandlerTest
2019-02-04 10:33:58 +01:00
Stephane Nicoll
1241c3b2d1
Merge pull request #22339 from vpavic
...
* pr/22339:
Polish "Improve spring-context-indexer documentation"
Improve spring-context-indexer documentation
2019-02-04 10:33:54 +01:00
Stephane Nicoll
7c62d7cfe2
Polish "Fix use CompletableFuture in DeferredResultReturnValueHandlerTest"
...
Closes gh-22337
2019-02-04 10:31:31 +01:00
Muhammad Hewedy
6507b09c7f
Fix use CompletableFuture in DeferredResultReturnValueHandlerTest
...
See gh-22337
2019-02-04 10:24:52 +01:00
Stephane Nicoll
229f354df1
Polish "Improve spring-context-indexer documentation"
...
Closes gh-22339
2019-02-04 10:22:43 +01:00
Vedran Pavic
43ea25e413
Improve spring-context-indexer documentation
...
See gh-22339
2019-02-04 10:17:34 +01:00
Rossen Stoyanchev
4560dc2818
Improve empty body check
...
Fixes gh-22265
2019-01-25 15:48:04 -05:00
Juergen Hoeller
d0033f12d0
ApplicationListenerMethodAdapter uses target method for order lookup
...
Fixes #22307
2019-01-25 15:44:43 +01:00
Juergen Hoeller
85ec9b9df2
Avoid Class.getPackage() in favor of plain Class.getName() checks
...
Fixes #22306
2019-01-25 15:35:49 +01:00
Arjen Poutsma
4732f83d70
Fix Java 9 Build
...
Fix Java 9 build by replacing deprecated method.
2019-01-24 15:44:58 +01:00
Juergen Hoeller
7cc700435b
HandlerMethod skips interface parameter introspection for return value
...
Fixes #22303
2019-01-24 15:18:55 +01:00
Juergen Hoeller
493e9c1ff0
Consistent upgrade to Rome 1.12 and WebJars Locator 0.36
2019-01-24 15:18:43 +01:00
Sam Brannen
edadb9efb6
Remove obsolete PetClinic Example section of Testing chapter
...
Issue: #22288
2019-01-23 16:40:21 +01:00
Rossen Stoyanchev
810b615471
Correct issus in Spring MVC section
...
Fixes #22282
2019-01-22 09:06:18 -05:00
Rossen Stoyanchev
51f9e0aaca
Typo in webmvc.adoc
2019-01-22 09:06:18 -05:00
Brian Clozel
d6aa589c50
Wrap DecodingException in DefaultServerRequest
...
Prior to this commit, Spring WebFlux function would let
`DecodingException` thrown by codecs bubble up to the web handler level.
Since this exception is not handled by default there, the response would
be turned into a HTTP 500 status.
In the annotation model, `ArgumentResolver` implementations wrap this
exception with a `ServerWebInputException`, which itself extends
`ResponseStatusException`. The latter is supported by the error handling
infrastructure as a HTTP 400 response.
This commit ensures that `DecodingException` instances are properly
wrapped in `ServerWebInputException` at the `ServerRequest` level
directly, thus supporting all setup modes ("standalone" and through the
`DispatcherHandler`).
Fixes #22290
2019-01-22 14:54:44 +01:00
Sebastien Deleuze
fc6cff53bb
Clarify documentation about JSON Views
...
This commit intends to clarify the documentation by avoiding confusion
between @JsonView and Spring MVC JSON views.
Fixes #22280
2019-01-22 10:51:25 +01:00
Rossen Stoyanchev
20f4022e7b
Correctly truncate logging of response body
...
Fixes #22287
2019-01-21 09:57:52 -05:00
Rossen Stoyanchev
020c537c03
Add note to CorsFilter section
...
Fixes #19841
2019-01-21 09:47:30 -05:00
Rossen Stoyanchev
e373b46660
Jackson2JsonDecoder tolerates null literal
...
Fixes #22042
2019-01-18 18:27:40 -05:00
Rossen Stoyanchev
5dcde9e7d7
Trim decoded SSE data
...
Fixes #22043
2019-01-18 18:13:58 -05:00
Rossen Stoyanchev
ef72ef54fa
Avoid NPE when setting warnLogCategory
...
Fixes #22159
2019-01-18 18:08:48 -05:00
Rossen Stoyanchev
a77eee899a
Document synchronous use of the WebClient
...
Fixes #22173
2019-01-18 17:46:16 -05:00
Rossen Stoyanchev
9837ec5904
Fix Javadoc typos
...
Closes #22261
2019-01-17 18:01:08 -05:00
Rossen Stoyanchev
bdac937a43
Replace more references to issue tracker
...
Fixes #22254
2019-01-17 17:08:39 -05:00
Sanghyuk Jung
6ca3884759
Update links to issue tracker
2019-01-17 16:44:41 -05:00
Rossen Stoyanchev
189e1afc6e
Use try-with-resources in documentation samples
...
Fixes #22269
2019-01-17 12:53:59 -05:00
Rossen Stoyanchev
d1862a26dd
Typo in web documentation
...
Fixes #22270
2019-01-17 12:27:00 -05:00
Brian Clozel
2b65d0e51f
Fix error when writing empty String to DataBuffer
...
Prior to this commit, `DataBuffer.write` would throw an
`IllegalStateException` when called with an empty `String`, since the
`CharsetEncoder` would be flushed on an incorrent state.
This commit skips entirely the encoding phase for empty `String`.
Fixes #22262
2019-01-17 11:09:48 -05:00
Arjen Poutsma
86fb43900e
Deprecate JiBX marshaller
...
Resolves #22249
2019-01-14 11:50:21 +01:00
Sam Brannen
e1e6224acb
Document effect of preemptive timeouts on transactional tests
...
Issue: SPR-17647
2019-01-09 16:38:47 +01:00
Sam Brannen
cf565067fe
Document effect of @DirtiesContext when used with constructor injection
...
Issue: SPR-17654
2019-01-09 15:43:41 +01:00
Sam Brannen
2159518252
Improve documentation for DI options in the TestContext framework
2019-01-09 15:43:31 +01:00
Spring Buildmaster
754ad4d0d3
Next Development Version
2019-01-09 12:43:27 +00:00
Juergen Hoeller
72dddfbc7b
Polishing
2019-01-09 12:26:58 +01:00
Rossen Stoyanchev
dc3f953f4b
Correction for commit #b219c6c
...
Issue: SPR-17630
2019-01-08 22:43:42 -05:00
Juergen Hoeller
4058361e84
Upgrade to Reactor Californium SR4
2019-01-08 23:37:26 +01:00
Andrzej Leśkiewicz
952045c216
SPR-17606 @Profile mishandles "not" operand mixed with "&" ( #2066 )
...
Correct handling of not/and expressions in ProfilesParser
Issue: SPR-17606
2019-01-08 22:24:15 +01:00
Juergen Hoeller
815f151448
Upgrade to Checkstyle 8.16
2019-01-08 21:57:24 +01:00
Juergen Hoeller
605e2477b9
Polishing
2019-01-08 21:57:13 +01:00
Sam Brannen
304c85ec70
Link explicitly to JUnit 5.3.2 instead of current version
2019-01-08 18:08:31 +01:00
Juergen Hoeller
f56fa91430
Polishing
2019-01-08 17:11:34 +01:00
Juergen Hoeller
9cb5369cb9
DependencyDescriptor supports TypeDescriptor resolution for fields
...
This allows for proper nested type conversion in @Value Optional fields analogous to method parameters, through a new TypeDescriptor-based method in the TypeConverter SPI. As an additional and less involved measure that is worth backporting, DefaultListableBeanFactory defensively checks for pre-converted Optional wrappers.
Issue: SPR-17607
2019-01-08 17:11:27 +01:00
Juergen Hoeller
a82f049083
FormHttpMessageConverter officially supports non-String form values
...
Issue: SPR-17645
2019-01-08 17:11:07 +01:00
Rossen Stoyanchev
b219c6ce15
Adjust UriComponentsBuilder#toUriString behavior
...
Commit #93b7a4 added support for pre-configuring URI variables at the
UriComponentsBuilder level, and also changed toUriString to encode
template and URI variables separately. However this went a bit too far
causing side effects for URLs with curly braces that don't represent
URI variables.
This commit restores the original toUriString behavior which is to
encode template and URI variables sepraately only if URI variables have
been pre-configured.
Issue: SPR-17630
2019-01-08 11:06:33 -05:00
Sam Brannen
17a4193810
Link explicitly to JUnit 4.12 instead of beta version
...
For details, see: https://github.com/junit-team/junit4/issues/1585
2019-01-08 16:29:46 +01:00
Sam Brannen
29ab38acb2
Provide external links to JUnit in published Javadoc API
2019-01-08 16:19:01 +01:00
Michel Schudel
4938dab0ae
Fix XML parser default value handling
...
The xml parser does not fill in defaults provided in the XSD when
validation is disabled. As a result, attributes like default-lazy-init
will not receive the value "default" but an empty string.
With this commit, BeanDefinitionParserDelegate now takes this into
account, checking default values against empty string as well as
"default".
As a consequence, default-lazy-init attribute should now work correctly
even when the XSD validation is disabled.
Issue: SPR-8335
2019-01-08 15:36:01 +01:00
王诗峣
b94e8c4bef
Fix ClassCastException in FormHttpMessageConverter
...
We should not cast MultiValueMap<String, ?> to MultiValueMap<String, String>
2019-01-08 12:19:51 +01:00
Brian Clozel
abc68ef8ea
Revert "package list URL for Reactor javadoc in Dokka"
...
This reverts commit dc2535516c .
The Reactor project reverted its Javadoc changes.
2019-01-08 10:31:00 +01:00
Juergen Hoeller
d37a18ff03
Upgrade to Hibernate Validator 6.0.14 and Apache Johnzon 1.1.11
...
Includes OkHttp MockWebServer 3.12.1.
2019-01-08 00:50:44 +01:00
Juergen Hoeller
11976fa949
Upgrade to Groovy 2.5.5 and RxJava 2.2.5
2019-01-08 00:32:46 +01:00
Juergen Hoeller
6e3f974951
HttpHeaders.writableHttpHeaders properly handles HttpHeaders.EMPTY
...
Issue: SPR-17633
2019-01-08 00:32:27 +01:00
Juergen Hoeller
1faeeaea14
HandlerMethodParameter defensively handles interface annotation arrays
...
Issue: SPR-17629
2019-01-08 00:32:09 +01:00
Brian Clozel
dc2535516c
Fix package list URL for Reactor javadoc in Dokka
...
Reactor is now building its Javadoc with a recent JDK version, which
changes the structure of the published HTML pages.
Without this change, the build fails during the Dokka generation with
the following exception:
```
Exception while loading package-list from
ExternalDocumentationLinkImpl(
url=http://projectreactor.io/docs/core/release/api/ ,
packageListUrl=http://projectreactor.io/docs/core/release/api/package-list )
```
This commit now points to the `/element-list` page, which seems to
contain the same information as the `package-list` page.
2019-01-07 20:53:56 +01:00
Rossen Stoyanchev
673a20cb10
Defensive initialization of AsyncXMLInputFactory
...
Aalto's InputFactoryImpl already disables loading of external entities
by default (property "javax.xml.stream.isSupportingExternalEntities").
This commit goes further by applying the same defensive measures as we
do elsewhere for XMLInputFactory, which disables DTD completely.
Arguably there is no good reason to enable that by default in WebFlux.
2019-01-07 13:52:46 -05:00
Brian Clozel
f52f3a2f35
Upgrade to Reactor Californium SNAPSHOTs
2019-01-07 18:10:55 +01:00
Stephane Nicoll
77129f5a2b
Polish
2019-01-05 09:57:46 +01:00
Stephane Nicoll
d289befa2b
Fix assertions
2019-01-03 14:20:57 +01:00
Stephane Nicoll
b802c28d27
Merge pull request #2068 from Niconal
...
* pr/2068:
Polish "Add missing [ in toString of WebSocketMessageBrokerStats"
Add missing [ in toString of WebSocketMessageBrokerStats
2019-01-03 13:55:40 +01:00
Stephane Nicoll
556656b35a
Polish "Add missing [ in toString of WebSocketMessageBrokerStats"
...
Closes gh-2068
2019-01-03 13:55:03 +01:00
Niconal
74630a1b0c
Add missing [ in toString of WebSocketMessageBrokerStats
...
See gh-2068
2019-01-03 13:54:16 +01:00
Rossen Stoyanchev
63984800e4
Lenient URI template encoding
...
URI template encoding ignores mismatched curly braces, treating them as
literal parts instead.
Issue: SPR-17630
2019-01-02 16:36:08 -05:00
Rossen Stoyanchev
4b24bcb799
More accurate checks for presence of MediaType.ALL
...
Typically a straight up equals as well as Collections#contains
checks for MediaType.ALL is susceptible to the presence of
media type parameters.
This commits adds equalsTypeAndSubtype as well as an
isPresentIn(Collection<MimeType>) methods to MimeType to faciliate
with checks for MediaType.ALL.
Issue: SPR-17550
2019-01-02 14:32:50 -05:00
Rossen Stoyanchev
1cb9f2c7b2
Explicit HEAD sorted higher than implicit one
...
Same fix as #7cdcc1 but for WebFlux.
Issue: SPR-14182
2019-01-02 09:23:05 -05:00
Stephane Nicoll
72fbbb2403
Merge pull request #2064 from pierDipi
...
* pr/2064:
Fix typo
2019-01-01 11:07:29 +01:00
Pier Dipi
d459e1ad61
Fix typo
...
Closes gh-2064
2019-01-01 11:07:11 +01:00
Sebastien Deleuze
78a6429c32
Document NumberUtils.parseNumber() trim behavior
...
Issue: SPR-9523
2018-12-28 09:58:25 +01:00
Chen Dayu
bd6432cb79
Fix formatting in data-access.adoc ( #2062 )
2018-12-26 15:08:44 +01:00
Sébastien Deleuze
fced4e1f9c
Merge pull request #2061 from Gyllsdorff
...
Fix spelling of "reactive HttpClient" in doc
2018-12-26 13:54:48 +01:00
Gyllsdorff
56d93bac89
Fix spelling of "reactive HttpClient" in doc
2018-12-26 13:13:09 +01:00
Juergen Hoeller
8d1de75b60
Upgrade to WebJars Locator 0.36 and OkHttp 3.12.1
...
Includes JRuby 9.2.5 and Jetty Reactive HttpClient 1.0.2.
2018-12-25 13:22:17 +01:00
Juergen Hoeller
b2756f5bd2
Relaxed position assertion (for overflows in large inline maps)
...
Issue: SPR-17605
2018-12-25 13:22:00 +01:00
Juergen Hoeller
31a24720a6
Consistent support for EnumSet subclasses in CollectionFactory
...
Issue: SPR-17619
2018-12-25 13:20:31 +01:00
Juergen Hoeller
7a7958f275
MockMvcResultMatchers.forwardedUrl argument declared as nullable
...
Issue: SPR-17623
2018-12-25 13:20:09 +01:00
Stephane Nicoll
ca9c34710f
Merge pull request #2052 from igor-suhoruko
...
* pr/2052:
Polish "Join identical catch branches"
Join identical catch branches
2018-12-25 09:46:53 +01:00
Stephane Nicoll
9cbd585c30
Polish "Join identical catch branches"
...
Closes gh-2052
2018-12-25 09:46:35 +01:00
igor-suhorukov
a218bf40cd
Join identical catch branches
...
See gh-2052
2018-12-25 09:46:11 +01:00
Stephane Nicoll
93e7a0a59d
Merge pull request #1452 from diguage
...
* pr/1452:
Polish "Refactor duplicate code"
Refactor duplicate code
2018-12-21 15:10:05 +01:00
Stephane Nicoll
b83ceab88a
Polish "Refactor duplicate code"
...
Closes gh-1452
2018-12-21 15:07:09 +01:00
diguage
c15bbd675f
Refactor duplicate code
...
See gh-1452
2018-12-21 15:06:56 +01:00
Arjen Poutsma
5a8b8b11e4
Add test for calculateCapacity
...
Issue: SPR-17558
Closes gh-2054
2018-12-20 21:34:15 +01:00
Arjen Poutsma
a00be62b04
Calculating capacity before allocation.
...
This commit optimizes the `CharSequenceEncoder` to allocate `DataBuffer`
instances with a predicted capacity.
Issue: SPR-17558
2018-12-20 21:33:50 +01:00
Brian Clozel
4955d08f28
Use DataBuffer.write in CharSequenceEncoder
...
Since SPR-17558, `DataBuffer` now offers a new method to write Strings
to them. This commit makes `CharSequenceEncoder` use that.
Issue: SPR-17558
2018-12-20 21:33:44 +01:00
Brian Clozel
6361b0cb23
Write CharSequence instances to DataBuffers
...
Prior to this commit, one could write a `CharSequence` to an existing
`DataBuffer` instance by turning it into a byte array or `ByteBuffer`
first. This had the following disadvantages:
1. Memory allocation was not efficient (not leveraging pooled memory
when available)
2. Dealing with `CharsetEncoder` is not always easy
3. `DataBuffer` implementations, like `NettyDataBuffer` can use
optimized implementations in some cases
This commit adds a new `DataBuffer#write(CharSequence, Charset)` method
for those cases and also an `ensureCapacity` method useful for checking
that the current buffer has enough capacity to write to it..
Issue: SPR-17558
2018-12-20 21:33:33 +01:00
Arjen Poutsma
5e4a8966ee
Make TomcatHttpHandlerAdapter aware of request/response wrappers
...
This commit makes TomcatServerHttpRequest aware of
HttpServletRequestWrappers, and TomcatServerHttpResponse aware of
HttpServletResponseWrappers.
Issue: SPR-17611
2018-12-19 12:16:14 +01:00
Violeta Georgieva
09da10cc6c
Propagate the cancel signal to the downstream
...
Issue: SPR-17609
2018-12-18 15:04:08 -05:00
Sam Brannen
44f39d4ce0
Fix Java comment in Reference Manual
2018-12-18 13:22:24 +01:00
Stephane Nicoll
1d593a970a
Merge pull request #2057 from kimsaabyepedersen
...
* pr/2057:
Polish "Fix method name in comment"
Fix method name in comment
2018-12-18 07:56:43 +01:00
Stephane Nicoll
e42cf9dc56
Polish "Fix method name in comment"
...
Closes gh-2057
2018-12-18 07:56:10 +01:00
Kim Saabye Pedersen
65cb935333
Fix method name in comment
...
See gh-2057
2018-12-18 07:55:49 +01:00
Juergen Hoeller
0e8ed5931d
Revised backport version 5.0.11
...
Issue: SPR-17410
Issue: SPR-17433
2018-12-17 18:19:21 +01:00
Juergen Hoeller
a240cfcf2f
Consistent support for if-(un)modified-since as ZonedDateTime/Instant
...
Includes DefaultRequestBodyUriSpec pre-resolving URI for HttpRequest.
Issue: SPR-17571
2018-12-17 16:21:39 +01:00
Juergen Hoeller
199be6aec5
ValidationUtils.invokeValidator assertion for non-null target object
2018-12-17 14:24:56 +01:00
Juergen Hoeller
99da8e1477
Upgrade to Jackson 2.9.8
2018-12-17 14:24:43 +01:00
Juergen Hoeller
2f04cbba51
Upgrade to Gradle 4.10.3
...
Issue: SPR-17155
2018-12-17 14:24:34 +01:00
Juergen Hoeller
fc9d1760be
Revised c-namespace example
...
Issue: SPR-17601
2018-12-17 14:24:21 +01:00
Juergen Hoeller
aab421167b
Revised format annotation docs
2018-12-13 17:19:50 +01:00
stsypanov
112cc70231
Improve performance of ConcurrentReferenceHashMap creation
2018-12-13 16:57:48 +01:00
igor-suhorukov
93189a6733
String.indexOf() expressions can be replaced with a call to the String.contains() method available in Java 5 and newer.
2018-12-13 12:29:31 +01:00
Stephane Nicoll
81d77b9872
Merge pull request #2050 from diguage
...
* pr/2050:
Fix sample in EnableAsync Javadoc
2018-12-13 10:18:08 +01:00
diguage
ee95a110bd
Fix sample in EnableAsync Javadoc
...
Closes gh-2050
2018-12-13 10:16:56 +01:00
Juergen Hoeller
c48672c4c7
ParameterNameDiscoverer may return individual null entries in an array
...
Issue: SPR-17565
2018-12-12 21:56:17 +01:00
Juergen Hoeller
ef72baad3a
Revised @AspectJ vs XML section
...
Issue: SPR-17597
2018-12-12 21:56:01 +01:00
Rossen Stoyanchev
14e87d2733
Add reference to ConcurrentWebSocketSessionDecorator in the docs.
...
Issue: SPR-12886
2018-12-12 11:57:51 -05:00
Rossen Stoyanchev
388ce92861
Enable io.netty.leakDetection.level=paranoid in tests
...
Issue: SPR-17574
2018-12-12 11:40:33 -05:00
Rossen Stoyanchev
38ae282c3b
Update log category precision for all tests
...
Replace the full category capped at 36 chars with the class name only
and 1 char per package, e.g. org.apache.commons.Foo -> o.a.c.Foo
2018-12-12 11:40:33 -05:00
Rossen Stoyanchev
05d616240a
StringHttpMessageConverter defaults to UTF-8 for JSON
...
Issue: SPR-17568
2018-12-12 11:40:33 -05:00
Rossen Stoyanchev
8eef97da33
HTTP header adapters print header values
...
Issue: SPR-17546
2018-12-12 11:40:33 -05:00
Rossen Stoyanchev
270099383b
Add protected method in StandaloneMockMvcBuilder
...
To allow sub-classes to register additional MVC infrastructure.
Issue: SPR-17520
2018-12-12 11:40:33 -05:00
Juergen Hoeller
0ad35053fb
Upgrade to CGLIB 3.2.10
...
Includes upgrade to JarJar 1.7.2 and Tomcat 9.0.14.
Issue: SPR-17595
2018-12-12 16:03:31 +01:00
Arjen Poutsma
058608021e
Fix invalid String representation for composed RequestPredicates
...
Issue: SPR-17594
2018-12-12 15:33:33 +01:00
Juergen Hoeller
106ae0cc5b
Polishing
2018-12-12 13:21:06 +01:00
Juergen Hoeller
7b7a8196f5
Revised HttpHeaders javadoc
2018-12-12 13:20:58 +01:00
Juergen Hoeller
2c98c1b81a
Relaxed assertion in NotificationPublisherAwareLazyTargetSource
...
Issue: SPR-17592
2018-12-12 12:16:14 +01:00
Juergen Hoeller
7b9c30f26e
Explicit documentation notes on JMS 2.0 vs 1.1 compatibility
...
Issue: SPR-17583
2018-12-12 12:15:34 +01:00
Juergen Hoeller
474ac2d975
Revised SimpleEvaluationContext example
...
Issue: SPR-17581
2018-12-12 12:11:15 +01:00
Juergen Hoeller
6eb0a60df9
Polishing
2018-12-12 11:16:53 +01:00
Juergen Hoeller
5bbbc82e19
Consistent handling of null header values in HttpHeaders
...
Issue: SPR-17588
2018-12-12 11:16:45 +01:00
Juergen Hoeller
4b4503085a
Prefer SLF4J SPI over Log4J in case of log4j-to-slf4j bridge
...
Issue: SPR-17586
2018-12-12 11:16:36 +01:00
Stephane Nicoll
73a96c5152
Merge pull request #2049 from wonwoo
...
* pr/2049:
Fix typo in javadoc
2018-12-12 08:00:48 +01:00
wonwoo
9a13d93a6b
Fix typo in javadoc
...
Closes gh-2049
2018-12-12 08:00:15 +01:00
Kamil Szymanski
894044cea0
Optimize ResourceUrlProvider
...
Closes gh-2008
2018-12-11 12:12:15 +01:00
Stephane Nicoll
0550c08f86
Merge pull request #2044 from chendy560
...
* pr/2044:
Fix typo
2018-12-08 16:03:17 +01:00
chendayu
073f304db9
Fix typo
...
Closes gh-2044
2018-12-08 16:02:52 +01:00
Stephane Nicoll
58a99e3983
Merge pull request #2043 from marchpig
...
* pr/2043:
Fix typo in webflux.adoc
2018-12-08 16:00:48 +01:00
Sangwoo Lee
62f2a6352f
Fix typo in webflux.adoc
...
Closes gh-2043
2018-12-08 16:00:30 +01:00
Stephane Nicoll
528b9c17ec
Merge pull request #2046 from yepapa
...
* pr/2046:
Fix typo in websocket.adoc
2018-12-08 16:00:00 +01:00
Juhyoung Jeon
31318652ea
Fix typo in websocket.adoc
...
Closes gh-2046
2018-12-08 15:59:45 +01:00
Arjen Poutsma
f15bd88211
Fix checkstyle
2018-12-07 15:06:56 +01:00
Stephane Nicoll
220951707b
Merge pull request #2042 from PascalSchumacher
...
* pr/2042:
Fix typo in core-beans.adoc
2018-12-07 11:29:56 +01:00
Pascal Schumacher
18ac86ae16
Fix typo in core-beans.adoc
...
Closes gh-2042
2018-12-07 11:29:35 +01:00
Arjen Poutsma
3258ac1ec4
Expose request in WebClientResponseException
...
This commit exposes the request that lead to it in
WebClientResponseException, as a HttpRequest object.
Issue: SPR-17087
2018-12-07 11:08:02 +01:00
Stephane Nicoll
54f5b7d0ee
Polish
...
Issue: SPR-17572
2018-12-07 10:54:03 +01:00
Juergen Hoeller
aaaf81ed99
Polishing
2018-12-06 15:53:57 +01:00
Juergen Hoeller
6a012147c4
Consistent support for last-modified argument as Instant/ZonedDateTime
...
Issue: SPR-17571
2018-12-06 15:53:47 +01:00
Lars Grefer
9abd4ed33d
Allow Instant and ZonedDateTime as Last-Modified header.
...
Issues: SPR-17571
2018-12-06 14:49:12 +01:00
Juergen Hoeller
cf7ee0739f
Upgrade to Checkstyle 8.15
2018-12-05 14:13:57 +01:00
Juergen Hoeller
db63f7dd4a
StandardEvaluationContext.setVariable leniently ignores null name
...
Issue: SPR-17565
2018-12-05 14:13:24 +01:00
Rossen Stoyanchev
7a5f8e03bc
Refine check for multiple subscribers
...
Commit #c187cb2 introduced proactive rejection of multiple subscribers
in ReactorClientHttpResponse, instead of hanging indefinitely as per
https://github.com/reactor/reactor-netty/issues/503 .
However FluxReceive also rejects subsequent subscribers if the response
is consumed fully, as opposed to being canceled, e.g. as with
bodyToMono(Void.class). In that case, a subsequent subscriber causes
two competing error signals to be sent, and one gets dropped and
logged by reactor-core.
This fix ensures that a rejection is raised in
ReactorClientHttpResponse only after a cancel() was detected.
Issue: SPR-17564
2018-12-04 21:27:37 -05:00
Juergen Hoeller
50e5bdb813
Clarified VfsResource constructor
...
Issue: SPR-17563
2018-12-04 22:09:06 +01:00
Juergen Hoeller
9efea7eb73
MockHttpServletRequest preserves original Accept-Language header value
...
Issue: SPR-17566
2018-12-04 22:07:43 +01:00
Juergen Hoeller
d3cdecc621
Upgrade to Rome 1.12 and POI 4.0.1
2018-12-04 02:16:03 +01:00
Juergen Hoeller
c024bdcc6f
Cleanup after unexpected exception from external delegation call
...
Issue: SPR-17559
2018-12-04 02:15:47 +01:00
Juergen Hoeller
6d7827e36b
Polishing
2018-12-03 23:53:00 +01:00
Juergen Hoeller
d5dab12909
NettyDataBufferFactory.join returns single-element buffer as-is
...
Issue: SPR-17560
2018-12-03 23:52:35 +01:00
Juergen Hoeller
7854b7ac40
Avoid log statements between resource opening and returning
...
Issue: SPR-17559
2018-12-03 23:50:50 +01:00
Pascal Schumacher
26b1c848b8
Fix typo in core-beans.adoc (Obvious Fix)
2018-12-03 22:09:06 +01:00
Juergen Hoeller
5e153e4a77
Revised section on custom BeanPostProcessors
...
Issue: SPR-17556
2018-12-03 19:52:25 +01:00
Juergen Hoeller
16e9b83d43
JavaMailSenderImpl calls sendMessage with empty array instead of null
...
Issue: SPR-17540
2018-12-03 19:49:21 +01:00
Juergen Hoeller
516c01c438
Upgrade javadoc links to Jackson 2.9
...
Includes rollback to Hibernate ORM 5.1.16 for integration tests.
2018-12-03 19:09:39 +01:00
Juergen Hoeller
43077072ad
Upgrade to Netty 4.1.32, Undertow 2.0.16, OpenPDF 1.2.7
...
Includes Hibernate ORM 5.1.17 for integration tests.
2018-12-03 18:28:50 +01:00
Juergen Hoeller
0841dc5f99
Restore Hibernate ORM 5.1 compatibility in HibernateTransactionManager
...
Issue: SPR-17557
2018-12-03 18:27:30 +01:00
Rossen Stoyanchev
15f8863f19
Add sub-section on validation for functional endpoints
...
Issue: SPR-17401
2018-11-30 10:56:29 -05:00
Bertrand Guay-Paquet
bc3b95db92
Fix typo in Javadoc for transaction Propagation annotation
2018-11-29 16:32:28 -05:00
Francesco Komauli
66f822e600
Fix typo in Javadoc for UnsupportedMediaTypeStatusException
...
Response status 415 (unsupported media type) reported as of 416 (which is Range Not Satisfiable), mismatching with superclass constructor parameter HttpStatus.UNSUPPORTED_MEDIA_TYPE
2018-11-29 16:36:56 +01:00
Spring Buildmaster
dfc193b85e
Next Development Version
2018-11-27 09:29:05 +00:00
Rossen Stoyanchev
029101c79a
Merge pull request #2025 from neVERberleRfellerER/SPR-17535
2018-11-26 16:02:08 -05:00
Rossen Stoyanchev
3eee118b44
Polish
2018-11-26 16:00:47 -05:00
Ondrej Kraus
959cf61647
Sanitize request fragment in ResourceUrlEncodingFilter
...
Prior to this change, ResourceUrlEncodingFilter would try to resolve
the resource path using request URL without removing fragment first,
whereas only paths should be used.
This commit synchronizes behavior of ResourceUrlEncodingFilter with
behavior of ResourceUrlProvider.
Issue: SPR-17535
2018-11-26 13:48:48 -05:00
Sam Brannen
82eb82a040
Upgrade to JUnit 5.3.2
...
Issue: SPR-17537
2018-11-25 21:44:12 +01:00
Juergen Hoeller
80b8382f00
Revised alias definition example in reference documentation
...
Issue: SPR-17536
2018-11-25 21:27:49 +01:00
Juergen Hoeller
ebbe14c363
ResolvableType-based matching consistently respects generic factory method return type (even for pre-initialized raw singleton instance)
...
Issue: SPR-17524
2018-11-25 21:27:19 +01:00
Juergen Hoeller
c2e545776d
Upgrade to RxJava 2.2.4
2018-11-23 23:46:37 +01:00
Juergen Hoeller
97ac1c22c5
DefaultResponseErrorHandler makes use of HttpStatus.isError()
...
Issue: SPR-17439
2018-11-23 19:27:47 +01:00
Sam Brannen
a528407d0c
Suppress warning
2018-11-23 18:05:47 +01:00
Sam Brannen
58cde3c2e6
Avoid test compile-time dependency on junit-jupiter-engine
...
Issue: SPR-17533
2018-11-23 18:05:34 +01:00
Arjen Poutsma
fedbb09ad9
Improve RouterFunctions reference documentation
...
Changed WebFlux.fn docs to use router function builder.
Issue: SPR-17016
2018-11-23 17:48:11 +01:00
Sam Brannen
81fde5ec41
Ensure that MethodParameter.findParameterIndex() is thread-safe
...
Prior to this commit, parallel invocations of
MethodParameter.findParameterIndex() (invoked indirectly via
SynthesizingMethodParameter.forParameter() and
MethodParameter.forParameter()) could intermittently lead to an
IllegalArgumentException being thrown due to a race condition in the
internal implementation of the JDK's
java.lang.reflect.Executable.getParameters() method.
This commit addresses this issue by introducing a fallback for-loop
that iterates over the candidate parameters a second time using
equality checks instead of identity checks.
Issue: SPR-17534
2018-11-23 17:37:20 +01:00
Sam Brannen
aa7f69a5d1
Ensure that parameter resolution in SpringExtension is thread-safe
...
Prior to this commit, parallel execution of @BeforeEach and @AfterEach
methods that accepted @Autowired arguments would fail intermittently
due to a race condition in the internal implementation of the JDK's
java.lang.reflect.Executable.getParameters() method.
This commit addresses this issue by creating instances of
SynthesizingMethodParameter via
SynthesizingMethodParameter.forExecutable(Executable, int) instead of
SynthesizingMethodParameter.forParameter(Parameter), since the latter
looks up the parameter index by iterating over the array returned by
Executable.getParameters() (which is not thread-safe).
Issue: SPR-17533
2018-11-23 16:35:19 +01:00
Sebastien Deleuze
91de8d265e
Fix ProtobufDecoder handling of split message size
...
This commit introduces a new readMessageSize(DataBuffer input) private
method, inspired from CodedInputStream#readRawVarint32(int, InputStream)
and adapted for DataBuffer using MessageDecoderFunction fields in
order to support use cases where the message size is split between
distinct chunks.
It also fixes handling of end of streams by using
DataBuffer#readableByteCount instead of -1 which is only relevant with
InputStream.
Issue: SPR-17429
2018-11-23 14:22:58 +01:00
Juergen Hoeller
77ab88b144
Polishing
2018-11-23 13:56:02 +01:00
Juergen Hoeller
738097def2
DefaultResponseErrorHandler detects non-standard error code as well
...
Issue: SPR-17439
2018-11-23 13:55:50 +01:00
Juergen Hoeller
b90553db5c
Upgrade to Reactor Californium SR3
2018-11-22 22:03:56 +01:00
Juergen Hoeller
56234fe877
Polishing
2018-11-22 22:03:36 +01:00
Juergen Hoeller
c16f36b537
Upgrade to Mockito 2.23.4, Selenium 3.141.59, JSON-P 1.1.4
2018-11-22 18:24:18 +01:00
Juergen Hoeller
ae8f680d2e
Polishing
2018-11-22 18:21:56 +01:00
Juergen Hoeller
bf272b0b21
Nullability fine-tuning based on IntelliJ IDEA 2018.3 inspection
...
Issue: SPR-15540
2018-11-22 16:12:38 +01:00
Juergen Hoeller
b1b28d4641
ToStringVisitor consistently returns platform-independent line breaks
...
Issue: SPR-17322
2018-11-22 16:11:59 +01:00
Johnny Lim
17b2b8af86
Remove an unnecessary local variable
2018-11-22 13:56:22 +01:00
Juergen Hoeller
262c702da4
CachingMetadataReaderFactory releases shared cache Map on clearCache()
...
LocalResourceCache properly initializes cacheLimit on construction.
Issue: SPR-17527
2018-11-22 11:20:47 +01:00
Rossen Stoyanchev
548126ddd8
Consistently pass param info to ServerWebInputException
...
Issue: SPR-17232
2018-11-21 14:41:42 -05:00
Rossen Stoyanchev
7e9857a663
ForwardedHeaderTransformer handles encoding correctly
...
Issue: SPR-17525
2018-11-21 10:54:39 -05:00
Rossen Stoyanchev
0134c9d608
Update @since version after backport
2018-11-21 09:35:33 -05:00
Brian Clozel
5fe628a811
Polish
2018-11-21 10:27:49 +01:00
Rossen Stoyanchev
759013eb17
Consistent isEmpty check in WebTestClient
...
Issue: SPR-17522
2018-11-20 23:02:53 -05:00
Rossen Stoyanchev
a55ca56e34
BEST_MATCHING_HANDLER_ATTRIBUTE for spring-webmvc
...
Issue: SPR-17518
2018-11-20 22:31:02 -05:00
Rossen Stoyanchev
d6a5c3428b
Improve docs on STOMP / WebSocket frame max size
...
Issue: SPR-17514
2018-11-20 21:59:47 -05:00
Rossen Stoyanchev
24848ec1bc
Configurable TcpClient for ReactorNettyTcpClient
...
Issue: SPR-17523
2018-11-20 21:20:21 -05:00
Juergen Hoeller
fef0e21d8b
Remove unused LinkedList import
2018-11-20 22:16:51 +01:00
Juergen Hoeller
8c7579eba8
Polishing
2018-11-20 22:06:44 +01:00
Juergen Hoeller
a3d763d137
Consistent parameter resolution for batch updates (IN clauses etc)
...
Includes deprecation of (NamedParameter)BatchUpdateUtils in favor of inlined code in (NamedParameter)JdbcTemplate itself.
Issue: SPR-17402
2018-11-20 22:05:53 +01:00
Juergen Hoeller
2a5d7690b6
CglibAopProxy skips method proxy for equals/hashCode/toString override
...
Issue: SPR-17500
2018-11-20 22:04:28 +01:00
Juergen Hoeller
f5aeb81473
SerializedBeanFactoryReference falls back to dummy with specific id
...
Issue: SPR-17508
2018-11-20 22:02:10 +01:00
stsypanov
02d3cfa42d
Use ArrayList instead of LinkedList
2018-11-20 21:54:51 +01:00
Vojtech Janota
12f168290d
SPR-17492: FastByteArrayOutputStream.read byte-to-int conversion
2018-11-20 17:08:01 +01:00
Arjen Poutsma
88cb126511
Add RequestPredicate Visitor to WebFlux.fn
...
This commit introduces RequestPredicates.Visitor, an implementation of
the visitor pattern for RequestPredicates.
Issue: SPR-17322
2018-11-20 14:05:17 +01:00
Arjen Poutsma
f3c29fe2e6
Add test for UriUtils.encode(String, Charset)
...
Issue: SPR-17451
2018-11-20 10:51:19 +01:00
Rossen Stoyanchev
abf9ce8a34
Improve handling of empty response with Mono<T>
...
Issue: SPR-17560
2018-11-19 16:48:38 -05:00
Arjen Poutsma
63275ae2b7
Add Test for LeakAwareDataBufferFactory
2018-11-19 16:56:25 +01:00
Brian Clozel
3203d39821
Remove Content-Length response header from errors
...
Prior to this commit, when errors happened before the response was
committed, the `Content-Length` response header would be left as is.
This can be problematic since the error can be handled later in the
chain and the response body changed accordingly. For example, Spring
Boot renders error pages in those cases. If the `Content-Length` is set,
HTTP clients can get confused and only consider part of the error
response body.
This commit ensures that any `Content-Length` response header is removed
in case of errors, if the response is not already committed.
This is done at the `AbstractServerHttpResponse` level, since errors can
be handled in multiple places and the response itself is the safest
place to handle this case.
As a consequence, this commit also removes `Content-Length` checks in
`EncoderHttpMessageWriter` since we now consider that we should rely on
the response body we're about to write rather than any previously set
value.
Issue: SPR-17502
2018-11-19 15:49:54 +01:00
Juergen Hoeller
ce5c65c0b0
Upgrade to JAXB 2.3.1, Groovy 2.5.4, Jetty 9.4.14, Tomcat 9.0.13
...
Includes JAX-WS 2.3.1, Awaitility 3.1.3, OkHttp 3.12, Woodstox 5.2.
2018-11-19 12:41:26 +01:00
Stephane Nicoll
afa38f5f97
Merge pull request #2019 from Hanope
...
* pr/2019:
Polish contribution
Fix typos
2018-11-19 08:50:49 +01:00
Stephane Nicoll
7b6f2f8fb3
Polish contribution
...
Closes gh-2019
2018-11-19 08:45:33 +01:00
Hanope
bfb49c7249
Fix typos
...
See gh-2019
2018-11-19 08:41:21 +01:00
HeemangHan
729ce4108d
Correct typos ( #2018 )
2018-11-17 16:31:01 +01:00
Rossen Stoyanchev
1a37345e84
Fix checkstyle violation and polish
2018-11-16 19:42:42 -05:00
Rossen Stoyanchev
c89e6c616a
Improve logging of request mapping information
...
Issue: SPR-17450
2018-11-16 17:30:18 -05:00
Arjen Poutsma
539cfc24c6
Refactor AbstractEncoderTestCase
...
Refactor AbstractEncoderTestCase to resemble AbstractDecoderTestCase
Issue: SPR-17449
2018-11-16 14:33:26 +01:00
Arjen Poutsma
39ce989d1a
Add and use AbstractDecoderTestCase
...
Introduce new base test case for decoder tests, and use it.
Issue: SPR-17449
2018-11-16 14:33:26 +01:00
Brian Clozel
0f2d9df79f
Upgrade to Reactor Californium SNAPSHOTs
2018-11-16 11:13:17 +01:00
Jay Bryant
b9603680bc
Fixing typoes
...
Jim Showalter found two typoes in the web section. This PR fixes them. Thanks, Jim.
2018-11-14 16:10:17 -05:00
Rossen Stoyanchev
7bbd4c681f
Merge pull request #2010 from dimitrisli/SPR-17459
2018-11-13 23:05:07 -05:00
Rossen Stoyanchev
ba3fef3e8a
Refactor media types parsing improvements
...
Issue: SPR-17459
2018-11-13 23:02:09 -05:00
Dimitrios Liapis
f4b05dc2e7
MediaType parsing supports comma inside quotes
...
Issue: SPR-17459
2018-11-13 16:59:57 -05:00
Rossen Stoyanchev
46a5fb7a91
Configurable Marshaller/Unmarshaller in JAXB2 codecs
...
Issue: SPR-17388
2018-11-13 16:56:56 -05:00
Juergen Hoeller
093254b2b3
Jackson2ObjectMapperBuilder stores visibility declarations in order
...
Issue: SPR-17489
2018-11-13 21:17:55 +01:00
Rossen Stoyanchev
9f857c1f16
Replace constant exceptions with inlined ones
...
Issue: SRP-17475
2018-11-13 14:49:23 -05:00
Rossen Stoyanchev
75b1396768
Fall back on default server response status code
...
Update the ServerHttpRespnose contract to indicate that server specific
sub-classes should fall back on the default status, if a status code
has not been set explicitly.
Issue: SPR-17368
2018-11-13 14:10:48 -05:00
Arjen Poutsma
4182935b7a
Revert optimization in StringDecoder
...
This commit reverts the first optimizations listed in
fa096dc60f , as the default delimiters
do vary, namely by the charset given in the message mime type.
The mimetype charset might not be compatible with ASCII (i.e. anything
but UTF-8 or ISO-8859-1, for instance it might be UTF-16), and will not
successfully find the default delimiters as a consequence.
Added test to indicate the bug.
2018-11-13 13:38:13 +01:00
Arjen Poutsma
445b76bbe8
Polishing
2018-11-13 13:35:37 +01:00
Arjen Poutsma
3bab3515b1
Add and use AbstractEncoderTestCase
...
Introduce new base test case for encoder tests, and use it.
Issue: SPR-17449
2018-11-13 13:35:37 +01:00
Arjen Poutsma
0c0de851f4
Add LeakAwareDataBufferFactory
...
Introduce a data buffer factory that can check for memory leaks in
@After methods.
Issue: SPR-17449
2018-11-13 13:35:37 +01:00
Arjen Poutsma
e31914bada
Polishing
2018-11-13 13:35:37 +01:00
Juergen Hoeller
40148c0560
Consistent use of ResolvableType.toClass() for assignability checks
...
Issue: SPR-17086
2018-11-12 20:29:37 +01:00
Juergen Hoeller
3a66927bd2
Polishing
2018-11-12 16:43:43 +01:00
Juergen Hoeller
c58da71006
Synthesize parameter annotations from interface methods as well
...
Issue: SPR-17460
2018-11-12 16:23:14 +01:00
Juergen Hoeller
818c2aa3b9
ServerRequest.attribute(name) defensively accesses concurrent map
...
Issue: SPR-17486
2018-11-12 16:22:42 +01:00
Juergen Hoeller
d96a7b4bfc
ClientRequest.attribute(name) defensively handles null value
...
Issue: SPR-17486
2018-11-12 11:52:21 +01:00
Sam Brannen
b3aad549c9
Fix @since tag
2018-11-10 16:56:39 +01:00
Sam Brannen
865f1f692a
Introduce tests for @Sql and @Transactional support in @Nested test classes
...
This commit was inspired by the following question on Stack Overflow.
https://stackoverflow.com/questions/53236807/spring-boot-testing-run-script-in-a-nested-test-sql-script-sql
2018-11-10 15:47:30 +01:00
Sam Brannen
93df24af16
Polishing
2018-11-10 15:47:29 +01:00
Rossen Stoyanchev
a5339d71ea
WebClient handles no Content-Type with data correctly
...
Issue: SPR-17482
2018-11-09 16:16:03 -05:00
Rossen Stoyanchev
e4c84ec757
Consistent default encoding in DefaultUriBuilderFactory
...
Issue: SPR-17465
2018-11-09 14:13:51 -05:00
Rossen Stoyanchev
f5da737bd4
Polish
2018-11-08 23:13:48 -05:00
Rossen Stoyanchev
c187cb2fa1
Ensure client response is drained with onStatus hook
...
Issue: SPR-17473
2018-11-08 22:41:22 -05:00
Rossen Stoyanchev
ed1d63dcc3
ResolvableMethod copy in spring-messaging src/test
2018-11-08 13:29:21 -05:00
Juergen Hoeller
e26ae9853e
Up-to-date version and link in ASM/CGLIB/Objenesis package javadoc
...
Issue: SPR-17267
Issue: SPR-17372
2018-11-08 16:56:48 +01:00
Juergen Hoeller
362c59c310
Consistently return empty array in case of empty batch arguments
...
Issue: SPR-17476
2018-11-08 13:43:07 +01:00
Stephane Nicoll
b6e8674700
Merge pull request #2011 from bactoria
...
* pr/2011:
Fix typo
2018-11-07 07:48:22 +01:00
황준오
db8a94ce5f
Fix typo
...
Closes gh-2011
2018-11-07 07:47:55 +01:00
Stephane Nicoll
3232825a55
Clarify @Async documentation
...
Issue: SPR-17458
2018-11-06 08:30:30 +01:00
Juergen Hoeller
e71ff2901a
Polishing
2018-11-05 22:59:33 +01:00
Juergen Hoeller
d9c1811d21
Deprecate NON_BRIDGED_METHODS constant as of 5.0.11 as well
...
Issue: SPR-17464
2018-11-05 22:59:18 +01:00
Juergen Hoeller
5e7a8b275d
Polishing
2018-11-05 19:33:24 +01:00
Juergen Hoeller
ea3250c8d6
Explicit notes on class/method-level semantics in class hierarchies
...
Issue: SPR-17445
2018-11-05 19:32:34 +01:00
Juergen Hoeller
b1f5f51503
Synchronized onRefresh execution for concurrent ContextRefreshedEvent
...
Issue: SPR-17442
2018-11-05 19:27:43 +01:00
Rossen Stoyanchev
2ce03f34d9
Fix formatting on index.adoc
2018-11-05 13:16:04 -05:00
Rossen Stoyanchev
9280e32d5d
Feature Github Wiki more prominently
...
Issue: SPR-17469
2018-11-05 13:12:18 -05:00
Juergen Hoeller
5cd525a2b0
Enforce use of ClassLoader.loadClass in case of temporary ClassLoader
...
Issue: SPR-17452
2018-11-05 17:44:46 +01:00
Juergen Hoeller
2ac4355ec0
ASM ClassReader leniently handles label offset mismatch (again)
...
Issue: SPR-17467
2018-11-05 17:44:23 +01:00
Juergen Hoeller
a3cd7af72d
Polishing
2018-11-05 12:27:35 +01:00
Juergen Hoeller
6a9f91081e
Upgrade to Netty 4.1.31 and Undertow 2.0.15
2018-11-05 12:27:20 +01:00
Juergen Hoeller
f65408f646
Avoid references to groovy-all artifact across all modules
...
Issue: SPR-17446
2018-11-05 12:27:07 +01:00
Juergen Hoeller
59fa647e2d
StandardEvaluationContext supports concurrent variable modification
...
Issue: SPR-17448
2018-11-05 12:26:35 +01:00
Juergen Hoeller
0a7dcf14f9
Deprecate ReflectionUtils.invokeJdbcMethod (for removal in 5.2)
...
Issue: SPR-17464
2018-11-05 12:26:20 +01:00
Stephane Nicoll
86846507e2
Remove trailing whitespace
2018-11-05 07:44:36 +01:00
Rossen Stoyanchev
133b8b0b5a
Polish
2018-11-02 16:19:53 -04:00
Juergen Hoeller
dc8f6f7177
Upgrade to CGLIB 3.2.9
...
This CGLIB upgrade literally does not make any difference to Spring users since its only purpose is a default ASM7 declaration in its AsmApi class (which we patched a month ago). We nevertheless leave our local AsmApi copy in place for the time being, allowing for an individual upgrade of the declared ASM API version in the future.
Issue: SPR-17267
Issue: SPR-17371
2018-11-02 19:55:13 +01:00
Rossen Stoyanchev
c2b55e60cd
Fix failing test
...
After the fix #658c7f for lenient parsing of dates, the error message
raised uses an HttpHeaders-formatted date. As a result the test
verifying the error message fails in the beginning of the month between
1-9 because it's formatted slightly differently.
2018-11-01 15:27:39 -04:00
Rossen Stoyanchev
48654c6483
Polish
2018-11-01 14:21:00 -04:00
Stephane Nicoll
47aec50917
Merge pull request #2004 from MasterEx
...
* pr/2004:
Polish reference documentation
2018-11-01 10:22:27 +09:00
Periklis Ntanasis
6f36514369
Polish reference documentation
...
Issue: SRP-17453
Closes gh-2004
2018-11-01 10:21:48 +09:00
Rossen Stoyanchev
9da9bb9652
Fix since tag
2018-10-31 10:56:17 -04:00
Rossen Stoyanchev
3f42e16172
Increase sharing among InvocableHandlerMethod variants
...
In particular between reactive and non-reactive web variants, but
also preparing for a messaing reactive variant.
2018-10-30 17:15:09 -04:00
Rossen Stoyanchev
7c36549e3a
Consistent InvocableHandlerMethod implementations
...
This commit makes the 3 existing InvocableHandlerMethod types more
consistent and comparable with each other.
1. Use of consistent method names and method order.
2. Consistent error formatting.
3. Explicit for loops for resolving argument values in webflux variant
because that makes it more readable, creates less garabage, and it's
the only way to bring consistency since the other two variants cannot
throw exceptions inside Optional lambdas (vs webflux variant which can
wrap it in a Mono).
4. Use package private HandlerMethodArgumentComposite in webflux
variant in order to pick up the resolver argument caching that the
other two variants have.
5. Polish tests.
6. Add missing tests for messaging variant.
2018-10-30 16:36:01 -04:00
Juergen Hoeller
991e9f4269
Upgrade to Joda-Time 2.10.1
2018-10-29 18:33:36 +01:00
Brian Clozel
2a41067a17
Update reactive streams spec URL in ref docs
2018-10-29 15:10:03 +01:00
Sam Brannen
42a95b8f35
Fix typo and polish
2018-10-29 14:47:20 +01:00
Rossen Stoyanchev
76d203fc61
Merge pull request #2001 from tamkylet/readme-writing-edit
2018-10-29 09:28:18 -04:00
Rossen Stoyanchev
9fc7bfde99
Polish README
2018-10-29 09:27:19 -04:00
tamkylet
a999c4aa7e
readme writing changes to improve readability
2018-10-29 09:18:45 -04:00
Spring Buildmaster
a82d726f76
Next Development Version
2018-10-29 10:33:23 +00:00
Brian Clozel
5fb8dec50e
Upgrade to Reactor Californium-SR2
2018-10-29 10:31:29 +01:00
Juergen Hoeller
dc1e3b4628
Exclude FactoryBean implementation methods on CGLIB proxies as well
...
Issue: SPR-17374
2018-10-27 14:36:56 +02:00
Rossen Stoyanchev
fa096dc60f
Minor refactoring in StringDecoder + polish
...
1. Avoid re-creating the List with delimited byte arrays on every
request if using the default delimiters which don't vary by charset.
2. Replace flatMap with flatMapIterable for splitOnDelimiter.
3. Avoid going through DataBufferUtils#join, and unnecessarily creating
Flux from the List, since the join method needs a list anyway.
2018-10-26 13:24:53 -04:00
Brian Clozel
fc957e95bb
Configure ResourceUrlProvider in WebFlux
...
Prior to this commit, no `ResourceUrlProvider` was configured
in WebFlux (no bean was contributed by the WebFlux infrastructure).
Also, several `ResourceTransformer` instances that extend the
`ResourceTransformerSupport` base class need a `ResourceUrlProvider`
to resolve absolute URLs when rewriting resource URLs. At this point,
no `ResourceUrlProvider` was configured and they could only resolve
relative URLs.
This commit contributes a new `ResourceUrlProvider` to the WebFlux
configuration; this bean can be reused by the WebFlux infrastructure and
application code.
This also automatically configure this shared `ResourceUrlProvider`
instance on the resource chain where needed.
Issue: SPR-17433
2018-10-26 13:56:00 +02:00
Juergen Hoeller
3fee8cb625
Polishing
2018-10-26 11:43:46 +02:00
Arjen Poutsma
e68bf010da
Fix memory leak for ServerSentEventHttpMessageWriter
...
Issue: SPR-17419
2018-10-26 11:36:05 +02:00
Juergen Hoeller
f32e1bcbe3
Polishing
2018-10-26 11:07:29 +02:00
Vikash Tiwari
8df3fd3f1d
Remove unnecessary null check
2018-10-26 10:17:04 +02:00
Rossen Stoyanchev
4faee165db
Documentation updates for working with DataBuffers
...
Issue: SPR-17409
2018-10-25 23:46:39 -04:00
Rossen Stoyanchev
8223ed38c8
Polish Reactive Core and Codecs sections
...
Issue: SPR-17409
2018-10-25 23:45:09 -04:00
Juergen Hoeller
3681d58e98
SpringBeanContainer leniently applies fallback on any BeansException
...
Issue: SPR-17430
2018-10-25 18:06:06 +02:00
Brian Clozel
2146e13787
Fix absolute paths when transforming resources
...
Prior to this commit, `ResourceTransformerSupport.toAbsolutePath`
would call `StringUtils.applyRelativePath` in all cases. But this
implementation is prepending the given path even if the relative path
starts with `"/"`.
This commit skips the entire operation if the given path is absolute,
i.e. it starts with `"/"`.
Issue: SPR-17432
2018-10-25 16:42:47 +02:00
Juergen Hoeller
a61d107606
Asciidoc revision (chapter declarations, javadoc references, etc)
2018-10-25 15:15:58 +02:00
Juergen Hoeller
67bd3f670f
Upgrade to AspectJ 1.9.2, Rome 1.11.1, OpenPDF 1.2.5, POI 4.0
2018-10-25 15:15:47 +02:00
Arjen Poutsma
95542778ad
Fix MultipartHttpMessageWriterTests
...
Issue: SPR-17419
2018-10-25 12:13:03 +02:00
Arjen Poutsma
7a8a2d9608
Fix HttpMessageWriter tests
...
Issue: SPR-17419
2018-10-25 12:13:03 +02:00
Arjen Poutsma
256a6fe6cb
Fix memory leak for ServerSentEventHttpMessageWriter
...
This commit fixes a memory leak in ServerSentEventHttpMessageWriter
that occurs when the input stream contains an error. Test added as well.
Issue: SPR-17419
2018-10-25 12:13:03 +02:00
Brian Clozel
d28b73ad22
Rollback to Asciidoctor 1.5.8
2018-10-25 10:12:01 +02:00
Juergen Hoeller
56a8526f3c
Upgrade to Checkstyle 8.14
2018-10-25 00:29:08 +02:00
Juergen Hoeller
fb2565f2fe
Upgrade plugins to Kotlin 1.2.71 and Asciidoctor 1.5.9
2018-10-24 23:57:33 +02:00
Brian Clozel
50a4769162
Fix ResourceUrlEncodingFilter lifecycle
...
Prior to this commit, the `ResourceUrlEncodingFilter` would wrap the
response and keep a reference to the request. When
`HttpServletResponse.encodeURL` is later called during view rendering,
the filter looks at the request and extracts context mapping information
in order to resolve resource paths in views.
This approach is flawed, when the filter is used with JSPs - if the
request is forwarded to the container by the `InternalResourceView`,
the request information is overwritten by the container. When the view
is being rendered, the information available in the request is outdated
and does not allow to correctly compute that context mapping
information.
This commit ensures that that information is being extracted from the
request as soon as the `ResourceUrlProvider` is set as a request
attribute.
Issue: SPR-17421
2018-10-24 21:18:57 +02:00
Juergen Hoeller
ffa032e78f
Polishing
2018-10-24 20:46:26 +02:00
Juergen Hoeller
f0f1979fc5
Support for @RequestParam Map declared with MultipartFile/Part values
...
Issue: SPR-17405
2018-10-24 20:44:58 +02:00
Arjen Poutsma
488a1d4561
Review DataBufferUtils for cancellation memory leaks
...
Issue: SPR-17408
2018-10-24 16:28:21 +02:00
Arjen Poutsma
611019b73c
Fix memory leak for Jaxb2XmlEncoder
...
This commit fixes a memory leak in Jaxb2XmlEncoder that occurs when
the input stream contains an error. Test added as well.
Issue: SPR-17419
2018-10-24 16:28:21 +02:00
Arjen Poutsma
11a017d8b7
Add error stream tests for ProtobufEncoderTests
...
Issue: SPR-17419
2018-10-24 16:28:21 +02:00
Rossen Stoyanchev
2439f87a48
Add onDiscard hook to Jetty client request
...
The flatMap operation in writeAndFlushWith could buffer internally.
Issue: SPR-17424
2018-10-23 21:41:27 -04:00
Rossen Stoyanchev
2ba5ded306
Polish Jetty reactive HttpClient connector
2018-10-23 21:34:42 -04:00
Rossen Stoyanchev
2eae37dde0
Update ref docs on ResponseEntity and reactive types
...
Issue: SPR-17400
2018-10-23 16:42:31 -04:00
Rossen Stoyanchev
42b7c5a79b
Upgrade to Californium snapshots
...
Towards Californium SR2 to confirm fix for SPR-17306.
2018-10-23 15:52:05 -04:00
Juergen Hoeller
1cb08f5782
Upgrade to RxJava 2.2.3 and Undertow 2.0.14
2018-10-23 19:34:39 +02:00
Rossen Stoyanchev
feeec344e5
ForwardedHeaderFilter works with Servlet FORWARD
...
Issue: SPR-16983
2018-10-23 11:53:46 -04:00
Arjen Poutsma
51bb96db47
Fix ResourceRegionEncoder and tests
...
Fix ResourceRegionEncoder so that it checks for resource existance
before writing boundaries. Also defer data buffer allocation until
necessary.
Issue: SPR-17419
2018-10-23 16:41:48 +02:00
Arjen Poutsma
eac9e66c46
Fix memory leak when canceling read from AsynchronousFileChannel
...
This commit fixes a memory leak that occurs when reading from a
AsynchronousFileChannel, and cancelling the subscription.
Issue: SPR-17419
2018-10-23 16:41:48 +02:00
Brian Clozel
28cf7b728f
Relax handler supports checks in RequestMappingHandlerAdapter
...
Issue: SPR-17420
2018-10-22 20:31:41 +02:00
Juergen Hoeller
f68b1e0bce
Upgrade to Objenesis 3.0.1
...
Issue: SPR-17372
2018-10-22 18:54:18 +02:00
Juergen Hoeller
c3c2383b0d
Align serialVersionUID declaration with ASM master
...
Issue: SPR-17267
2018-10-22 18:53:23 +02:00
Rossen Stoyanchev
41e6aa6de2
Restore log level for resolved exceptions
...
The fix for SPR-17178 switched from debug to warn level warning for
all sub-classes of AbstractHandlerExceptionResolver where the request
concerned the DefaultHandlerExceptionResolver only.
This commit restores the original DEBUG level logging that was in
AbstractHandlerExceptionResolver from before SPR-17178. In addition
DefaultHandlerExceptionResolver registers a warnLogCategory by default
which enables warn logging and hence fulfilling the original goal
for SPR-17178.
Issue: SPR-17383
2018-10-22 12:13:18 -04:00
Rossen Stoyanchev
de453ace86
Revert "@ExceptionHandler methods logs at DEBUG level again"
...
This reverts commit 162112.
Instead we'll go for a bigger rollback of the change from SPR-17178 so
that only DefaultHandlerExceptionResolver does warn logging by default.
Issue: SPR-17388
2018-10-22 11:46:02 -04:00
Arjen Poutsma
0176d362be
Add error stream tests for Jackson2JsonDecoder
...
Issue: SPR-17418
2018-10-22 16:00:32 +02:00
Arjen Poutsma
946ec7e22e
Fix memory leaks in ProtobufDecoder
...
Issue: SPR-17418
2018-10-22 16:00:32 +02:00
Arjen Poutsma
a64e85fcc6
Javadoc
2018-10-22 16:00:32 +02:00
Arjen Poutsma
47fe05066d
Add error stream tests for Jaxb2XmlDecoderTests
...
Issue: SPR-17418
2018-10-22 16:00:32 +02:00
Arjen Poutsma
a37efc9881
Add error stream tests for XmlEventDecoder
...
Issue: SPR-17418
2018-10-22 16:00:32 +02:00
Arjen Poutsma
f738273486
Fix buffering issue in StringDecoder
...
Issue: SPR-17418
2018-10-22 16:00:32 +02:00
Juergen Hoeller
1c67ef4bed
ConfigurableWebApplicationContext needed for contextClass parameter
...
Issue: SPR-17414
2018-10-22 15:14:08 +02:00
Juergen Hoeller
dd2ce20687
SpringFactoriesLoader tolerates whitespace around class names
...
Issue: SPR-17413
2018-10-22 15:13:58 +02:00
Juergen Hoeller
83a54dba7e
Avoid stacktrace if root resource is not resolvable in file system
...
Issue: SPR-17417
2018-10-22 15:13:49 +02:00
Brian Clozel
85262a7932
Fix Map.put contract for HeadersAdapter impl.
...
This commit fixes the `Map.put` contract for both Reactor Netty and
Tomcat specific `HeadersAdapter` implementations.
Issue: SPR-17415
2018-10-22 14:53:14 +02:00
Rossen Stoyanchev
862dd23975
Server adapters release buffers on error/cancel
...
Review and update Servlet and Undertow adapters to release any data
buffers they be holding on to at the time of error or cancellation.
Also remove onDiscard hooks from Reactor and Undertow request body.
For Reactor we expect it to be handled. For Undertow there isn't
any Reactor Core upstream for the callback to be useful.
Issue: SPR-17410
2018-10-19 21:45:14 -04:00
Arjen Poutsma
149d416e8e
Review DataBufferUtils for error/cancellation memory leaks
...
Issue: SPR-17408
2018-10-19 12:16:18 +02:00
Rossen Stoyanchev
1621125ccf
@ExceptionHandler methods logs at DEBUG level again
...
Issue: SPR-17383
2018-10-18 22:49:47 -04:00
Juergen Hoeller
a0b42a3dfd
Upgrade to Hibernate ORM 5.3.7
2018-10-18 18:05:26 +02:00
Juergen Hoeller
5b5f7190bf
Declare InvocableHandlerMethod.getMethodArgumentValues as protected
...
Issue: SPR-17404
2018-10-18 18:05:07 +02:00
Juergen Hoeller
7ff938b3ef
LogFormatUtils.formatValue leniently handles toString() exceptions
...
Issue: SPR-17397
2018-10-18 18:04:32 +02:00
Juergen Hoeller
da23505e94
Clarify FactoryBean initialization effect in getBeanNamesForAnnotation
...
Issue: SPR-17392
2018-10-18 18:04:04 +02:00
Juergen Hoeller
00b7782b5f
Clarify destruction order effect in @DependsOn annotation javadoc
...
Issue: SPR-17384
2018-10-18 18:03:44 +02:00
Arjen Poutsma
6f0c869afe
Polishing
2018-10-18 17:16:34 +02:00
Arjen Poutsma
857b600675
Fix memory leak in AbstractJackson2Encoder
...
Fixes a DataBuffer memory leak where a created buffer was not release
if Jackson threw an exception.
2018-10-18 17:09:53 +02:00
Arjen Poutsma
d303c8a20f
Store PathPattern instead of String in attributes
...
This commit changes the attributes stored under
RouterFunctions.MATCHING_PATTERN_ATTRIBUTE and
HandlerMapping.BEST_MATCHING_PATTERN_ATTRIBUTE from a String to a
PathPattern, similar to what annotated controllers set.
Issue: SPR-17395
2018-10-18 14:48:45 +02:00
Brian Clozel
ab8310b5f3
Fix HeadersAdapters implementations
...
This commit harmonizes the `HeadersAdapter` implementations across all
supported servers with regards to the `get(Object key)` contract; some
server implementations are not sticking to a `Map`-like contract and
return empty `List` instead of `null` when a header is not present.
This also fixes the `size()` implementations to reflect the number of
header keys, as some implementations consider multiple values for the
same header as different entries.
Issue: SPR-17396
2018-10-18 11:18:29 +02:00
Rossen Stoyanchev
fdaceeb6c9
Remove checks and updates to transfer-encoding
...
Issue: SPR-17393
2018-10-16 16:49:46 -04:00
Sebastien Deleuze
2c5a1af236
Leverage Java reflection for Kotlin enums
...
As discussed in KT-25165, from a Kotlin POV enum constructors
have no parameter, this is an "implementation detail"
required for running on the JVM, so it seems relevant to skip
Kotlin reflection in that case and just delegate to Java
reflection.
Issue: SPR-16931
2018-10-16 16:40:02 +02:00
Rossen Stoyanchev
f885910887
Remove unused bom import too
2018-10-15 14:39:20 -04:00
Rossen Stoyanchev
e14cf699c8
Remove unused dependencies from spring-messaging
...
Tomcat and Jetty integration tests were moved out of spring-messaging
a very long time ago (before 4.0), but the dependencies remained
unnoticed until now.
2018-10-15 14:04:15 -04:00
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
Spring Buildmaster
b2bf5fe0f3
Next Development Version
2018-10-15 07:20:38 +00:00
Rossen Stoyanchev
423aa28ed5
HttpRange validates requested ranges
...
Issue: SPR-17318
2018-10-14 22:49:25 -04:00
Juergen Hoeller
50949415d7
Upgrade spring-test to Hibernate ORM 5.3.6 (for JDK 11 compatibility)
...
Issue: SPR-16391
2018-10-15 00:39:25 +02:00
Juergen Hoeller
608fd766cb
Upgrade to Checkstyle 8.13, Groovy 2.5.3, Aalto XML 1.1.1
2018-10-15 00:01:45 +02:00
Juergen Hoeller
58b3af9475
Nullability fine-tuning and related polishing
...
Issue: SPR-17250
2018-10-14 23:29:46 +02:00
Juergen Hoeller
5f2d47a17e
MethodValidationInterceptor excludes FactoryBean metadata methods
...
Issue: SPR-17374
2018-10-14 21:07:56 +02:00
Tomasz Nurkiewicz
2255d222e3
Fix punctuation in reference manual ( #1992 )
2018-10-13 11:44:49 +03:00
Rossen Stoyanchev
ecd0d7f0f6
Complete initialization with bindToRouterFunction
...
Issue: SPR-17239
2018-10-12 17:11:35 -04:00
Juergen Hoeller
309e70a48e
Separate factory method cache for introspection purposes
...
Issue: SPR-17358
Issue: SPR-8891
2018-10-12 22:53:50 +02:00
Rossen Stoyanchev
658c7f99d7
Lenient date parsing in HeadersResultMatchers
...
Rather than formatting the expected value, and be susceptible to
minor formatting differences (e.g. 01 vs 1 for day of month), parse the
actual header value leniently with HttpHeaders and compare time values.
Issue: SPR-17330
2018-10-12 15:41:42 -04:00
Rossen Stoyanchev
c5ca56bd50
Polish
2018-10-12 12:15:45 -04:00
Stephane Nicoll
05830912a5
Merge pull request #1991 from Cikey
...
* pr/1991:
Fix deprecated property in MBeanExporter documentation
2018-10-12 16:15:12 +02:00
Christian Kulpa
864d7eaf11
Fix deprecated property in MBeanExporter documentation
...
Closes gh-1991
2018-10-12 16:10:02 +02:00
Juergen Hoeller
bfc5ad890e
MockHttpServletRequest resets InputStream/Reader on setContent
...
Issue: SPR-17373
2018-10-12 16:00:31 +02:00
Juergen Hoeller
b7e4a56e5c
Mark PathResourceTests as deprecated (along with PathResource)
...
Issue: SPR-17320
2018-10-12 13:17:28 +02:00
Juergen Hoeller
0b2c482e29
Upgrade to Selenium HtmlUnit Driver 2.33
2018-10-12 13:17:14 +02:00
Juergen Hoeller
dcf2861db5
Upgrade to Objenesis 3.0
...
Includes jarjar upgrade since jarjar 1.3 fails to properly relocate Objenesis 3.0 classes into org.springframework.objenesis package.
Issue: SPR-17372
2018-10-12 13:17:01 +02:00
Juergen Hoeller
5474995288
Exclude original AsmApi class from CGLIB repack jar
...
Issue: SPR-17371
2018-10-12 12:14:00 +02:00
Juergen Hoeller
a2ae5f6972
Force CGLIB to always specify ASM7 for its visitors
...
Issue: SPR-17371
2018-10-12 12:01:50 +02:00
陈灵敏
4ee704cedf
Supplier for timeout result in DeferredResult
...
Issue: SPR-17364
2018-10-11 20:26:01 -04:00
Rossen Stoyanchev
8df0bc88d2
Improve access to raw content in WebTestClient
...
If the content has not been consumed, cause it to be produced, and
wait for a certain amount of time before giving up, so the raw content
can be made available. This can occur when:
1) In a mock server scenario the Flux representing the client request
content is passed directly to the mock server request, but is never
consumed because of an error before the body is read.
2) Test obtains FluxExchangeResult (e.g. for streaming) but instead of
consuming the Flux, it calls getResponseBodyContent() instead.
Issue: SPR-17363
2018-10-11 20:25:56 -04:00
Rossen Stoyanchev
c567e65eea
WritetapConnector internal refactoring
...
Extract a common delegate class to share between the request and the
to wiretap a Publisher and record and buffer its data.
Preparation for SPR-17363.
2018-10-11 19:47:37 -04:00
Rossen Stoyanchev
050f44d75b
Rename WebTestClientConnectorTests to match class name
2018-10-11 19:47:37 -04:00
Stephane Nicoll
60b5161fbe
Upgrade to Reactor Californium-SR1
2018-10-11 20:30:43 +02:00
Brian Clozel
10d5de7d63
Handle special headers in Tomcat and Jetty
...
This commit adds special processing of some HTTP response headers in
Jetty and Tomcat; they both consider some headers like "Content-Length"
as specific and require explicit calls on the `HttpServletResponse`
itself on top of setting the HTTP response header.
Issue: SPR-17250
2018-10-11 14:37:14 +02:00
Arjen Poutsma
8de5c05af0
Set BEST_MATCHING_HANDLER_ATTRIBUTE in WebFlux.fn
...
SPR-17367
2018-10-11 13:44:06 +02:00
Brian Clozel
f12c28e402
Avoid copying in DefaultServerHttpRequestBuilder
...
This commit avoids copying HTTP headers when mutating an HTTP request.
Instead, we're now unwrapping the `ReadOnlyHttpHeaders` (which is most
likely backed by the native request headers).
Issue: SPR-17250
2018-10-11 12:11:47 +02:00
Brian Clozel
ce7278aaf4
Optimize HTTP headers management
...
Several benchmarks underlined a few hotspots for CPU and GC pressure in
the Spring Framework codebase:
1. `org.springframework.util.MimeType.<init>(String, String, Map)`
2. `org.springframework.util.LinkedCaseInsensitiveMap.convertKey(String)`
Both are linked with HTTP request headers parsing and response headers
writin during the exchange processing phase.
1) is linked to repeated calls to `HttpHeaders.getContentType`
within a single request handling. The media type parsing operation
is expensive and the result doesn't change between calls, since
the request headers are immutable at that point.
This commit improves this by caching the parsed `MediaType` for the
`"Content-Type"` request header in the `ReadOnlyHttpHeaders` class.
This change is available for both Spring MVC and Spring WebFlux.
2) is linked to insertions/lookups in the `LinkedCaseInsensitiveMap`,
which is the data structure behind `HttpHeaders`.
Those operations are creating a lot of garbage (including a lot of
`String` created by `toLowerCase`). We could choose a more efficient
data structure for storing HTTP headers data.
As a first step, this commit is focusing on Spring WebFlux and
introduces `MultiValueMap` implementations mapped by native HTTP headers
for the following servers: Tomcat, Jetty, Netty and Undertow.
Such implementations avoid unnecessary copying of the headers
and leverages as much as possible optimized operations provided by the
native implementations.
This change has a few consequences:
* `HttpHeaders` can now wrap a `MultiValueMap` directly
* The default constructor of `HttpHeaders` is still backed by a
`LinkedCaseInsensitiveMap`
* The HTTP request headers for the websocket HTTP handshake now need to
be cloned, because native headers are likely to be pooled/recycled by
the server implementation, hence gone when the initial HTTP exchange is
done
Issue: SPR-17250
2018-10-11 12:11:47 +02:00
volkovandr
61403e3bd3
Updated Javadoc: date format patterns SPR-17366
2018-10-11 10:52:32 +02:00
Brian Clozel
cc172bcedc
Upgrade to Reactor Californium SNAPSHOTs
...
Preparing for Californium-SR1
2018-10-11 10:46:01 +02:00
Juergen Hoeller
e18149878c
Upgrade to Mockito 2.23
...
Includes JSON-P 1.1.3.
2018-10-10 23:53:33 +02:00
Juergen Hoeller
c89e3e6e0d
Restore original factory method caching (addressing Boot regressions)
...
Issue: SPR-17358
2018-10-10 23:53:13 +02:00
Rossen Stoyanchev
d05924165b
Refactor FilterWebHandler and DefaultWebFilterChain
...
The chain is initialized once and re-used vs creating the "next" chains
on every request.
2018-10-10 14:33:51 -04:00
Stephane Nicoll
82a211fa96
Fix checkstyle violation
2018-10-10 10:45:08 +02:00
Stephane Nicoll
062805fcb3
Recursively process DeferredImportSelector properly
...
Previously, if a DeferredImportSelector was identified at a later stage
as part of processing the collected set of deferred imports, such
selector was processed as a regular import selector.
Semantically, it makes sense as we already are in the deferred phase at
this point and it doesn't make much sense to bother about the extra
contract.
However, Spring Framework 5 introduced the notion of Group that a
deferred import selector can define. When it does, the container has to
honour the contract of the Group rather than calling the simpler
ImportSelector parent contract.
This commit restructures the processing of such case. When a deferred
import selector is detected while processing deferred import selectors,
a group is created with only that selector and the group API is invoked.
Issue: SPR-17351
2018-10-10 10:19:11 +02:00
Juergen Hoeller
053820c4ff
Polishing
2018-10-09 23:14:49 +02:00
Juergen Hoeller
f662e3b85e
BeanFactoryAnnotationUtils provides qualifiedBeansOfType method
...
Includes consistent upfront resolution of factory method annotations.
Issue: SPR-8891
2018-10-09 23:14:27 +02:00
Juergen Hoeller
44afed426a
ObjectProvider stream consistently includes beans from parent context
...
Issue: SPR-17356
2018-10-09 23:14:19 +02:00
Juergen Hoeller
83909e6e1e
Consistent exposure of empty attribute arrays in AnnotationMetadata
...
Issue: SPR-17347
2018-10-09 23:14:13 +02:00
Juergen Hoeller
fdf340306d
Defensively use Class.forName instead of ClassLoader.loadClass
...
Issue: SPR-17333
2018-10-09 23:14:05 +02:00
Juergen Hoeller
d9e7253532
SpringBeanContainer exposes bean instance returned from initializeBean
...
Issue: SPR-17332
2018-10-09 23:13:58 +02:00
Juergen Hoeller
2b986af310
BasicAuthenticationInterceptor with HttpHeaders.setBasicAuth alignment
...
Issue: SPR-17326
2018-10-09 23:13:46 +02:00
Juergen Hoeller
c8c0737ce7
AbstractApplicationContext.getApplicationListeners() exposes all statically registered listeners
...
Issue: SPR-17324
2018-10-09 23:13:37 +02:00
Juergen Hoeller
19f3347932
SpringBeanJobFactory supports autowiring through ApplicationContext
...
Issue: SPR-17323
2018-10-09 23:13:25 +02:00
Juergen Hoeller
efdbddd358
Full alignment of spring-test vs spring-web MockCookie variants
...
Issue: SPR-17321
2018-10-09 23:13:18 +02:00
Juergen Hoeller
cf3635b42d
Resource.lastModified() propagates 0 value if target resource exists
...
Includes use of Files.getLastModifiedTime for NIO Paths, preservation of NIO-based resolution on createRelative, deprecation of PathResource, and consistent use of getContentLengthLong over getContentLength.
Issue: SPR-17320
2018-10-09 23:13:11 +02:00
Juergen Hoeller
1e0de072f9
Upgrade to ASM 7.0 beta release
...
Issue: SPR-17267
2018-10-09 23:13:02 +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
Rossen Stoyanchev
c01f350abe
Move MonoToListenableFutureAdapter to spring-core
...
This was a package private class in spring-messaging since 5.0, and was
recently made public in 5.1. This commit promotes it to spring-core
where it belongs next to all other ListenableFuture support classes.
Follow-up refactoring for SPR-17336
2018-10-09 16:26:24 -04:00
Rossen Stoyanchev
928c541401
Simplify MonoToListenableFutureAdapter
...
Collapse the package private AbstractMonoToListenableFutureAdapter into
its only sub-class MonoToListenableFutureAdapter. There is no need for
such an abstract class that makes it possible to adapt from one source
to a different target type. That's already covered by
ListenableFutureAdapter.
Follow-up refactoring for SPR-17336.
2018-10-09 15:22:19 -04:00
Rossen Stoyanchev
bef22ec9b5
Consistent MonoToListenableFutureAdapter.cancel()
...
Issue: SPR-17336
2018-10-09 14:55:04 -04:00
Rossen Stoyanchev
29ff8a8d12
More defensive check for MockAsyncContext
...
Avoid automatically unwrapping the request in TestDispatcherServlet,
if we find the MockAsyncContext.
Issue: SPR-17353
2018-10-09 11:56:47 -04:00
Sebastien Deleuze
af6a5566a3
Replace context by provider<T>() in Kotlin bean DSL
...
Spring Framework 5.1.0 exposed by mistake context in the Kotlin bean DSL
API in order to fix SPR-16269. Now that BeanFactory#getBeanprovider is
available, it should be exposed via a provider<Foo>() function in order
to provide a more clean API instead.
Issue: SPR-17352
2018-10-08 14:00:12 +02:00
Stephane Nicoll
635d2146db
Merge pull request #1983 from nfadeev
...
* pr/1983:
Fix bullet list layout
2018-10-07 13:46:13 +02:00
Mykola Fadieiev
ccce61e2b2
Fix bullet list layout
...
Closes gh-1983
2018-10-07 13:45:46 +02:00
Rossen Stoyanchev
9630445253
Add sections on form and multipart codecs
...
Explain the need for consistent use of ServerWebExchange for access to
the parsed (and cached) form data or multipart data.
Issue: SPR-17291
2018-10-05 21:27:07 -04:00
Rossen Stoyanchev
1c90d481d5
Rename Motivation to Overview and restore sub-sections
2018-10-05 16:37:56 -04:00
Rossen Stoyanchev
d16a710d13
Polish WebFlux codecs section in the docs
2018-10-05 16:36:19 -04:00
Rossen Stoyanchev
4d24503317
Restore sub-section headings in web content
...
Headings are optimized for how they appear in the left-hand side
navitation menu, with context provided by parent headings, and not
necessarily for how they read on their own.
At 2nd and 3rd level of nesting, which is where most headings are,
the wrapping becomes too distracting and the left-hand side navigation
sprawling.
2018-10-05 15:54:38 -04:00
Rossen Stoyanchev
1489457025
Restore calls to setLocale in MockHttpServletResponse
...
Issue: SPR-17284
2018-10-05 13:50:41 -04:00
Rossen Stoyanchev
9064ef59f9
Workaround for Synchronoss content-length limitation
...
Issue: SPR-17345
2018-10-05 12:12:49 -04:00
dmrachkovskyi
983bce125f
Defer obtaining argument resolver default value
...
Issue: SPR-17338
2018-10-05 11:39:19 -04:00
Sam Hubbard
80e7819d6f
Fix construction of NullSafeComparator in nullsLow
...
Previously, both nullsLow(Comparator<T>) and
nullsHigh(Comparator<T>) returned a
NullSafeComparator which treated nulls as being
high. This commit corrects this typo.
2018-10-05 13:20:28 +02:00
Stephane Nicoll
cb4fa3795a
Merge pull request #1979 from rupertw
...
* pr/1979:
Fix formatting
2018-10-05 09:21:23 +02:00
www
9d5aced8c5
Fix formatting
...
Prefix the opening brace with a single space in some classes.
Replace tab character with space in javadoc of AttributeAccessor.
Also fix some other trivial formatting errors.
Closes gh-1979
2018-10-05 09:20:47 +02:00
Arjen Poutsma
ff7ccf0d4e
Only clear request attribute when different
...
With this commit, we now make sure that the attributes are not cleared
if they are same as the nested request.
Issue: SPR-17304
2018-10-04 16:50:11 +02:00
Arjen Poutsma
9975646ffb
Add more RequestPredicate tests for attributes
...
This commit adds test for delegating request predicates that verify
whether the request attributes are properly restored when a delegate
fails.
2018-10-04 15:18:08 +02:00
Arjen Poutsma
38e5c01c3c
Move negating RequestPredicate to RequestPredicates
2018-10-04 15:15:36 +02:00
Sebastien Deleuze
3ff5731429
Leverage ObjectProvider instead of autowired containers
...
In order to be able to leverage WebFlux configuration in a functional
way, WebHttpHandlerBuilder and RouterFunctionMapping should leverage
new ObjectProvider capabilities to get a sorted list of beans by type
instead of using autowired containers.
Issue: SPR-17327
2018-10-03 14:14:47 +02:00
Rossen Stoyanchev
1320fed7fe
Use WebsocketOutbound#sendClose
...
Switch to using the sendClose method available since Reactor Netty 0.8
vs explicitly sending a CloseWebSocketFrame.
Related to SPR-17306, but does not address the root cause.
2018-10-02 09:37:32 -04:00
Sam Brannen
e63bffcfa0
Introduce not-null precondition for MockCookie parsing
2018-10-02 13:07:20 +02:00
Sam Brannen
77205ca165
Polish MockCookie contribution
...
Issue: SPR-17321, #1974
2018-10-02 13:06:16 +02:00
Sam Brannen
31095f1d4e
Move MockCookie parsing tests to correct class
...
Issue: SPR-17321, #1974
2018-10-02 12:43:17 +02:00
Sam Brannen
49bc746640
Polish MockCookie[Tests]
2018-10-02 12:41:07 +02:00
Michael Bell
1b8421c7fe
Fix MockCookie parsing when attribute is omitted
...
Issue: SPR-17321, #1974
2018-10-02 06:18:45 -04:00
0xflotus
00353a073c
fixed further typo
2018-10-01 21:48:49 +02:00
0xflotus
9fed4d0375
do you mean 'compose'?
2018-10-01 21:48:02 +02:00
0xflotus
fc03707445
fixed ContentNegotiationConfigurer
2018-10-01 21:47:46 +02:00
Rossen Stoyanchev
7aa933437c
Update links to http://java.net/jira
2018-10-01 12:01:28 -04:00
cac03
a8f4c596fd
Fix trivial errors in data-access and core-aop in docs
...
Fix some syntax errors and typos
* Fix syntax error in core-aop docs which caused incorrect document
generation
* Surround @Pointcut values with quotation marks
* Replace 'I' with 'you' in the 'In the XML style I can declare the
first two pointcuts' sentence
* Fix compileror typo
* Remove redundant parenthesis
* Remove redundant commas
* Add 'can' to the 'You configure additional aspects in similar fashion'
sentence
* Replace 'You can annotation any method' with 'You can annotate any
method'
* Add space to 'non-recoverablepersistence'
* Replace 'we shows' with 'we show'
* Fix 'java.utils.Map' typo
* Add space to 'byusing'
* Add space to '`Lifecycle`by'
* Replace 'You cN' with 'You can'
* Replace 'encourag' with 'encourage'
2018-09-30 20:29:11 +02:00
Juergen Hoeller
058f027c5b
Upgrade to Kotlin 1.2.71 and Netty 4.1.30
2018-09-29 18:58:13 +02:00
Juergen Hoeller
2ec41c8153
Polishing
2018-09-29 18:57:56 +02:00
Juergen Hoeller
ad29f97a05
Polishing
2018-09-29 17:16:25 +02:00
Juergen Hoeller
9063e66c5d
AbstractApplicationEventMulticaster pre-sorts singleton listeners
...
Issue: SPR-17307
2018-09-29 17:15:53 +02:00
Juergen Hoeller
d6dfde3e5b
LogFactoryService implements Commons Logging attribute methods
...
Issue: SPR-17302
2018-09-29 17:10:03 +02:00
Juergen Hoeller
333e327289
Revised javadoc for up-to-date constructor autowiring semantics
...
Issue: SPR-17299
2018-09-29 17:09:30 +02:00
Juergen Hoeller
255015fc6b
Prepared for backport to 4.3.20 and 5.0.10
...
Issue: SPR-17295
2018-09-29 17:08:57 +02:00
Stephane Nicoll
6ff8cd8a9f
Merge pull request #1967 from cac03
...
* pr/1967:
Fix trivial errors in core-beans documentation
2018-09-25 14:21:45 -04:00
cac03
18c9e3e812
Fix trivial errors in core-beans documentation
...
Closes gh-1967
2018-09-25 14:21:13 -04:00
Juergen Hoeller
a76b8deda5
Consistent copyright header and fine-tuned javadoc in test/web mocks
...
Issue: SPR-17295
2018-09-24 00:27:50 +02:00
Stephane Nicoll
7ca6b9f7d2
Fix copyright header
2018-09-23 17:26:40 +02:00
Juergen Hoeller
51ba322947
MockHttpServletRequest allows for removing registered header values
...
Includes full alignment of spring-test vs spring-web mock variants.
Issue: SPR-17295
2018-09-23 14:44:15 +02:00
Sam Brannen
9e2912e1dd
Fix source code callouts in Reference Manual
2018-09-23 13:30:17 +02:00
Jay Bryant
6d226326c9
Editing pass for the integration and languages chapters.
...
I edited for spelling, puncutation, grammar, usage, and corporate voice. I also added a bunch of cross-references and links to the Javadoc.
I also corrected the rendering problems that I had accidentally created in previous commits (because I was adjusting headings and adding callouts to listings.
2018-09-21 23:27:03 +02:00
Sam Brannen
45ecfc6df9
Fix source code callouts in Reference Manual
2018-09-21 16:33:04 +02:00
Sam Brannen
59e87f950b
Fix heading levels in Reference Manual
2018-09-21 16:32:06 +02:00
Sam Brannen
917bb53718
Fix formatting in Data Access chapter
2018-09-21 15:40:34 +02:00
Sam Brannen
f7263abbf0
Fix broken links in Testing chapter
2018-09-21 15:29:49 +02:00
Spring Buildmaster
2a6da6a623
Next Development Version
2018-09-21 07:27:05 +00:00
Rossen Stoyanchev
92b3f2aee7
Document timeout configuration for Reactor HttpClient
...
Issue: SPR-17241
2018-09-20 10:38:28 -04:00
Juergen Hoeller
80e52de231
Upgrade to HtmlUnit 2.33 and Apache Johnzon 1.1.10
2018-09-20 11:55:50 +02:00
Juergen Hoeller
75627617c9
Ordered streams consistently operate on resolved bean instances
...
Issue: SPR-17272
2018-09-20 11:31:42 +02:00
Juergen Hoeller
3f5a7bbf04
Remove snapshot repository from build setup
2018-09-20 11:29:59 +02:00
Stephane Nicoll
093a863906
Upgrade to Gradle 4.10.2
2018-09-20 11:11:50 +02:00
Stephane Nicoll
90c29b3af3
Upgrade to Reactor Californium RELEASE
2018-09-20 10:49:07 +02:00
Sebastien Deleuze
f7839675f6
Don't set role in Kotlin bean DSL unless specified
...
Issue: SPR-17275
2018-09-20 00:21:38 +02:00
Sebastien Deleuze
47d6e91227
Leverage non-default ctor support in Kotlin bean DSL
...
Since non-default constructors are now evaluated for autowiring,
there is no need anymore for setting autowiring mode or exposing
it in Kotlin bean DSL.
Issue: SPR-17292
2018-09-20 00:21:38 +02:00
Juergen Hoeller
b6b880ce27
Polishing
2018-09-19 23:05:40 +02:00
Rossen Stoyanchev
7481d73456
WebFlux HandshakeInfo exposes the remoteAddress
...
Issue: SPR-17192
2018-09-19 16:53:57 -04:00
Rossen Stoyanchev
288a9ecd18
Exposes maxFramePayloadLength for Reactor Netty
...
Issue: SPR-16228
2018-09-19 16:28:57 -04:00
Juergen Hoeller
a278e878e8
Upgrade to Jackson 2.9.7
2018-09-19 22:20:14 +02:00
Juergen Hoeller
082c524cbe
Polishing
2018-09-19 22:19:49 +02:00
Juergen Hoeller
d3c08552e9
Revisit GenericApplicationContext.registerBean constructor handling
...
Support for Kotlin primary constructor and non-default public constructors in addition to default instantiation, aligned with AnnotationConfigApplicationContext and model attribute processing.
Issue: SPR-17292
2018-09-19 22:19:43 +02:00
Juergen Hoeller
50c9542796
Prefer explicit "org.quartz.scheduler.instanceName" over bean name
...
Issue: SPR-16884
2018-09-19 22:19:28 +02:00
Rossen Stoyanchev
a6f9c4c599
LogFormatUtils is declared abstract
2018-09-19 11:54:05 -04:00
Sam Brannen
af58263744
Fix formatting in Testing chapter
2018-09-19 16:37:50 +02:00
Arjen Poutsma
8a4835368d
Use doOnDiscard to free internally queued data buffers
...
Issue: SPR-17246
2018-09-19 13:24:45 +02:00
Juergen Hoeller
1756f83701
Defensively expect concurrent registration of BeanPostProcessors
...
Declaring beanPostProcessors (and also embeddedValueResolvers) as CopyOnWriteArrayList prevents ConcurrentModificationExceptions in case of concurrent registration/access attempts.
Issue: SPR-17286
2018-09-18 21:25:36 +02:00
Brian Clozel
d94e9225f4
Switch to Reactor Californium SNAPSHOTs
2018-09-18 18:50:37 +02:00
Juergen Hoeller
65ca7f4909
Polishing
2018-09-18 17:19:37 +02:00
anton0xf
0204b082b1
Fix jdbc template error messages generation
2018-09-18 17:17:47 +02:00
Sam Brannen
5b25aaacb6
Apply consistent formatting in Testing chapter
...
This commit also fixes a few typos and broken links.
2018-09-18 16:42:09 +02:00
Sam Brannen
6431b25045
Revise Testing chapter for technical correctness
...
This commit also fixes some broken links and typos.
2018-09-18 15:47:37 +02:00
Sam Brannen
745aeda581
Fix typos in testing sections of Reference Manual
2018-09-18 15:44:36 +02:00
Juergen Hoeller
c634b2fae7
ResolvableType-based resolution uses BeanNamesByType cache if possible
...
Issue: SPR-17282
2018-09-18 15:30:43 +02:00
Jay Bryant
00a3afcda8
Edit the Web chapter of the reference documentation
...
I edited for spelling, punctuation, grammar, usage,
and corporate voice. I also added links and cross-references.
2018-09-18 11:37:48 +02:00
Jay Bryant
b29a278b2a
Edit Data Access part of the reference documentation
...
I edited the Data Access chapter for spelling, punctuation,
grammar, usage, corporate voice, and clarity.
I also added links and cross-references.
2018-09-18 11:37:12 +02:00
Jay Bryant
95ff22cb7e
Edit the testing part of the reference documentation
...
I edited for spelling, punctuation, grammar, usage,
and corporate voice.
I also added cross-references and links to the Javadoc.
2018-09-18 11:36:23 +02:00
Jay Bryant
395e3d008c
Edit the core content reference documentation
...
I edited for the usual stuff: spelling, punctuation,
grammar, formatting, usage, and voice.
2018-09-18 11:35:33 +02:00
Brian Clozel
d0ada5653f
Polish
...
See: SPR-17054
2018-09-18 11:20:33 +02:00
Juergen Hoeller
0948edb39d
Nested configuration class introspection check on concrete class
...
Issue: SPR-16839
2018-09-17 19:09:55 +02:00
Juergen Hoeller
c8869d99f5
Deprecate autowire attribute on @Bean annotation
...
Issue: SPR-17281
2018-09-17 19:09:21 +02:00
Juergen Hoeller
69e8bcdf40
Checkstyle updates from ASM master
...
Issue: SPR-17267
2018-09-17 19:09:07 +02:00
Juergen Hoeller
c385a1de83
Polishing
2018-09-17 15:17:39 +02:00
Arjen Poutsma
88ab911cf1
Provide matched pattern information in WebFlux fn
...
This commit stores the first matching path pattern in the attribute
`RouterFunctions.MATCHING_PATTERN_ATTRIBUTE`.
Issue: SPR-17098
2018-09-17 14:50:05 +02:00
Juergen Hoeller
51f7a3e40f
Polishing
2018-09-17 14:26:56 +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
Sebastien Deleuze
c4aea626fe
Update Kotlin bean DSL with new BeanDefinition methods
...
Issue: SPR-17275
2018-09-17 12:01:33 +02:00
Arjen Poutsma
a680880a9b
Restore attributes for failed AND/OR request predicates
...
This commit restores the attributes when either of the predicates in
an AND/OR conjunction is false.
Issue: SPR-17210
2018-09-17 10:34:52 +02:00
Juergen Hoeller
8e83f140d4
Polishing
2018-09-15 00:17:17 +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
Juergen Hoeller
41d4cb5cbf
Ordered stream access on ObjectProvider with strong order guarantees
...
Issue: SPR-17272
2018-09-14 23:56:25 +02:00
Rossen Stoyanchev
12240c7524
Apply formatValue to a few remaining places
...
Issue: SPR-17254
2018-09-14 12:37:00 -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
Rossen Stoyanchev
cf9641686b
StompSubProtocolHandler allows version 1.0
...
Issue: SPR-17258
2018-09-13 20:59:22 -04:00
Juergen Hoeller
97cea7f36e
BeanDefinition interface exposes initMethodName and destroyMethodName
...
Also includes setters for role and description.
Issue: SPR-17275
2018-09-13 20:24:36 +02:00
Juergen Hoeller
77887ef739
BeanValidationPostProcessor validates singleton target behind proxy
...
Issue: SPR-17273
2018-09-13 20:24:27 +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
65c8fa400f
Consistent ordered list access and lazy streaming for ObjectProvider
...
Includes fallback match for collection/map dependency if qualified.
Issue: SPR-17272
Issue: SPR-17197
2018-09-13 18:23:19 +02:00
Sebastien Deleuze
068565172e
Add a BeanFactory#getBeanProvider Kotlin extension
...
Issue: SPR-17274
2018-09-13 16:53:28 +02:00
Arjen Poutsma
cde677a1f4
Fixed DefaultDataBuffer.toString()
2018-09-13 16:12:13 +02:00
Pascal Schumacher
184340ff8e
Remove duplicate blank in log message of ExecutorConfigurationSupport#initialize
...
(obvious fix)
2018-09-12 21:32:43 +02:00
Juergen Hoeller
9cb8b4bb0a
Upgrade to Gradle 4.10.1
...
Issue: SPR-17155
2018-09-12 17:30:19 +02:00
Juergen Hoeller
b6d32ef55f
Bean definition DSL generates unique bean names for bean classes
...
Issue: SPR-17242
2018-09-12 14:59:10 +02:00
Juergen Hoeller
b83bc39ecd
Restrict nested configuration class introspection to component types
...
Issue: SPR-16839
2018-09-12 14:02:45 +02:00
Juergen Hoeller
45936f0ddd
ClassReader revision from ASM master
...
Issue: SPR-17267
2018-09-12 12:26:29 +02:00
Johnny Lim
43a814b070
Remove duplicate assertions in AsyncExecutionTests
2018-09-11 17:19:32 +02:00
Sam Brannen
bffa4b88af
Upgrade to JUnit 5.3.1
...
Issue: SPR-17129
2018-09-11 15:57:30 +02:00
Juergen Hoeller
dcac30c41c
Upgrade to Tomcat 9.0.12 and SnakeYAML 1.23
2018-09-11 14:57:31 +02:00
Arjen Poutsma
f35f7db29b
Removed deprecated methods.
2018-09-11 13:36:44 +02:00
Arjen Poutsma
09af706af6
Use concatWith instead of mergeWith
2018-09-11 13:36:44 +02:00
Arjen Poutsma
1a0522b805
DataBufferUtils does not release DataBuffer on error cases
...
This commit makes sure that in DataBufferUtils.write, any received data
buffers are returned as part of the returned flux, even when an error
occurs or is received.
Issue: SPR-16782
2018-09-11 13:36:44 +02:00
Juergen Hoeller
1da4d504c4
Upgrade to ASM master (7.0 beta) and CGLIB 3.2.8
...
Issue: SPR-17267
2018-09-11 13:10:45 +02:00
Juergen Hoeller
e47355078c
Correct linkplain javadoc in BufferingClientHttpRequestFactory
...
Issue: SPR-17261
2018-09-10 12:36:40 +02:00
Juergen Hoeller
28208310dc
Unit test with assertion for merged query params
...
Issue: SPR-17256
2018-09-10 12:36:07 +02:00
Juergen Hoeller
c06b9525ac
UriComponentsBuilder copies query params through MultiValueMap.addAll
...
Issue: SPR-17256
2018-09-10 11:31:37 +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
3abebb3799
Polishing
2018-09-07 13:23:22 +02:00
Juergen Hoeller
87fac79b90
Upgrade to RxJava 2.2.2
2018-09-07 12:58:20 +02:00
Juergen Hoeller
90a4740279
Polishing
2018-09-07 12:56:53 +02:00
Juergen Hoeller
c803ad7998
ConfigurationClassParser consistently uses ClassUtils.forName
...
Issue: SPR-17253
2018-09-07 12:56:23 +02:00
Juergen Hoeller
84ec382201
XMLEventReader.getElementText() properly checks for start element
...
Issue: SPR-17233
2018-09-07 12:56:15 +02:00
Sebastien Deleuze
8d45e3e7ef
Fix Kotlin inner class nested configuration handling
...
Before this commit, Kotlin inner class nested configuration
handling thrown an IndexOutOfBoundsException due to bogus filtering
of its constructor parameter reference to an instance of the outer
class.
This commit keep constructor parameter of type INSTANCE in order to
throw a more meaningful NoSuchBeanDefinitionException.
Issue: SPR-17222
2018-09-07 11:39:30 +02:00
Brian Clozel
c8627c05ed
Upgrade to Reactor Californium RC1
2018-09-07 09:10:48 +02:00
Rossen Stoyanchev
f30d19b724
Disable Jackson's buffer recyling feature for WebFlux
...
Issue: SPR-17193
2018-09-06 16:20:03 -04:00
Rossen Stoyanchev
2163fa94a7
Fix initialization issue in ReactorResourceFactory
...
Follow-up on recent commit #d537a1c.
Issue: SPR-17243
2018-09-06 15:16:01 -04:00
Sam Brannen
f55a6051df
Document default embedded value resolver support for property
...
placeholders
Spring 4.3 introduced support for registering a default embedded value
resolver for the default environment, in case of none having been
registered through post-processors (like PropertyPlaceholderConfigurer
and PropertySourcesPlaceholderConfigurer. However, the existing
documentation – stating that a static
PropertySourcesPlaceholderConfigurer bean is required in order for
values coming from @PropertySource declarations to be honored – was not
updated to reflect the change.
This commit addresses this by updating the JavaDoc for @Configuration
and @PropertySource accordingly
Issue: SPR-17212
2018-09-06 18:36:49 +02:00
Sam Brannen
c450f8dd82
Revert "PoC: migrate from JUnit 4 to JUnit Jupiter Assertions"
...
This reverts commit fd352b84b3 , and the
PoC will be moved to a feature branch.
2018-09-06 15:58:58 +02:00
Sam Brannen
fd352b84b3
PoC: migrate from JUnit 4 to JUnit Jupiter Assertions
2018-09-06 14:36:19 +02:00
Rossen Stoyanchev
8658a357c8
Upgrade to Californium snapshots
2018-09-05 21:49:33 -04:00
Rossen Stoyanchev
d537a1cfb4
Refine ReactorResourceFactory
...
1. Rename globalResources to useGlobalResources.
2. Use of global resources is mutually exlusive with explicit config.
3. Allow Consumer<HttpResources> to configure global resources.
4. Allow ConnectionProvider + LoopResources Supplier to customize
creation and initialization.
5. Do not manage externally provided ConnectionProvider + LoopResources
instances.
Issue: SPR-17243
2018-09-05 21:17:04 -04:00
Rossen Stoyanchev
3302798e2f
Use random id for WebSocket sessions
...
Issue: SPR-17228
2018-09-05 19:48:28 -04:00
Toshiaki Maki
d570f82456
Use long for expires and lastModified in HeaderAssertions
...
This commit changes the type of parameters so that HeaderAssertions
can assert expires and lastModified properly.
Issue: SPR-17194
2018-09-05 17:16:14 -04:00
Andy Clement
f87a37fd0d
Fix SpEL compilation for non trivial elvis operand
...
Issue: SPR-17214
2018-09-05 09:41:13 -07:00
Sebastien Deleuze
48c660fa41
Add support for empty router in RouterFunctionDsl
...
Issue: SPR-17247
2018-09-05 16:53:59 +02:00
Sebastien Deleuze
f8a0e3d084
Support RenderingResponse in RouterFunctionDsl
...
Issue: SPR-17244
2018-09-05 16:46:12 +02:00
Arjen Poutsma
259b2ca5f4
Added tests for errors in the source stream
...
This commit adds decoder/message-reader tests for errors in
the source data buffer publisher. Because the tests extend
AbstractDataBufferAllocatingTestCase, they also check whether
the buffers that precede the error in the stream are properly
released.
Issue: SPR-17025
2018-09-05 11:08:07 +02:00
Arjen Poutsma
196c0adf47
Fixed DataBufferUtils.join leak for error in source
...
This commit fixes an issue where DataBufferUtils.join() would not
release databuffers that preceded an error signal.
Issue: SPR-17025
2018-09-05 11:07:57 +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
Brian Clozel
7041e5e8e3
Upgrade to Jetty 9.4.12.v20180830
2018-09-04 22:13:37 +02:00
Brian Clozel
1bdbc7bdef
Optimize for Flux to/from Mono conversions
...
This commit optimizes Flux <-> Mono conversions in our codebase by
avoiding to hide that conversion from Reactor.
This tries to keep conversions sequentially so that they can be detected
by Reactor and optimized. In Spring WebFlux, this means keeping the
conversions at the edges of a method implementation (right when getting
an input parameter, and before returning it as a result). If those
conversions are made between other operators, Reactor might not be able
to detect those conversions and optimize them.
Issue: SPR-17203
2018-09-04 16:42:46 +02:00
Sam Brannen
bff2d2cc85
Polishing
2018-09-04 14:47:37 +02:00
Korovin Anatoliy
ab086f4225
Fix fragile tests for asynchronous events
...
This commit introduces a dependency on the Awaitility assertion
framework and makes use of asynchronous assertions in order to make
tests for asynchronous events more robust.
Issue: SPR-17211
2018-09-04 14:20:05 +02:00
Sam Brannen
326895246d
Polishing
2018-09-04 13:55:22 +02:00
Stephane Nicoll
2c1dca5b5e
Polish capitalisation of units on DataSize and javadoc of DataUnit
...
Issue: SPR-17240
2018-09-04 13:46:41 +02:00
Sam Brannen
454cd933d4
Upgrade to JUnit Jupiter 5.3
...
Issue: SPR-17129
2018-09-03 22:17:02 +02:00
Stephane Nicoll
dcdf9c09f5
Merge pull request #894 from keik:typo
...
* pr/894:
Fix typos
2018-09-03 10:24:35 +02:00
Kei KATO
c2585073ba
Fix typos
...
Closes gh-894
2018-09-03 10:05:14 +02:00
Juergen Hoeller
95a56cd28d
Polishing
2018-08-31 12:41:40 +02:00
Juergen Hoeller
51cee658d5
SpelExpression consistently exposes EvaluationContext to compiled AST
...
Operator includes explicit support for Boolean comparisons now.
Issue: SPR-17229
2018-08-31 12:41:22 +02:00
Juergen Hoeller
8c6f3505c4
Transactional timeout documented as seconds in annotation javadoc
...
Issue: SPR-17226
2018-08-31 12:40:43 +02:00
Juergen Hoeller
78cad0fdd3
HibernateTransactionManager lazily acquires JDBC Connection
...
Aligned with HibernateJpaDialect, using ConnectionHandle as functional interface now. Also, LazyConnectionDataSourceProxy supports Connection holdability as applied by HibernateTransactionManager, for use with prepareConnection=true.
Issue: SPR-17216
2018-08-31 12:40:04 +02:00
Sam Brannen
a689daadf9
Complete upgrade to Gradle 4.10
...
Issue: SPR-17155
2018-08-28 13:53:01 +02:00
Sebastien Deleuze
fb3c1881ca
Upgrade to Gradle 4.10
...
Issue: SPR-17155
2018-08-28 11:32:40 +02:00
Brian Clozel
280da61d5c
Fix empty body writing in EncoderHttpMessageWriter
...
Prior to this commit, an bug introduced in SPR-16949 prevented
`Mono.empty` bodies from being written to the response.
This commit ensures that empty bodies still trigger the writing to the
response and does not hang the processing of the exchange.
Issue: SPR-17220
2018-08-27 21:17:10 +02:00
JungHoon, Lee
1dac0df38b
Prevent instantiation of NamedParameterBatchUpdateUtils
...
In order to prevent instantiation of utility classes, this commit
makes NamedParameterBatchUpdateUtils `abstract`.
Issue: SPR-17215
2018-08-27 15:35:00 +02:00
stsypanov
7dba79c7c1
Use String::isEmpty instead of "".equals(arg) when arg is not null
2018-08-26 22:48:21 +02:00
Sam Brannen
4883b8aa03
Polish JavaDoc for @Configuration
2018-08-26 22:07:07 +02:00
Sam Brannen
08ba53dd0e
Ensure SocketUtils can be instantiated
...
Issue: SPR-17215
2018-08-26 21:49:21 +02:00
Sam Brannen
52c91910b2
Polish JavaDoc for @Configuration
2018-08-26 15:03:05 +02:00
Juergen Hoeller
4b86d42890
Upgrade to Netty 4.1.29
2018-08-24 13:45:40 +02:00
Juergen Hoeller
03f1920106
Support Jackson filters in combination with serialization view
...
Issue: SPR-17209
2018-08-24 12:06:52 +02:00
Juergen Hoeller
7056808716
Upgrade to Kotlin 1.2.61, RxJava 2.2.1, Tomcat 9.0.11
2018-08-24 11:21:50 +02:00
Juergen Hoeller
9614817e88
Do not proxy test instances based on "original instance" convention
...
Issue: SPR-17137
2018-08-24 00:49:01 +02:00
Sam Brannen
f6ee2508ef
Clean up warning in AnnotatedElementUtils
2018-08-23 18:24:18 +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
Brian Clozel
482115f3ce
Revert "Make DispacherServlet attributes protected"
...
This reverts commit 253ffd719d .
2018-08-23 16:52:16 +02:00
Sam Brannen
35c847a708
Polish JavaDoc for JCache support
...
Issue: SPR-17208
2018-08-23 16:45:10 +02:00
Brian Clozel
253ffd719d
Make DispacherServlet attributes protected
...
Since the `initStrategies` method is there to be extended, the related
attributes should be `protected` as well.
2018-08-23 15:09:12 +02:00
Jay Bryant
62cb8ba6ba
Editing pass for the Spring Framework Reference Guide
...
I edited for spelling, punctuation, grammar, usage, and corporate voice. I also added cross-references and links to the Javadoc in a number of places.
2018-08-23 10:56:54 +02:00
Stephane Nicoll
7fdd1372ae
Merge pull request #1938 from izeye:polish-20180823
...
* pr/1938:
Polish
2018-08-23 09:48:09 +02:00
Johnny Lim
4db5d28894
Polish
...
Closes gh-1938
2018-08-23 09:47:30 +02:00
Juergen Hoeller
f13f041fae
Consistent trace logging for init and destroy methods
...
Issue: SPR-17090
2018-08-22 14:13:12 +02:00
Juergen Hoeller
6ef0938a92
Defensive URL cleaning (preserving the original URL if possible)
...
Issue: SPR-17198
2018-08-22 14:12:39 +02:00
横云断岭
c55a9072aa
Fix typo in CONTRIBUTING.md
2018-08-22 13:04:07 +02:00
Brian Clozel
709b185177
Clear global resources reference from HttpResources
...
When used as global Netty resources, ReactorResourceFactory creates and
sets those resources on Reactor's HttpResources directly.
When that ReactorResourceFactory bean is destroyed, those resources are
disposed but HttpResources still holds a reference to those and may try
to use them again.
This commit uses HttpResources to clear those resources and its
references to it, when the ReactorResourceFactory is treating those as
global.
Issue: SPR-17199
2018-08-21 16:16:28 +02:00
Stephane Nicoll
89e2caa4f3
Merge pull request #1934 from kylec32:websocket-documentation-remove-deprecated
...
* pr/1934:
Fix usage of deprecated functionality in docs
2018-08-20 09:43:57 +02:00
Kyle Carter
8848e6ab9f
Fix usage of deprecated functionality in docs
...
Closes gh-1934
2018-08-20 09:43:11 +02:00
Sam Brannen
a8fbac8472
Polish JavaDoc
...
Issue: SPR-17174
2018-08-18 18:15:05 +02:00
Juergen Hoeller
1d59e52f11
EventListenerMethodProcessor accepts internal configuration classes
...
Issue: SPR-17160
2018-08-18 12:05:39 +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
Juergen Hoeller
2ac23badee
SimpleAliasRegistry.hasAlias properly resolves multiple chained aliases
...
Issue: SPR-17191
2018-08-17 09:54:14 +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
Sebastien Deleuze
0dd9e8ce02
Polish JettyResourceFactory
...
Issue: SPR-17179
2018-08-16 21:47:02 +02:00
Juergen Hoeller
6bcb454a0d
Polishing
2018-08-16 19:31:10 +02:00
Juergen Hoeller
84300b796c
Fix recent javadoc errors
...
Issue: SPR-17174
2018-08-16 18:51:31 +02:00
Sebastien Deleuze
1eb06fcd90
Introduce JettyResourceFactory
...
JettyResourceFactory, similar to ReactorResourceFactory, allows
to share resources (Executor, ByteBufferPool, Scheduler) between
Jetty clients and servers.
Issue: SPR-17179
2018-08-16 18:17:07 +02:00
Juergen Hoeller
50b6f9da1d
Reference documentation covers async Hibernate/JPA bootstrap options
...
Issue: SPR-17189
2018-08-16 17:30:44 +02:00
Rossen Stoyanchev
31c7807ac9
Fix doc issue with Reactor HttpClient config
2018-08-16 18:21: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
dc55da0988
Polishing
2018-08-16 13:02:27 +02:00
Juergen Hoeller
5d7fb1a1c2
Polishing
2018-08-16 12:08:26 +02:00
Juergen Hoeller
2ec8fa9cac
SmartLifecycle default methods for auto-startup in default phase
...
Issue: SPR-17188
2018-08-16 12:08:02 +02:00
Stephane Nicoll
446a604ad0
Upgrade to Reactor Californium-M2
2018-08-16 09:30:20 +02:00
Brian Clozel
cd403f4180
Polish
2018-08-15 20:56:27 +02:00
Brian Clozel
23fc6f6b1d
Drain JDK HTTP client response body in all cases
...
Prior to this commit, when using the `SimpleClientHttpRequestFactory`
as a driver for `RestTemplate`, the HTTP response body would only be
drained if there was an attempt to read it in the first place.
This commit ensures that, even if there's no attempt at reading the
response body, it is properly drained when the response is closed to
make sure that the connection is released in a proper state and can be
put back in the connection pool for reuse.
Issue: SPR-17181
2018-08-15 20:52:40 +02:00
Brian Clozel
432cdd7802
Add ResponseEntity.of(Optional) variant
...
When dealing with `Optional` values in a Controller handler (for
example, values coming from a Spring Data repository), developers might
reuse this code snippet quite often:
```
@GetMapping("/user")
public ResponseEntity<Optional<User>> fetchUser() {
Optional<User> user = //...
return user.map(ResponseEntity::ok).orElse(notFound().build());
}
```
This commit adds a new static method on `ResponseEntity` for that,
simplifying the previous snippet with `return ResponseEntity.of(user);`
Note that in case more specific HTTP response headers are required by
the application, developers should use other static methods to
explicitly tell which headers should be used in each case.
Issue: SPR-17187
2018-08-15 20:24:14 +02:00
Sam Brannen
d3be1cc6cb
Use single quotes in Gradle build where appropriate
2018-08-15 17:57:56 +02:00
Sam Brannen
69e4f21f90
Use JUnit 5 Maven BOM in Gradle build
...
Issue: SPR-17129
2018-08-15 17:43:23 +02:00
Juergen Hoeller
109a2b49e5
Consistently skip unnecessary search on superclasses and empty elements
...
Includes caching of declared annotation arrays and combined searching for several annotation types (used in SpringCacheAnnotationParser).
Issue: SPR-16933
2018-08-15 17:30:14 +02:00
Sam Brannen
50dc8c2358
Update JavaDoc for @BootstrapWith regarding local override
...
Issue: SPR-17006
2018-08-15 17:17:24 +02:00
Sam Brannen
d20d95b7ac
Allow directly present @BootstrapWith to override meta annotations
...
Prior to this commit, if a test class was meta-annotated with multiple
@BootstrapWith declarations that registered different
TestContextBootstrapper implementations, such a configuration would
result in an IllegalStateException, and there was no way to override
this behavior.
This commit addresses this shortcoming by relaxing the explicit
TestContextBootstrapper resolution in BootstrapUtils so that a directly
present @BootstrapWith annotation will now override declarations of
@BootstrapWith that are meta-present. In other words, if @BootstrapWith
is used as a meta-annotation, it can be overridden directly on the test
class via an explicit, local declaration of @BootstrapWith.
Issue: SPR-17006
2018-08-15 16:17:05 +02:00
Sam Brannen
4d7b265258
Fix merge conflict in reference manual
2018-08-15 15:37:49 +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
Sam Brannen
1b54d2119d
Polishing
2018-08-15 12:27:45 +02:00
Sam Brannen
a87b319a6f
Polishing
2018-08-15 12:16:47 +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
Rossen Stoyanchev
3e4d305291
Polish ReactorResourceFactory
2018-08-14 17:34:17 +03:00
Rossen Stoyanchev
7a0c03e05e
Update section in reference on WebClient
...
Rename "Builder" sub-section to "Configuration" and move it in the
beginning before all others since it explains how to create a client
in the first place.
Update content on Reactor Netty connector based on the API in 0.8 and
specifically address Reactor Netty resources and lifecycle.
Issue: SPR-16963
2018-08-14 15:48:46 +03:00
Rossen Stoyanchev
2f732a8dea
Fix checkstyle errors
2018-08-14 13:01:09 +03:00
Rossen Stoyanchev
1bc08c61e1
Add ReactorResourceFactory
...
Issue: SPR-16963
2018-08-14 12:29:31 +03:00
Sam Brannen
bdac39150f
Polish contribution
...
Issue: SPR-17120
2018-08-13 14:40:04 +02:00
Chris Harding
24ed6de6aa
Add backslash escape support to containsSqlScriptDelimiters
...
Prior to this commit, ScriptUtils supported MySQL-style escapes ('\\')
when splitting a script into statements; however, MySQL-style escapes
were not supported when determining if a given script contained a
specified statement delimiter. This caused executeSqlScript() to
erroneously fallback to a newline as the statement separator in such
cases.
This commit fixes this issue by implementing the same check for
MySQL-style escapes in containsSqlScriptDelimiters() that was already
present in splitSqlScript().
Issue: SPR-17120
2018-08-13 14:40:04 +02:00
Juergen Hoeller
ac544924c8
Polishing
2018-08-13 14:36:37 +02:00
Juergen Hoeller
04a7f0884b
SpringCacheAnnotationParser.parseCacheAnnotations cannot be protected
...
Its parameter DefaultCacheConfig is just package-visible...
2018-08-13 12:43:59 +02:00
Juergen Hoeller
999c7809a7
Refined warn/info logging in AutowiredAnnotationBeanPostProcessor
...
Issue: SPR-16946
2018-08-13 12:43:52 +02:00
Juergen Hoeller
347852e86a
Avoid argument resolution overhead for no-arg factory methods
...
Includes revised InstantiationStrategy nullability for args array.
Issue: SPR-17171
2018-08-13 12:43:41 +02:00
Sam Brannen
777bd0d022
Fix Checkstyle violation in JCacheCache
2018-08-13 12:40:34 +02:00
Sam Brannen
aebbd949a8
Suppress deprecation warnings in AnnotationProcessorPerformanceTests
2018-08-13 12:35:19 +02:00
Sam Brannen
8126ffbc8c
Fix broken links in JavaDoc
...
Issue: SPR-17174
2018-08-13 12:22:52 +02:00
Sam Brannen
13c090b41d
Generate “Use” links in aggregated Spring API JavaDoc
...
This commit enables the `-use` javadoc flag so that class usage pages
are included in the aggregated JavaDoc that is published to
https://docs.spring.io/spring-framework/docs/ .
Issue: SPR-17173
2018-08-13 11:56:18 +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
Rossen Stoyanchev
99f0129711
Fix URI var encoding issue with '$'
...
When expanding and strictly encoding URI variables, there is no need to
quote `/` and `$` which will be encoded anyway.
Issue: SPR-17168
2018-08-13 11:56:34 +03:00
Rossen Stoyanchev
430065c31d
Order property for SimpUserRegistry
...
Issue:SPR-17142
2018-08-13 11:56:34 +03:00
Marten Deinum
5322fa0fb7
Use an import instead of FQCN
...
javax.xml.stream.Location is already there as an import there is no need
to use the FQCN in the handleDtd method.
2018-08-13 10:38:23 +02:00
Marten Deinum
20d0221d4f
Use an import instead of FQCN
...
No that JCacheCache extends AbstractValueAdaptingCache instead of
directly implementing Cache an import statement can be used in favor
of using the FQCN for the field and constructor arguments.
2018-08-13 10:23:00 +02:00
Juergen Hoeller
df51ff0386
Revert to Map entry iteration for less expensive static initialization
...
Issue: SPR-17169
2018-08-12 20:52:55 +02:00
Sam Brannen
cfb1ed1009
Clean up warnings and delete dead code
2018-08-12 15:55:11 +02:00
Juergen Hoeller
c4a7567a5e
Post-processors consistently ignore ScopedObject/AopInfrastructureBean
...
JmsListenerAnnotationBeanPostProcessor also ignores JmsListenerContainerFactory and JmsListenerEndpointRegistry, avoiding unnecessary annotation introspection on framework classes.
Issue: SPR-17166
Issue: SPR-16933
2018-08-12 11:47:28 +02:00
Stephane Nicoll
8d08935c49
Disable quotes substitution in code sample
...
Issue: SPR-17167
2018-08-12 11:12:53 +02:00
Stephane Nicoll
30b8d47814
Polish
2018-08-12 10:49:29 +02:00
Juergen Hoeller
71d4dbea13
Post-processors ignore AopInfrastructureBean (includes ScopedObject)
...
Issue: SPR-17166
2018-08-11 23:10:57 +02:00
Juergen Hoeller
8bf8092740
Post-processors consistently ignore ScopedObject/AopInfrastructureBean
...
ScheduledAnnotationBeanPostProcessor also ignores TaskScheduler and ScheduledExecutorService, avoiding unnecessary annotation introspection on framework classes.
Issue: SPR-17166
Issue: SPR-16933
2018-08-11 22:20:07 +02:00
Juergen Hoeller
fc16b2d3fb
AbstractHandlerMethodMapping allows for customized bean retrieval
...
Issue: SPR-15535
2018-08-11 01:20:17 +02:00
Juergen Hoeller
2b2a5a414b
Polishing
2018-08-10 19:23:44 +02:00
Stephane Nicoll
f931a3fb59
Improve DataSize to support negative values
...
Issue: SPR-17154
2018-08-10 18:21:09 +02:00
Rossen Stoyanchev
aef39e8954
Remove test class added by mistake
2018-08-10 16:57:46 +03:00
Juergen Hoeller
aebb2d52e0
Logging refinements for transaction and cache processing (debug/trace)
...
Issue: SPR-16946
2018-08-10 15:45:46 +02:00
Juergen Hoeller
def6fbba89
ListableBeanFactory.getBeansWithAnnotation does not include null beans
...
Issue: SPR-17034
2018-08-10 15:45:37 +02:00
Juergen Hoeller
c437a0d1c3
Declare default methods for supportsSourceType and getOrder
...
Issue: SPR-17163
2018-08-10 15:42:30 +02:00
Rossen Stoyanchev
309ffc6d0d
OverflowStrategy in ConcurrentWebSocketSessionDecorator
...
Issue: SPR-17140
2018-08-10 16:15:21 +03:00
Rossen Stoyanchev
61c52d64c5
Polish ConcurrentWebSocketSessionDecoratorTests
2018-08-10 16:15:21 +03:00
Stephane Nicoll
282a4ad2f6
Fix checkstyle violations
2018-08-10 14:43:16 +02:00
Stephane Nicoll
8a1588ae29
Add support for DataSize
...
This commit provides a data type to represents a size in bytes and other
standard unit.
Issue: SPR-17154
2018-08-10 14:28:46 +02:00
Stephane Nicoll
85ad2a566d
Merge pull request #1918 from vpavic:polish-build
...
* pr/1918:
Polish build script
2018-08-10 08:48:21 +02:00
Vedran Pavic
4d86779648
Polish build script
...
Closes gh-1918
2018-08-10 08:48:02 +02:00
Juergen Hoeller
20f2e23bfb
Polishing
2018-08-09 23:57:25 +02:00
Sam Brannen
8ea913392c
Link to Eclipse bug for annotations on bridge methods
2018-08-09 18:49:24 +02:00
Juergen Hoeller
b3ca2d50a2
DefaultLifecycleProcessor properly counts dependent beans in same phase
...
Includes log level revision towards TRACE for cleaner DEBUG experience.
Issue: SPR-16901
Issue: SPR-16946
2018-08-09 17:31:29 +02:00
Juergen Hoeller
3a5def047f
@Scheduled supports "-" as cron expression value for disabled triggers
...
Issue: SPR-16858
2018-08-09 16:12:05 +02:00
Juergen Hoeller
eddbf13d5d
BeanFactoryUtils caches transformedBeanName results for factory beans
...
Issue: SPR-17151
2018-08-09 16:06:05 +02:00
Sebastien Deleuze
6b6384a09e
Improve WebFlux Protobuf support
...
- Update javadoc for decoding default instances
- Refactor and simplify tests
- Add missing tests
- Refactor decoding with flatMapIterable instead of
concatMap and avoid recursive call
Issue: SPR-15776
2018-08-09 15:47:45 +02:00
Juergen Hoeller
8e571decc1
Polishing
2018-08-09 11:59:15 +02:00
Juergen Hoeller
8f513f8561
AnnotationMatchingPointcut uses AnnotatedElementUtils.hasAnnotation
...
For consistency with AnnotationAsyncExecutionInterceptor (based on AnnotatedElementUtils.findMergedAnnotation) which is the main companion of AnnotationMatchingPointcut's checkInherited mode.
Issue: SPR-16933
2018-08-09 11:58:57 +02:00
Rossen Stoyanchev
57ded51de0
Fix link from Spring MVC to OXM chapter
2018-08-09 10:28:08 +03:00
Juergen Hoeller
915afa77f4
Polishing
2018-08-09 03:07:05 +02:00
Juergen Hoeller
58e9706991
Polishing
2018-08-09 02:26:36 +02:00
Juergen Hoeller
65f29a39ca
AbstractAspectJAdvisorFactory uses AnnotationUtils.getValue
2018-08-09 02:26:28 +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
3f7d4b107e
Avoid unnecessary annotation introspection on framework classes
...
Issue: SPR-16933
2018-08-08 23:53:45 +02:00
Juergen Hoeller
4521a79b2d
Find annotations on implemented generic superclass methods as well
...
Includes Java 8 getDeclaredAnnotation shortcut for lookup on Class.
Issue: SPR-17146
2018-08-08 23:52:47 +02:00
Juergen Hoeller
fa72186e28
Expose checkbox field marker as 'hidden' to RequestDataValueProcessor
...
Issue: SPR-17147
2018-08-08 23:52:24 +02:00
Juergen Hoeller
b8b6367f9b
ConcurrentModel ignores null value for put (also used by putAll)
...
Issue: SPR-17141
2018-08-08 23:51:55 +02:00
Sam Brannen
7077af14f1
Use Float.valueOf(float) instead of deprecated Float(double) constructor
2018-08-08 17:19:15 +02:00
Sebastien Deleuze
1c628293a2
Add doc & tests to Jaxb2XmlEncoder for collections
...
Issue: SPR-16363
2018-08-08 17:16:23 +02:00
Sergey Chupov
a06e63f619
Polishing javadocs: IllegalStateException no longer thrown
...
The dependency to Apache Commons has been removed in https://github.com/spring-projects/spring-framework/commit/51252ebbcaa9e65aee83311aec25ca3c7c6d7d37#diff-95dc9d8756aa91afb2ac28454f1b634c , but the javadoc still mentions it.
2018-08-08 15:51:05 +02:00
Rossen Stoyanchev
eacf1d35ee
Proper use of setComplete in ContextPathCompositeHandler
...
Issue: SPR-17144
2018-08-08 16:35:47 +03:00
Rossen Stoyanchev
a0dfdfcac3
Hierarchy under WebClientResponseException
...
Issue: SPR-17145
2018-08-08 15:34:08 +03:00
Rossen Stoyanchev
c90ab5fb0a
Polish Http[Client|Server]ErrorException hierarchy
2018-08-08 15:34:08 +03:00
Sam Brannen
52f6dcf525
Fix typo
2018-08-08 13:25:14 +02:00
Sam Brannen
7b608ab995
Ensure AnnotationUtilsTests pass in Eclipse again
2018-08-08 13:23:51 +02:00
Kazuhiro Sera
be211ceead
Fix typos detected by github.com/client9/misspell
2018-08-08 12:50:46 +02:00
Sebastien Deleuze
896eb5687a
Check scheme in (WebUtils|CorsUtils)#isSameOrigin
...
Issue: SPR-16362
2018-08-08 12:19:42 +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
b325c74216
Pruning of outdated JDK 6/7 references (plus related polishing)
2018-08-07 20:36:47 +02:00
Juergen Hoeller
2b051b8b32
Deprecate support classes for Sun's JDK HTTP server
...
Issue: SPR-17143
2018-08-07 20:35:53 +02:00
Juergen Hoeller
34ddb88851
ConcurrentModel.addAttribute(String, Object) ignores null value
...
Issue: SPR-17141
2018-08-07 20:35:34 +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
2d05f2ed47
SerializableTypeWrapper detects Graal through system property as well
...
Issue: SPR-17136
2018-08-07 11:15:43 +02:00
Rossen Stoyanchev
4a18488f30
Update deprecated basic auth client filters.
...
1. Update ExchangeFilterFunctions to delegate internally to
HttpHeaders.setBasicAuth(user, password).
2. Remove deprecation from
ExchangeFilterFunctions.basicAuthentication(String user, String password)
It is still useful as a filter to insert the header.
3. Update deprecation notes.
Issue: SPR-17099
2018-08-07 10:10:27 +03:00
Juergen Hoeller
6b82a6c38c
Polishing
2018-08-07 02:47:00 +02:00
Juergen Hoeller
2938a95435
Pre-size LinkedHashSet for annotation parsers
...
Issue: SPR-17074
2018-08-07 01:35:57 +02:00
Juergen Hoeller
d72d376f03
Avoid unnecessary annotation introspection on framework methods
...
Issue: SPR-16933
2018-08-07 01:35:32 +02:00
Juergen Hoeller
f155d21c95
DisposableBean javadoc refers to singletons as well as scoped beans
...
Issue: SPR-17131
2018-08-06 19:46:41 +02:00
Juergen Hoeller
28565e25fa
Javadoc references for resetBeanDefinition
...
Issue: SPR-17126
2018-08-06 19:45:06 +02:00
Juergen Hoeller
943b394992
Polishing
2018-08-06 18:34:00 +02:00
Juergen Hoeller
8a9d042320
Javadoc fix from ASM master (6.2.1)
...
Issue: SPR-16398
2018-08-06 18:33:41 +02:00
Juergen Hoeller
e64c6dfa3d
MergedBeanDefinitionPostProcessors clear internal caches on bean reset
...
Issue: SPR-17126
2018-08-06 15:41:35 +02:00
Juergen Hoeller
69c6a40c50
Consistent nullability for array/collection input parameters
...
Includes pre-sizing of LinkedHashSet for conversion from array.
Issue: SPR-17123
Issue: SPR-17074
2018-08-06 14:11:59 +02:00
Rossen Stoyanchev
a9a38fe67e
Consistent initialiazation of Forwarded header set
2018-08-06 14:32:18 +03:00
Rossen Stoyanchev
2216964b54
Polish RestTemplate exception hierarchy
...
Issue: SPR-15404
2018-08-06 14:29:10 +03:00
jerzykrlk
7f0e3481a5
Fine-grained RestTemplate exception hierarchy
...
Issue: SPR-15404
2018-08-06 14:29:10 +03:00
Sebastien Deleuze
2054fa2191
Upgrade to Jetty reactive HTTP client 1.0.1
...
Issue: SPR-17124
2018-08-06 12:01:29 +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
Rossen Stoyanchev
c55c9eb029
Polish
2018-08-03 17:41:38 +03:00
Vedran Pavic
bb2db87c2f
Add support for adding cookies as headers in MockHttpServletResponse
...
Issue: SPR-17110
2018-08-03 16:44:14 +03:00
Rossen Stoyanchev
a8a1fc6de5
Earlier processing of forwarded headers
...
Forwarded headers are now processed before ServerWebExchange is created
through ForwardedHeaderTransformer which has the same logic as the
ForwardedHeaderFilter but works on the request only.
ForwardedHeaderFilter is deprecated as of 5.1 but if registered it is
removed from the list of filters and ForwardedHeaderTransformer is used
instead.
Issue: SPR-17072
2018-08-03 15:16:09 +03:00
Jason Zhekov
0878e438e5
Delete MockServer when using RestTemplate with MockMvc
2018-08-03 10:07:04 +03:00
Rossen Stoyanchev
aec98268fe
maxResponseBody client filter
...
Issue: SPR-16989
2018-08-02 21:19:22 +03:00
Rossen Stoyanchev
5095ec40b5
takeUntilByteCount actually uses takeUntil
...
Issue: SPR-17188
2018-08-02 21:19:22 +03:00
Rossen Stoyanchev
542ed81d5c
Polish
2018-08-02 21:19:22 +03:00
Juergen Hoeller
217aa38cbb
Polishing
2018-08-02 18:00:42 +02:00
Juergen Hoeller
2474c48749
Polishing
2018-08-02 16:55:53 +02:00
Juergen Hoeller
dc36bb34c7
Polishing
2018-08-02 14:41:27 +02:00
Juergen Hoeller
6735e2387c
Deprecate CommonJ scheduling in favor of JSR-236 Concurrency Utilities
...
Issue: SPR-17117
2018-08-02 14:38:30 +02:00
Juergen Hoeller
50550717d6
SchedulingTaskExecutor provides prefersShortLivedTasks default method
...
Issue: SPR-17116
2018-08-02 14:36:53 +02:00
Juergen Hoeller
c46dacc209
Support for deferred access to StoredProcedureQuery output parameters
...
Issue: SPR-17115
2018-08-02 14:30:55 +02:00
Juergen Hoeller
fa97aab8be
SchedulerAccessor catches cluster race conditions on job rescheduling
...
Issue: SPR-17114
2018-08-02 14:30:02 +02:00
stsypanov
b5c691bdac
SPR-17074 Replace pointless wrapping with Arrays.asList with iteration over array
2018-08-02 12:07:00 +02:00
Rossen Stoyanchev
29ce6685ca
Add handleFailure property to FrameworkServlet
...
Issue: SPR-17100
2018-08-02 00:49:28 +03:00
Juergen Hoeller
78eda961f2
Polishing
2018-08-01 13:11:35 +02:00
Vedran Pavic
70dbaf9751
Publish binding event for replaced attributes in MockHttpSession
...
Issue: SPR-17109
2018-08-01 13:07:41 +02:00
Juergen Hoeller
0001f87d59
Polishing
2018-08-01 12:52:50 +02:00
Juergen Hoeller
589b7048ec
Avoid synthesizable annotation creation for @Bean/@Scope processing
...
Includes consistent (non-)use of AnnotationUtils/AnnotatedElementUtils.
Issue: SPR-16933
2018-08-01 11:43:28 +02:00
Juergen Hoeller
9b671f8408
Polishing
2018-07-31 23:57:19 +02:00
Rossen Stoyanchev
65d5cb3663
Typo in URI Encoding section
...
Issue: SPR-17104
2018-07-31 23:27:00 +03:00
Rossen Stoyanchev
31024b1f93
Add sections on logging for Spring MVC and WebFlux
...
Issue: SPR-17032
2018-07-31 23:06:48 +03:00
Juergen Hoeller
92eaf99067
Polishing
2018-07-31 21:04:36 +02:00
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
2018-07-31 20:54:10 +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
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
2018-07-30 22:07:31 +02:00
stsypanov
457d586859
SPR-17074 pass argument of addAll/putAll into constructor
2018-07-30 21:27:55 +02:00
Pascal Schumacher
aa656c47b8
Fix typo in notes on future deprecation of the RestTemplate
...
Issue: SPR-16993
Obvious Fix
2018-07-27 14:13:19 -04:00
Juergen Hoeller
109552d868
Polishing
2018-07-27 18:58:18 +02:00
Juergen Hoeller
1c40e36839
Upgrade to Netty 4.1.28
2018-07-27 17:46:37 +02:00
Juergen Hoeller
1fd6248d84
Polishing
2018-07-27 17:46:21 +02:00
Juergen Hoeller
c037e75f26
Improve debug logging at BeanDefinitionReader and BeanFactory level
...
Issue: SPR-17090
2018-07-27 17:46:05 +02:00
Rossen Stoyanchev
23bda9a5a7
Fix compiler warnings
2018-07-27 08:49:45 -04:00
Rossen Stoyanchev
91d17cf628
Add notes on future deprecation of the RestTemplate
...
Issue: SPR-16993
2018-07-27 08:41:20 -04:00
Rossen Stoyanchev
fcbf06f050
Disable equals in JsonPath~ and XPathAssertions
...
Issue: SPR-17091
2018-07-27 08:40:56 -04: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
Juergen Hoeller
025fd2962e
Polishing
2018-07-26 23:51:52 +02:00
Juergen Hoeller
7c9ba80f85
Polishing
2018-07-26 23:20:50 +02:00
Juergen Hoeller
e82efbc7e3
Declare ASM7_EXPERIMENTAL for full compatibility with JDK 11 bytecode
...
Issue: SPR-17096
2018-07-26 23:11:54 +02:00
Rossen Stoyanchev
bcb485b5ed
bindToApplicatonContext uses WebSessionManager bean
...
Issue: SPR-17094
2018-07-26 15:53:41 -04:00
Rossen Stoyanchev
c022f7c19d
Polish
2018-07-26 15:53:41 -04:00
Bhavani Shekhawat
ee95f171c8
Update PropertySourcesPlaceholderConfigurer.java
...
Fix the error message when PropertySources are not applied
2018-07-26 20:48:50 +02:00
Juergen Hoeller
8277ea5794
Revise BeanFactory vs ApplicationContext section in reference docs
...
Issue: SPR-17095
2018-07-26 18:48:34 +02:00
Juergen Hoeller
e366b20037
Polishing
2018-07-26 15:46:55 +02:00
Johnny Lim
38525ceff6
Fix log level guard in DatabaseStartupValidator.afterPropertiesSet()
2018-07-26 15:45:42 +02:00
Johnny Lim
964467d269
Polish DatabaseStartupValidator.afterPropertiesSet()
2018-07-26 15:37:35 +02:00
Juergen Hoeller
e458777925
Properly identify event-related ClassCastExceptions on JDK 11
...
Issue: SPR-17093
2018-07-26 14:41:53 +02:00
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".
2018-07-26 13:48:38 +02:00
Juergen Hoeller
c2a5fcd353
Fallback to empty collection/map only if actually no target bean found
...
Issue: SPR-15338
2018-07-26 05:59:18 +02: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
4e03d3fdcb
MethodBeforeAdviceInterceptor implements BeforeAdvice marker interface
...
Includes related polishing in the advice interceptor implementations.
Issue: SPR-17088
2018-07-25 20:12:14 +02:00
Juergen Hoeller
9ab63b8494
ListBasedXMLEventReader uses defensive modifiable copy of given List
2018-07-25 19:03:13 +02: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
Juergen Hoeller
3899b7a909
Refactor DefaultCodecs.protobufWriter into protobufEncoder
...
Includes nullability declarations for the protobuf package.
Issue: SPR-15776
2018-07-25 14:15:50 +02:00
Juergen Hoeller
fd8e4abe5d
Introduce ResolvableType.toClass() shortcut
...
Issue: SPR-17086
2018-07-25 14:15:19 +02:00
Juergen Hoeller
31bfc1dc2b
Differentiate internal LogAdapter from core.log.LogDelegateFactory
...
Issue: SPR-16585
Issue: SPR-17012
2018-07-25 14:14:38 +02:00
Sebastien Deleuze
d3b244a81b
Optimize class detection by sharing the ClassLoader
...
Issue: SPR-17083
2018-07-25 11:09:42 +02:00
Rossen Stoyanchev
32faf09a80
Add check for mixing @EnableWebMvc and @EnableWebFlux
...
Issue: SPR-16609
2018-07-24 20:47:26 -04:00
Rossen Stoyanchev
0be8c20fca
Consistent logging of selected media types
2018-07-24 20:47:26 -04:00
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
2018-07-25 01:17:06 +02:00
Juergen Hoeller
4475c67ba8
Fix checkstyle violation
2018-07-24 22:44:54 +02:00
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
2018-07-24 22:21:30 +02:00
Juergen Hoeller
90d395edcf
Polishing
2018-07-24 22:18:12 +02:00
Rossen Stoyanchev
2e4f5a7923
Consistently remove forwarded headers in WebFlux
...
Preparation for SPR-17072
2018-07-24 16:05:47 -04:00
Rossen Stoyanchev
41aa4218af
Polish WebFlux ForwardedHeaderFilter and tests
...
Preparation for SPR-17072
2018-07-24 16:05:47 -04:00
Juergen Hoeller
02403f6a34
Polishing
2018-07-24 21:44:43 +02:00
Juergen Hoeller
11881ff211
Polishing
2018-07-24 18:45:52 +02:00
Juergen Hoeller
a18cfd71b9
Upgrade to Reactor Californium M1
...
Issue: SPR-16386
2018-07-24 18:45:15 +02:00
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
2018-07-24 12:23:13 -04:00
Rossen Stoyanchev
9b2c8404dc
"Order of messages" in STOMP section of reference docs
...
Issue: SPR-13989
2018-07-24 12:23:13 -04:00
Rossen Stoyanchev
23c379d5c0
Order setter for DefaultSimpUserRegistry
...
Issue: SPR-17023
2018-07-24 12:23:13 -04:00
Sebastien Deleuze
36bbbab02d
Deprecate ExtensionRegistryInitializer in protobuf support
...
In order to be consistent with SPR-15776, and since it does not
provide clear added value, this commit deprecates
ExtensionRegistryInitializer and uses ExtensionRegistry
parameter instead in ProtobufHttpMessageConverter and
ProtobufJsonFormatHttpMessageConverter constructors.
Issue: SPR-17081
2018-07-24 17:25:55 +02:00
Juergen Hoeller
dd4468a74a
Polishing
2018-07-24 16:16:52 +02:00
Juergen Hoeller
7f1a8d78b5
BeanFactoryAdvisorRetrievalHelper avoids synchronization for name cache
...
Issue: SPR-16570
2018-07-24 16:16:44 +02:00
Juergen Hoeller
47d8fe83df
Upgrade to Interceptor API 1.2.2, Moneta 1.3, Rome 1.11
2018-07-24 14:44:56 +02:00
Juergen Hoeller
fac2e35f96
Refactor util.log.LogUtils into core.log.LogDelegateFactory
...
Issue: SPR-17012
2018-07-24 14:44:34 +02:00
Juergen Hoeller
20c34cbb9b
Provide predetermined capacity for cache operation collections
...
Issue: SPR-17079
2018-07-24 13:27:02 +02:00
Juergen Hoeller
8e5f243320
Upgrade to Mockito 2.20
2018-07-24 13:09:32 +02:00
Juergen Hoeller
a9c9ba6601
Generic matching for ObjectProvider stream and empty vararg resolution
...
Issue: SPR-11419
Issue: SPR-15338
2018-07-24 13:03:54 +02:00
Rossen Stoyanchev
6372c0f47c
Ensure headers work with ResponseEntity + reactive body
...
Issue: SPR-17076
2018-07-24 00:24:29 -04:00
Rossen Stoyanchev
7500b144ae
Option to preserve publish order
...
Issue: SPR-13989
2018-07-23 23:24:39 -04:00
Juergen Hoeller
430250c80f
Upgrade to RxJava 2.1.17
2018-07-24 01:10:27 +02:00
Juergen Hoeller
5f51e86185
Avoid relying on runtime constructor order for argument conversion
2018-07-24 01:04:47 +02:00
Juergen Hoeller
1b09718104
Polishing
2018-07-24 00:45:21 +02:00
Juergen Hoeller
1603c4ab2f
Programmatic ObjectProvider retrieval through BeanFactory API
...
Introduces getBeanProvider(Class) and getBeanProvider(ResolvableType), also narrowing getBean(String, Class) and isTypeMatch(String, Class) to a non-null Class argument and enriching NoUniqueBeanDefinitionException with a full ResolvableType. In addition, ObjectProvider supports iterable/stream access for collection-style resolution of multiple matching beans now, and collection injection falls back to an empty collection in a single-constructor case with non-null arguments.
Issue: SPR-17075
Issue: SPR-11419
Issue: SPR-15338
2018-07-24 00:42:03 +02:00
Vedran Pavic
82194f4ee0
Set SameSite default to Lax
...
Issue: SPR-16418
2018-07-23 18:23:05 +02:00
Sebastien Deleuze
0def1640f2
Support single-value reactive types in @MessageMapping
...
This commit adds support for single-value reactive types in
@MessageMapping by converting them using ReactiveAdapterRegistry
and MonoToListenableFutureAdapter.
MonoToListenableFutureAdapter previously package private and used only
in org.springframework.messaging.tcp.reactor has been moved to
org.springframework.messaging.support and made public in order to be
used by ReactiveReturnValueHandler as well.
Issue: SPR-16634
2018-07-23 15:20:48 +02:00
Sebastien Deleuze
b09fad13a1
Catch errors when adding SourceHttpMessageConverter
...
This commit ignores errors like TransformerFactoryConfigurationError
that can be thrown when instantiating SourceHttpMessageConverter on
platforms where no TransformerFactory implementation is available,
like when compiling/running as GraalVM native images.
Issue: SPR-17007
2018-07-23 10:39:26 +02:00
Sebastien Deleuze
f8f8d28f08
Support running Kotlin apps without kotlin-reflect
...
This commit includes an optimization of BeansUtils#instantiateClass
that favors Java reflection for default constructors before leveraging
Kotlin one for finding primary constructors and avoids Kotlin related
conditions when running in Java.
Issue: SPR-17069
2018-07-23 09:54:48 +02:00
Juergen Hoeller
bccff73e2b
AspectJExpressionPointcut leniently ignores non-composable interfaces
...
Issue: SPR-17003
2018-07-22 22:28:48 +02:00
Juergen Hoeller
f58854f4b9
Locally cache factory method candidates per factory class
...
Issue: SPR-17071
2018-07-22 19:22:20 +02:00
Juergen Hoeller
13873dafb7
Polishing
2018-07-22 17:55:31 +02:00
Juergen Hoeller
cfbacfd89b
Revise ResolvableType.as for introspection performance
...
This revision limits serializability of derived interfaces, superclasses and type parameters, optimizing for introspection performance instead.
Issue: SPR-17070
2018-07-22 17:49:53 +02:00
stsypanov
5051850fa9
SPR-17074 Replace iteration over Map::ketSet with Map::entrySet
2018-07-21 13:12:43 +02:00
Juergen Hoeller
3c65c17053
Correctly determine and propagate validation hints to DataBinder
...
Issue: SPR-17073
2018-07-21 12:19:37 +02:00
Rossen Stoyanchev
c57e1afd2b
ResulatMatcher.matchAll
...
Issue: SPR-16417
2018-07-20 23:02:47 -04:00
Rossen Stoyanchev
91122ec0f5
Add Consumer methods to WebTestClient assertion classes
...
Issue: SPR-16574
2018-07-20 22:28:40 -04:00
Rossen Stoyanchev
20de5003ff
Hamcrest methods in WebTestClient
...
Issue: SPR-16729
2018-07-20 17:40:38 -04:00
Rossen Stoyanchev
0c62d6b5da
Polish
...
Leaving out hamcrest for now, to address more broadly.
Issue: SPR-16741
2018-07-20 17:40:38 -04:00
Eric Deandrea
2734f01067
Provide XML assertions in WebTestClient
...
Adds XML-based assertions in
org.springframework.test.web.reactive.server.WebTestClient.BodyContentSpec
for asserting against the XML body as well as xPath,
similar to those assertions offered when using
MockMvcResultMatchers.xpath().
Issue: SPR-16741
2018-07-20 17:38:04 -04:00
Juergen Hoeller
bb5d99a083
Upgrade to Hibernate ORM 5.3.3, Undertow 2.0.11, Mockito 2.19.1
2018-07-20 18:56:52 +02:00
Brian Clozel
390bb871d8
Switch order of multipart Content-Type directives
...
Since SPR-15205, the `FormHttpMessageConverter` is adding a `charset`
directive to the `Content-Type` request header in order to help servers
understand which charset is being used to encode headers of each part.
As reported in SPR-17030 and others, some servers are not parsing
properly such header values and assume that `boundary` is the last
directive in the `Content-Type` header.
This commit reorders the charset information right before the boundary
declaration to get around those issues.
Issue: SPR-17030
2018-07-20 18:11:05 +02:00
Juergen Hoeller
9a43d2ec20
Revised log levels: less WARN and INFO, fine-tuned DEBUG vs TRACE
...
Issue: SPR-16946
2018-07-20 15:05:16 +02:00
Brian Clozel
a410d90439
Drain client response body consistenly
...
Prior to this commit, the `DefaultClientResponse` implementation would
handle HTTP client cases where the server response body would need to be
consumed (pooled resources need to be released) and the body publisher
cancelled right away. This is done to avoid reading the whole response
body and returning the connection to the pool, now that this connection
cannot be reused.
This was done already when the `WebClient` is asked for a `Void` type
for the response body.
SPR-17054 brought a new case for that: whenever no message reader is
able to decode the response body, an `UnsupportedMediaTypeException`
error signal is sent. Prior to this commit, the response body would not
be consumed and cancelled for that case.
This commit refactors all those cases from the `DefaultClientResponse`
directly into the `BodyExtractors`, since most of the logic and
knowledge for that belongs there. We only need to only apply this
behavior when the HTTP client is involved, as the server does not want
this to happen.
Issue: SPR-17054
2018-07-20 14:01:34 +02:00
Rossen Stoyanchev
07653bfd0c
Fix for encoding issue with MvcUriComponentsBuilder
...
Provide method for stronger encoding of expanded URI variables when
building links from views.
Issue: SPR-17027
2018-07-19 19:07:42 -04:00
Rossen Stoyanchev
93b7a4838e
UriComponentsBuilder method to configure URI variables
...
See Javadoc on UriComponentsBuilder#uriVariables for details.
This helps to prepare for SPR-17027 where the MvcUriComponentsBuilder
already does a partial expand but was forced to build UriComonents
and then create a new UriComponentsBuilder from it to continue. This
change makes it possible to stay with the same builder instance.
Issue: SPR-17027
2018-07-19 19:07:42 -04:00
Rossen Stoyanchev
28cd6978b5
Minor fixes: UriComponentsBuilder, UriComponents, docs
...
After the latest changes, two small fixes in the clone method to copy
the encode flag, and in the encodeUriTemplate method to account for
possible null query params.
Improvements in the URI encoding section.
Issue: SPR-17039, SPR-17027
2018-07-19 19:07:42 -04:00
Juergen Hoeller
51c7ceb95d
Polishing
2018-07-20 00:17:37 +02:00
Juergen Hoeller
252f52ab07
Tighten (IntroductionAware)MethodMatcher contract
...
Provides a non-null guarantee for MethodMatcher's targetClass argument and strict separation between IntroductionAwareMethodMatcher and regular MethodMatcher, enabling DefaultAdvisorChainFactory to defer its IntroductionAdvisor determination until encountering an actual IntroductionAwareMethodMatcher (even behind union/intersection).
Issue: SPR-17068
2018-07-20 00:17:31 +02:00
Juergen Hoeller
867b3d233d
Upgrade to OkHttp 3.11, Apache HttpClient 4.5.6, Hibernate Validator 6.0.11
2018-07-19 17:52:08 +02:00
Juergen Hoeller
09920d9b01
Raise testPrototypeCreationWithPropertiesIsFastEnough limit to 4000 ms
2018-07-19 17:51:54 +02:00
Juergen Hoeller
c4df335a1d
ReflectiveMethodExecutor invokes interface method if possible
...
Issue: SPR-16845
2018-07-19 16:35:59 +02:00
Juergen Hoeller
478d7255d2
GenericApplicationListenerAdapter caches resolved event types
...
Issue: SPR-16970
2018-07-19 16:34:19 +02:00
Juergen Hoeller
52d124de6f
Use supplier-aligned type information for FactoryBean type resolution
...
Issue: SPR-17063
2018-07-19 13:14:20 +02:00
Juergen Hoeller
0b60447c49
Javadoc update: ConfigurationClassPostProcessor is priority-ordered
...
Issue: SPR-17062
2018-07-19 11:59:40 +02:00
Juergen Hoeller
d0bbbf4cae
OrderUtils caches order values (for AnnotationAwareOrderComparator)
...
Issue: SPR-17064
2018-07-19 11:58:42 +02:00
Juergen Hoeller
1f5d0faf1f
HandlerMethod caches interface parameter annotations
...
Issue: SPR-11055
2018-07-19 11:38:10 +02:00
Stephane Nicoll
999c169b1c
Merge pull request #1888 from vpavic:patch-1
...
* pr/1888:
Polish WebSession javadoc
2018-07-19 11:27:13 +02:00
Vedran Pavic
b1e28a554a
Polish WebSession javadoc
...
Issue: SPR-17051
Closes gh-1888
2018-07-19 11:26:49 +02:00
Rossen Stoyanchev
9498da5910
Clarify behavior of WebSession#save()
...
+ minor update to the InMemoryWebSession to match the defined behavior.
Issue: SPR-17051
2018-07-18 22:14:02 -04:00
Rossen Stoyanchev
66d73017d5
PathVariable consistently reflects value up to 1st ";"
...
Given "/{foo}" and "/a=42;c=b", previously that would be treated as a
sequence of matrix vars with an empty path variable. After the change
the path variable "foo" is "a=42".
This should be ok for backawards compatibility since it's unlikely for
anything to rely on an empty path variable.
Issue: SPR-11897
2018-07-18 22:14:02 -04:00
Juergen Hoeller
9c08a482d1
Prefer ArrayList/ArrayDeque over LinkedList for multi-element holders
...
LinkedList remains in place where a List is likely to remain empty or single-element (in order to avoid unused capacity).
Issue: SPR-17037
2018-07-18 22:17:42 +02:00
Rossen Stoyanchev
833aee9b2d
Add SimpLogging and use o.s.messaging.simp classes
...
Issue: SPR-17012
2018-07-18 15:33:20 -04:00
Rossen Stoyanchev
4d6f2df3cb
Add LogUtils and HttpLogging
...
SPR-17012
2018-07-18 15:32:50 -04:00
Juergen Hoeller
23d4862017
Find annotations on implemented generic interface methods as well
...
Issue: SPR-16060
2018-07-18 19:44:30 +02:00
Juergen Hoeller
c77dbbb1e6
Specific exception for missing request header, cookie, matrix variable
...
Issue: SPR-14818
2018-07-18 18:56:51 +02:00
Sebastien Deleuze
e8034f2f96
Adapt DefaultParameterNameDiscoverer to Graal constraints
...
When compiling or running as a Graal native image, no
ParameterNameDiscoverer is used.
Issue: SPR-17005
2018-07-18 17:17:47 +02:00
Juergen Hoeller
790d515f8c
HandlerMethod exposes interface parameter annotations as well
...
The HandlerMethodParameter arrangement uses an approach similar to ModelAttributeMethodProcessor's FieldAwareConstructorParameter, merging the local parameter annotations with interface-declared annotations.
Issue: SPR-11055
2018-07-18 17:13:55 +02:00
Juergen Hoeller
28f7b26294
Null-returning instance supplier resolves to NullBean
...
Issue: SPR-17057
2018-07-18 15:26:06 +02:00
Juergen Hoeller
f8553117d0
Polishing
...
(cherry picked from commit 4341838 )
2018-07-18 14:58:43 +02:00
sdeleuze
a87764f1fd
Add support for Jetty Reactive Streams HTTP client
...
Leverage https://github.com/jetty-project/jetty-reactive-httpclient
to add support for Jetty in WebClient via JettyClientHttpConnector.
Implemented with buffer copy instead of optimized buffer wrapping
because the latter hangs since Callback#succeeded doesn't allow
releasing the buffer and requesting more data at different times
(required for Mono<DataBuffer> for example).
See https://github.com/eclipse/jetty.project/issues/2429 .
Issue: SPR-15092
2018-07-18 14:49:49 +02:00
Sebastien Deleuze
3c9049d530
Leverage Jetty BOM
...
Issue: SPR-17058
2018-07-18 14:49:49 +02:00
Brian Clozel
a7f97a1669
Avoid null signals when resolving handler arguments
...
Prior to this commit, resolving an argument for a WebFlux controller
that's missing from the request and not required by the handler would
throw a NullPointerException in some cases.
This involves the conversion of the parameter (a `String` parameter type
might not trigger this behavior) and sending a `null` within a reactive
stream, which is illegal per the RS spec.
We now rely on a `Mono.justOrEmpty()` to handle those specific cases.
Issue: SPR-17050
2018-07-18 14:41:43 +02:00
Juergen Hoeller
5fcfe0fa8e
Polishing
2018-07-18 14:27:16 +02:00
Juergen Hoeller
cab35aa788
StringUtils.parseLocaleString detects variant without country
...
Includes tests for parsing all available locales on the JVM, checking toString/toLanguageTag equality between parsed and original locale.
Issue: SPR-7598
Issue: SPR-16651
2018-07-18 11:10:26 +02:00
Stephane Nicoll
d8ee1f5c83
Merge pull request #1887 from crewmanmud:patch-2
...
* pr/1887:
Correct method signature in code example
2018-07-18 09:08:01 +02:00
Andrew McCallum
d8878e4513
Correct method signature in code example
...
Closes gh-1887
2018-07-18 09:07:31 +02:00
Rossen Stoyanchev
6c4289e238
Polish
2018-07-17 17:39:16 -04:00
Rossen Stoyanchev
0bd7a3646c
Update URI Encoding section
2018-07-17 15:58:27 -04:00
Juergen Hoeller
b3d6283d7d
CookieAssertionTests expects language tag compliance by default
...
Issue: SPR-16700
2018-07-17 18:18:54 +02:00
Juergen Hoeller
ef9027e1c1
Polishing
2018-07-17 17:59:16 +02:00
Juergen Hoeller
b8d2a16c31
UrlBasedViewResolver exposes redirect/forward prefix as bean name
...
Issue: SPR-17045
2018-07-17 17:58:19 +02:00
Juergen Hoeller
88e4006790
CookieLocaleResolver is RFC6265 and language tag compliant by default
...
Like CookieLocaleResolver, LocaleChangeInterceptor parses both locale formats by default now. Since it does not need to render the locale, its languageTagCompliant property is not relevant anymore at all.
The parseLocale method in StringUtils validates the locale value now and turns an empty locale into null, compatible with parseLocaleString behavior and in particular aligned with web locale parsing needs.
Issue: SPR-16700
Issue: SPR-16651
2018-07-17 17:57:59 +02:00
Juergen Hoeller
955665b419
Consistent processing of binding/validation failures for data classes
...
Includes an extension of SmartValidator for candidate value validation, as well as nullability refinements in Validator and BindingResult.
Issue: SPR-16840
Issue: SPR-16841
Issue: SPR-16854
2018-07-17 17:01:34 +02:00
Rossen Stoyanchev
d8a2927dd3
Update URI links section after encoding changes
...
Issue: SPR-17039
2018-07-16 21:21:37 -04:00
Rossen Stoyanchev
a41a1edd93
Switch to TEMPLATE_AND_VALUES as the default mode
...
DefaultUriBuilderFactory now uses EncodingMode.TEMPLATE_AND_VALUES by
default. However the RestTemplate explicitly sets it to the previous
setting EncodingMode.URI_COMPONENTS, so this affects mainly the
WebClient and any direct use of DefaultUriBuilderFactory to configure
either the RestTemplate or the WebClient.
Issue: SPR-17039
2018-07-16 21:21:37 -04:00
Rossen Stoyanchev
2a0eac47f9
Add TEMPLATE_AND_VALUES mode to DefaultUriBuilderFactory
...
Issue: SPR-17039
2018-07-16 21:21:37 -04:00
Rossen Stoyanchev
75e45103b5
Polish DefaultUriBuilderFactory
2018-07-16 21:21:34 -04:00
Juergen Hoeller
b915e42c38
Resolve target type for GenericHttpMessageConverter.canWrite/write
...
Issue: SPR-16877
2018-07-16 19:45:35 +02:00
Juergen Hoeller
cacd14c805
Never return null from AnnotationMetadata.getMetaAnnotationTypes
...
Issue: SPR-17046
2018-07-16 18:05:10 +02:00
Rossen Stoyanchev
5fb4982026
Support for encode() in UriComponentsBuilder
...
The ability to request to encode before `build()`, and more importantly
before expanding, allows stricter encoding to be applied to URI vars
and consequently to neutralize the effect of characters with reserved
meaning in a URI.
Issue: SPR-17039
2018-07-16 09:16:11 -04:00
Juergen Hoeller
fe2eeb43f1
Upgrade to Groovy 2.5.1
2018-07-16 14:50:43 +02:00
Juergen Hoeller
77d72f1e01
Injected Map/Collection does not include null bean entries
...
Issue: SPR-17034
2018-07-16 13:04:38 +02:00
Juergen Hoeller
faef363e85
Evaluate @Cacheable(condition) once per method invocation only
...
Issue: SPR-17024
2018-07-16 13:04:14 +02:00
Juergen Hoeller
93d91219fd
Support for "cacheRegionFactory" injection with Hibernate 5
...
Issue: SPR-17043
2018-07-16 13:03:46 +02:00
Stephane Nicoll
333ec7400e
Fix typo
...
Issue: SPR-17042
2018-07-15 16:17:48 +02:00
Juergen Hoeller
f6fdffd663
Lazily retrieve delegate beans in AsyncConfigurer and CachingConfigurer
...
Introduces a configure method pattern for Supplier-style configuration and a common SingletonSupplier decorator for method reference suppliers. Also declares jcache.config and jcache.interceptor for non-null conventions.
Issue: SPR-17021
2018-07-14 19:29:32 +02:00
Juergen Hoeller
680afa75d8
ListableBeanFactory.getBeansOfType does not include null bean entries
...
Issue: SPR-17034
2018-07-14 01:02:39 +02:00
Rossen Stoyanchev
24a30baa2a
Typos in InMemoryWebSessionStore
2018-07-13 17:51:23 -04:00
Rossen Stoyanchev
43fbd63254
Add maxSessions, getSessions, removeExpiredSessions
...
This commit removes the session threshold check added recently which
is not effective since maxIdleTime is usually much longer than the
frequency of checks. The lazy triggering of expiration checks during
create or retreive are simple and the most effective
This commit also adds a maxSessions limit on the total number of
sessions that can be created at any one time, a getSessions method
for management purposes, and a removeExpiredSessions public API
for manual triggering of expiration checks.
Issue: SPR-17020, SPR-16713
2018-07-12 16:12:19 -04:00
Brian Clozel
75fa9c4266
Fix checkstyle issues
2018-07-12 21:54:32 +02:00
Brian Clozel
038af9a303
Improve unknown status codes handling by WebClient
...
Prior to this commit, `WebClient` would throw `IllegalArgumentException`
when receiving an HTTP response with an unknown HTTP status code.
This commit is a follow up of SPR-16748 (supporting non-standard HTTP
status codes on the reactive `ClientHttpResponse`), and is mirroring
SPR-15978 (supporting non-standard HTTP status codes in `RestTemplate`).
With this change, `WebClient` now tolerates unknown status codes in some
cases, while not offering that choice as a first class citizen:
`HttpStatus` is still the preferred way to deal with HTTP status codes.
Here's how `WebClient` will behave when fetching the full response:
```
// Given a remote endpoint returning a "123" HTTP status code
Mono<ClientResponse> result = this.webClient.get()
.uri("/status/123")
.exchange();
// will still throw an IllegalArgumentException
HttpStatus status = result.block().statusCode();
// is safe and will return 123
int statusCode = result.block().rawStatusCode();
```
Resolving directly the response body with `retrieve()` is different.
```
// will send an error signal with a UnknownHttpStatusCodeException
Mono<String> result = this.webClient.get()
.uri("/status/123")
.retrieve()
.bodyToMono(String.class);
```
In general, `WebClient` will provide high-level support
for well-known HTTP status codes, like error handling with
`WebClient.ResponseSpec#onStatus`.
For such support with unknown status codes, it is better to rely
on lower level constructs such as `ExchangeFilterFunction`.
Issue: SPR-16819
2018-07-12 19:08:08 +02:00
Juergen Hoeller
f123d6c3bc
Upgrade to Netty 4.1.27 and Commons Pool 2.6
2018-07-12 16:53:37 +02:00
Rossen Stoyanchev
32b75221b3
Improve expired session check algorithm
...
1. Add session count threshold as am extra pre-condition.
2. Check pre-conditions for expiration checks on every request.
Effectively an upper bound on how many sessions can be created before
expiration checks are performed.
Issue: SPR-17020
2018-07-11 15:59:18 -04:00
Rossen Stoyanchev
e9ed45ee3b
Fix code completion typo
2018-07-11 11:13:57 -04:00
Rossen Stoyanchev
7b3a72f483
Warn when SimpleAsyncTaskExecutor is used
...
Issue: SPR-16203
2018-07-11 11:10:03 -04:00
Rossen Stoyanchev
1b1bc7f5b5
Switch defaults and model for logging sensitive data
...
Issue: SPR-17029
2018-07-11 11:10:03 -04:00
Rossen Stoyanchev
a40d25a760
Remove no-op classes in web-related Java config
2018-07-11 11:10:03 -04:00
Rossen Stoyanchev
3d6e38bb43
Conditional registration of task scheduler for SockJS
...
Issue: SPR-16189
2018-07-11 11:10:03 -04:00
Rossen Stoyanchev
6aa6d91ea9
Remove deprecated constructors in WebSocket config
...
In preparation for SPR-16189.
2018-07-11 11:10:03 -04:00
Juergen Hoeller
c2fbd9f321
Upgrade to Rome 1.11 and OpenPDF 1.1
2018-07-11 16:48:12 +02:00
Juergen Hoeller
2ede6f65b4
Upgrade to Netty 4.1.26 and Undertow 2.0.10
2018-07-11 15:48:37 +02:00
Juergen Hoeller
6887802526
Fallback to ClassLoader.defineClass for Lookup.defineClass LinkageError
...
Issue: SPR-16902
2018-07-10 22:13:57 +02:00
Juergen Hoeller
3a4b5c2ade
RootBeanDefinition publicly exposes target type as ResolvableType
...
Issue: SPR-17028
2018-07-10 19:28:12 +02:00
Juergen Hoeller
a1d209726c
Upgrade to ASM master (6.2+) and CGLIB 3.2.7
...
Issue: SPR-16398
2018-07-10 18:51:01 +02:00
Stephane Nicoll
aabc5d9766
Merge pull request #1880 from GuiRitter:patch-2
...
* pr/1880:
Fix typo
2018-07-10 15:48:11 +02:00
Guilherme Alan Ritter
7f54ae109a
Fix typo
...
Closes gh-1880
2018-07-10 15:39:31 +02:00
Brian Clozel
818e4b0776
Refine Content-Range support for Resources
...
This commit restricts the support of `"Content-Range"` when returning
`Resource` instances from Controllers - now only "HTTP 200 OK" responses
will be considered, as Controllers might want to handle content range
themselves.
Issue: SPR-16921
2018-07-10 12:11:23 +02:00
xiexed
d5df097e0e
Small typo fixes in WebSocketHandler doc
2018-07-09 14:27:23 -04:00
Rossen Stoyanchev
931581a1e0
Polish Reactive Spring Web section
2018-07-09 14:27:23 -04:00
Brian Clozel
d00f6f09a5
Polish ContentCachingRequestWrapper
...
Issue: SPR-15762
2018-07-09 19:15:29 +02:00
zilong6
4d0800f392
Improve ContentCachingRequestWrapper performance
...
This commit improves the performance of `read` method variants
to write to the cache in an optimized way.
Issue: SPR-15762
2018-07-09 19:15:21 +02:00
Arjen Poutsma
2ac6a15f6f
Add setBearerAuth method
...
Issue: SPR-16997
2018-07-09 17:06:55 +02:00
Arjen Poutsma
a663454fad
Changed Basic Authentication consumer to setBasicAuth method
...
This commit changes the Basic Authentication Consumer<HttpHeaders> to
a basic setBasicAuth(String, String) method.
Issue: SPR-16913
2018-07-09 16:41:51 +02:00
Juergen Hoeller
a80c5121fe
Polishing
2018-07-09 15:53:44 +02:00
Juergen Hoeller
d9e8d3bbe1
Custom "jdbcExceptionTranslator" on HibernateJpaDialect
...
Also available on LocalSessionFactoryBean through HibernateExceptionTranslator, as with our former Hibernate 3 support.
Issue: SPR-17015
2018-07-09 15:52:36 +02:00
Juergen Hoeller
39d455073a
Update ref doc references to Number/Currency/PercentStyleFormatter
...
Issue: SPR-17022
2018-07-09 15:48:45 +02:00
Juergen Hoeller
833343f17c
Specifically rethrow IllegalAccessError in isPresent/resolveClassName
...
Issue: SPR-17018
2018-07-09 14:31:45 +02:00
Juergen Hoeller
fd0220b85c
Suppress rawtypes warning for createReferenceArray
2018-07-09 14:28:15 +02:00
stsypanov
6d6aa72e8f
improve performance of projection instantiation
2018-07-09 13:39:23 +02:00
Sam Brannen
581acb62a0
Refine wording
2018-07-08 14:11:04 +02:00
Sam Brannen
8d09222799
Improve description of return value for queryForList(..)
2018-07-08 13:34:56 +02:00
Rossen Stoyanchev
4bd22eeb13
Fallback logger for logging in http and codec packages
...
Issue: SPR-17012
2018-07-07 10:54:03 -04:00
Rossen Stoyanchev
bca9f51092
Polish hint for suppressing logging at Encoder/Decoder
2018-07-06 20:32:08 -04:00
Rossen Stoyanchev
2874dd75ca
Fine-tune WebFlux logging at HTTP/WebSocket level
...
1. Use special category prefix "spring-web.reactivestreams" for logging
of reactive streams signals in spring-web, since those are quite
verbose would fill the logs at TRACE.
2. Add and use loggers in request and websocket session implementations
separate from reactive streams bridge for regular TRACE logging.
3. Improve log messages and add where missing (e.g. for Reactor)
Issue: SPR-16898
2018-07-06 17:33:16 -04:00
Rossen Stoyanchev
7746878b50
Remove workaround for Reactor Netty #171
2018-07-06 15:44:24 -04:00
Rossen Stoyanchev
bc3cf0eeb8
Expose request id at the ServerHttpRequest level
...
Hiding it (at AbstractServerHttpRequest) complicates matters since
requests are often mutated and decorated, plus it's also possible to
implement the interface directly (we've one, albeit corner case).
Issue: SPR-16966
2018-07-06 15:44:24 -04:00
Rossen Stoyanchev
5dc49b16ea
Correlated messages at HTTP adapter + WebSocket level
...
Issue: SPR-16966
2018-07-06 15:44:18 -04:00
Rossen Stoyanchev
7be2943c03
Simplify WebSocket client implementationss in WebFlux
...
1. Eliminate WebSocketClientSupport base class whose main value was
to provide logging but those methods get in the way of inserting a
log prefix.
2. Remove checks and synchronization in lifecycle methods of Jetty
client since underlying Jetty client already has that.
2018-07-06 15:17:11 -04:00
Sebastien Deleuze
fd69c90fcb
Add ServerResponse extensions for json, xml and html
...
Issue: SPR-17017
2018-07-06 14:52:11 +02:00
Juergen Hoeller
2cd006923c
Polishing
2018-07-06 14:38:29 +02:00
Sebastien Deleuze
c0264072ab
Avoid ServerResponse static imports in WebFlux router DSL
...
Provide functions like ok() in RouterFunctionDsl to avoid
ServerResponse static imports.
Issue: SPR-17009
2018-07-06 13:50:27 +02:00
Arjen Poutsma
37a3765a4e
Fix checkstyle errors
2018-07-06 13:38:17 +02:00
Juergen Hoeller
b4fc7943e1
Make javax.inject.Provider impl invisible for nested class introspection
...
Issue: SPR-17014
2018-07-06 13:20:03 +02:00
Arjen Poutsma
490302ebf8
Added RequestPredicates.methods(HttpMethod...)
...
Added a predicate that tests for multiple HTTP methods.
2018-07-06 12:01:16 +02:00
Arjen Poutsma
91e96d8084
Improve RouterFunction builder
...
This commit improves the RouterFunctions.Builder based on conversations
had during the weekly team meeting.
Issue: SPR-16953
2018-07-06 12:01:08 +02:00
Juergen Hoeller
22ccdb285f
Upgrade to Hibernate ORM 5.3.2 and 5.1.15
2018-07-06 01:23:07 +02:00
Juergen Hoeller
d8c7270c00
Consistent Iterator/Stream support in PropertySources and PropertyValues
...
Issue: SPR-16894
2018-07-05 23:59:56 +02:00
Rossen Stoyanchev
bb3061d112
Polish
2018-07-05 14:08:05 -04:00
Violeta Georgieva
22f6e5b9ff
Adapt ReactorHttpsServer to lates Reactor Netty changes
2018-07-05 14:00:01 -04:00
Juergen Hoeller
d2eb4d2671
SpringBeanContainer falls back to Hibernate's default producer
...
Issue: SPR-17010
2018-07-05 17:54:07 +02:00
Juergen Hoeller
620e83c35d
SpringBeanContainer is public for custom JPA configuration purposes
...
Issue: SPR-16305
2018-07-05 16:48:35 +02:00
Rossen Stoyanchev
39d5874441
Use connection id in server log messages if possible
...
Issue: SPR-16966
2018-07-05 08:32:27 -04:00
Rossen Stoyanchev
5cdc26770e
Correlated WebClient log messages
...
Issue: SPR-16966
2018-07-05 08:30:23 -04:00
Rossen Stoyanchev
82310660fd
Correlated encoding/decoding log messages via hints
...
Issue: SPR-16966
2018-07-05 08:28:15 -04:00
Rossen Stoyanchev
fd90b73748
Correlated WebFlux server log messages
...
Issue: SPR-16966
2018-07-05 08:27:13 -04:00
Juergen Hoeller
010ba33d03
Propagate read-only status through setDefaultReadOnly(true) for JPA
...
This involves a new ResourceTransactionDefinition variant that JpaTransactionManager indicates a transaction-local EntityManager on. HibernateJpaDialect uses this indicator for hard read-only behavior.
Issue: SPR-16956
2018-07-05 13:53:35 +02:00
Juergen Hoeller
83faee67d5
HttpMessageNotReadableException provides access to HttpInputMessage
...
Issue: SPR-15588
2018-07-04 22:46:09 +02:00
Juergen Hoeller
fc699b2b37
@Bean provides autowireCandidate flag (analogous to XML definitions)
...
Issue: SPR-16204
2018-07-04 22:41:05 +02:00
Juergen Hoeller
182243d20d
BeanDefinitionOverrideException in case of overriding not allowed
...
Issue: SPR-16982
2018-07-04 21:32:51 +02:00
Juergen Hoeller
63d6215247
Polishing
2018-07-04 19:23:27 +02:00
Juergen Hoeller
c0d4cb55c7
LocalSessionFactoryBuilder provides Hibernate 5.3 BeanContainer support
...
LocalSessionFactoryBean automatically registers its containing BeanFactory as a BeanContainer when Hibernate 5.3 or higher is on the classpath.
Issue: SPR-16305
2018-07-04 19:23:19 +02:00
Juergen Hoeller
5dc8b5de6d
Polishing
2018-07-04 15:07:17 +02:00
Juergen Hoeller
094c9b8bd2
LocalSessionFactoryBean and HibernateTransactionManager for JPA setup
...
SessionHolder extends EntityManagerHolder now, allowing for @PersistenceContext and co to interact with HibernateTransactionManager's thread-bound transactions, and SpringSessionContext is capable of interacting with JpaTransactionManager by detecting a plain EntityManagerHolder as well.
Issue: SPR-17002
2018-07-04 15:07:09 +02:00
Juergen Hoeller
a5dd0f0c09
Fix accidental @Nullable declaration on addAttribute(Object)
...
Issue: SPR-16831
2018-07-04 15:06:56 +02:00
Sam Brannen
160002cf8b
Polishing
2018-07-04 14:33:39 +02:00
Sam Brannen
755add3087
Verify that TestContextBootstrapper resolution ignores duplicates
...
This commit introduces a test to verify that multiple declarations of
@BootstrapWith that register the same TestContextBootstrapper type
(i.e., duplicates) do not result in an error.
Issue: SPR-17006
2018-07-04 13:58:49 +02:00
Sebastien Deleuze
18781d70b4
Upgrade to Kotlin 1.2.51
2018-07-04 11:12:16 +02:00
Juergen Hoeller
d22d408261
Propagate read-only status through Session.setDefaultReadOnly(true)
...
Issue: SPR-16956
2018-07-03 22:22:19 +02:00
Juergen Hoeller
0b86c71b2a
LogFactoryService class for standard Commons Logging service discovery
...
Issue: SPR-16585
Issue: SPR-15903
2018-07-03 18:57:12 +02:00
Rossen Stoyanchev
8bffb6a798
Add defaultRequest option to WebClient.Builder
...
Issue: SPR-16873
2018-07-03 12:44:29 -04:00
Rossen Stoyanchev
da5b705328
Polish default headers/attributes in WebClient
2018-07-03 12:44:29 -04:00
Rossen Stoyanchev
43d6ceb6f0
Align settings for sameSite and secure flag
...
After this change sameSite still gets a default value of "Strict" in
CookieWebSessionIdResolver but for changes to either sameSite or secure
it is now expected to use
addCookieInitializer(Consumer<ResponseCookie.ResponseCookieBuilder>).
Issue: SPR-16418, SPR-16980
2018-07-03 12:44:29 -04:00
Sebastien Deleuze
9b7a492bc9
Test RxReactiveStreams presence in ReactiveAdapterRegistry
...
Issue: SPR-17000
2018-07-03 18:00:47 +02:00
Juergen Hoeller
f7d22a0b42
Move indexer implementation to index.processor subpackage (for Jigsaw)
...
Issue: SPR-16979
2018-07-03 17:55:24 +02:00
Juergen Hoeller
2fe3c36cc2
Polishing
2018-07-03 17:54:43 +02:00
Juergen Hoeller
9efddea5e0
Upgrade to Apache Johnzon 1.1.8 and JCA 1.7.1
2018-07-03 15:53:49 +02:00
Juergen Hoeller
f2787cfb35
Same method filtering in ConstructorResolver and getTypeForFactoryMethod
...
Issue: SPR-16999
2018-07-03 15:53:17 +02:00
Sebastien Deleuze
dcbaecea2a
Perform explicit class checks in ReactiveAdapterRegistry
...
In order to allow Spring Framework applications running as GraalVM
native images, ReactiveAdapterRegistry should perform explicit class
checks instead of catching Throwable in order to avoid
UnsupportedFeatureError errors.
Issue: SPR-17000
2018-07-03 13:35:11 +02:00
Juergen Hoeller
e485abbe56
Fix checkstyle violation (plus related polishing)
...
Issue: SPR-16913
2018-07-02 23:56:58 +02:00
Juergen Hoeller
d08b72a75a
Consistent throwing of HttpMessageNotReadableException vs IOException
...
Includes specific fine-tuning of ProtobufHttpMessageConverter and JAXB2 based message converters, as well as revised javadoc for abstract base classes.
Issue: SPR-16995
2018-07-02 22:37:29 +02:00
Juergen Hoeller
779cf8d240
ConcurrentReferenceHashMap caches EntrySet in volatile field
...
Includes an efficient implementation of isEmpty(), not relying on a full entry count but rather backing out once a non-empty hash segment has been found.
Issue: SPR-16994
2018-07-02 22:32:57 +02:00
Juergen Hoeller
06f9fb9aeb
Refine Class serializability check for actual Graal compatibility
...
Issue: SPR-16992
2018-07-02 22:32:29 +02:00
Arjen Poutsma
6bcf6ffb06
Add Basic Authentication Consumer
...
Issue: SPR-16913
2018-07-02 15:16:03 +02:00
Juergen Hoeller
e5a6711d29
Consistent final declaration for static delegate classes
...
Issue: SPR-16968
2018-07-02 13:55:18 +02:00
Juergen Hoeller
2ade122543
Bypass serializable type wrapping if java.lang.Class not serializable
...
Issue: SPR-16992
2018-07-02 13:55:03 +02:00
Juergen Hoeller
4ff1e3e74b
Consistent abstract declaration for utility classes (plus polishing)
...
Issue: SPR-16968
2018-07-01 02:31:20 +02:00
Rossen Stoyanchev
e72f4ec501
Fix checkstyle error
2018-06-29 21:45:43 -04:00
Rossen Stoyanchev
d74e09a925
Polish MockClientHttpRequest
2018-06-29 17:37:45 -04:00
Rossen Stoyanchev
7f555785dd
Add getBodyAsString() to MockClientHttpRequest
...
Issue: SPR-16988
2018-06-29 17:34:23 -04:00
Rossen Stoyanchev
51ec7c6b4a
Add hook for customizing response cookie
...
Issue: SPR-16980
2018-06-29 18:15:52 -03:00
Rossen Stoyanchev
5ec8db1adc
Polish CookieWebSessionIdResolver
2018-06-29 18:15:52 -03:00
Rossen Stoyanchev
907a306ee2
Fix locally failing test in FlushingIntegrationTests
2018-06-29 18:15:52 -03:00
Damiano Albani
3165b3c024
Fix typo in Java doc
2018-06-29 18:12:43 -03:00
Juergen Hoeller
641039d85d
Polishing
2018-06-29 22:36:08 +02:00
Juergen Hoeller
e22466e9d5
Polishing
2018-06-29 19:44:15 +02:00
Juergen Hoeller
df6b01a329
Remove deprecated classes and methods from early 5.0.x phase
2018-06-29 19:44:08 +02:00
Juergen Hoeller
5b24040b5e
JtaAnnotationTransactionAspect configured by default (in aspectj mode)
...
Issue: SPR-16987
2018-06-29 19:43:38 +02:00
Juergen Hoeller
d58c09b89f
Up-to-date coverage of task executor and scheduler variants
...
Includes a clarification of ThreadPoolExecutor configuration options and a note on early AsyncConfigurer initialization.
Issue: SPR-16944
Issue: SPR-16945
2018-06-29 19:43:14 +02:00
Juergen Hoeller
71aee9211f
Upgrade to Mockito 2.19 and Mockito Kotlin 1.6
2018-06-28 18:02:24 +02:00
Juergen Hoeller
d34e6f7f70
Polishing
2018-06-28 18:02:07 +02:00
Juergen Hoeller
8ad5299f4a
Polishing
2018-06-28 17:12:29 +02:00
Juergen Hoeller
6f8a524eaa
Upgrade to Tomcat 9.0.10, RxJava 2.1.16, EclipseLink 2.7.2, Selenium 3.13
2018-06-28 14:52:35 +02:00
Juergen Hoeller
40efcc933c
Polishing
2018-06-28 14:51:33 +02:00
Juergen Hoeller
b68e692854
Conventions lazily retrieves shared ReactiveAdapterRegistry
...
Issue: SPR-16981
2018-06-28 14:47:52 +02:00
Juergen Hoeller
7a02e438e7
StringUtils.cleanPath retains plain pointer to current directory
...
Issue: SPR-16908
2018-06-28 14:15:16 +02:00
Juergen Hoeller
b6d95567e8
Explicit support for Hibernate Integrators on LocalSessionFactoryBean
...
Issue: SPR-16828
2018-06-28 14:15:16 +02:00
Juergen Hoeller
b0ece0e967
Remove hard configuration validation from SpringClassRule/MethodRule
...
Issue: SPR-16967
2018-06-28 14:15:16 +02:00
Juergen Hoeller
08e1c8cfaf
Fix FreeMarker escaping regression for messages and separators
...
Issue: SPR-16951
2018-06-28 14:15:16 +02:00
Juergen Hoeller
bac68c8d3f
StandardServletMultipartResolver accepts any HTTP method for multipart
...
Issue: SPR-16975
2018-06-28 14:15:16 +02:00
Juergen Hoeller
bf5fe46fa9
CachedIntrospectionResults completely traverses interface hierarchy
...
Issue: SPR-16978
2018-06-28 14:15:16 +02:00
Juergen Hoeller
81cb740e0a
New postProcessProperties variant on InstantiationAwareBeanPostProcessor
...
Allows for skipping the now-deprecated postProcessPropertyValues callback with its expensive PropertyDescriptor retrieval requirement. RequiredAnnotationBeanPostProcessor (which is dependent on postProcessPropertyValues) and the @Required annotation itself are also deprecated now: in favor of constructor injection (or afterPropertiesSet).
Issue: SPR-16918
2018-06-28 14:15:16 +02:00
Arjen Poutsma
794693525f
Polishing
2018-06-28 14:09:34 +02:00
Arjen Poutsma
a691065d05
Polishing
2018-06-28 11:27:30 +02:00
Arjen Poutsma
8202052b38
Introduce RouterFunction builder
...
This commit introduces RouterFunctions.Builder, a new way to build
router functions that does not require static imports, thus being more
discoverable and convenient.
Issue: SPR-16953
2018-06-28 11:23:38 +02:00
Phillip Webb
a89e716cc7
Use tabs rather than spaces in tests
...
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
1c25cec44f
Polish test code
...
Polish a few issue identified when adding checkstyle to the
build. Although checkstyle is not enforcing rules on tests,
these are a few minor changes that are still worth making.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
81451aa800
Organize imports
...
Reorganize imports to ensure consistent ordering. This commit also
expands any `.*` static imports in favor of using fully-qualified
method references.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
b220d94cc2
Never use parenthesis for single lambda arguments
...
Update all lambdas that take a single argument so that parenthesis
are never used.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
5cedd0d5d4
Consistently use tabs rather than spaces
...
Update code that has accidentally used spaces instead of tabs.
Also remove all trailing whitespace.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
be85bd8e09
Don't use == when comparing strings
...
Fix a few places where `==` was accidentally used to compare
strings.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
13729364ab
Consistently use only one statement per line
...
Ensure that only one statement is used per line.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
ad6d183a06
Remove unneeded conditional logic
...
Update `ConversionUtils` to remove conditional logic that isn't
necessary.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
634f5c2792
Ensure when equals() is implemented so is hashCode()
...
Update classes that override `equals()` to ensure that they also
implement `hashCode()`.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
9de3689f63
Never use 'this.' when accessing loggers
...
Ensure that `this.` is never used when accessing loggers.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
0b53c1096a
Always use 'this.' when accessing fields
...
Ensure that `this.` is used consistently when accessing class
fields.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
eeebd51f57
Use consistent class design
...
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
0ad0f341bd
Don't use single letter catch variables
...
Update existing catch blocks to ensure that `ex` is always used
in preference to `e` or `t` as the variable name.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
8f9aa06dfe
Polishing AbstractBeanDefinition.equals
2018-06-28 10:28:44 +02:00
Phillip Webb
866e9d702e
Use consistent block style
...
Update all code to use a consistent block style.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
04a8c285df
Fix annotation styling issues
...
Update all annotations so that each is on its own line and
consistently use the short form (i.e. don't use `value=`) when
possible.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
e9d1b39aff
Apply consistent copyright header
...
Add copyright header to `package-info.java` files and fix a few
malformed headers on existing java files.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
c3a17dfd47
Ensure all files end with a newline
...
Update all files to ensure that they always end with a new line.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
e0480f75ac
Fix javadoc checkstyle issues
...
Fix checkstyle violations for javadoc.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
032096d699
Add checkstyle to build
...
Add checkstyle to the build to enforce Spring Framework coding
conventions. Rule suppressions are used for several classes where
relaxing the rules makes more sense than fixing them.
Issue: SPR-16968
2018-06-28 10:28:44 +02:00
Phillip Webb
d8ef6b7c74
Revert "Fix Eclipse import order"
...
This reverts commit c14f83e727 .
2018-06-26 11:30:54 -07:00
Sam Brannen
c14f83e727
Fix Eclipse import order
2018-06-26 17:34:25 +03:00
Phillip Webb
9477915dbf
Update eclipse setting and instructions
...
Refine project specific eclipse settings and update the
instructions with details of how they can be applied.
2018-06-25 17:56:53 -07:00
Napster
8aa6e5bfea
Undertow WebSocket sessions use shared ByteBufferPool
...
Issues: SPR-16957
2018-06-25 17:46:25 -03:00
Rossen Stoyanchev
7ccd2b024d
Refine logging for async requests
...
Issue: SPR-16898
2018-06-25 14:42:29 -03:00
Juergen Hoeller
847202c8f8
MimeTypeUtils lazily initializes SecureRandom for multipart boundary
...
Issue: SPR-16974
2018-06-25 18:12:43 +02:00
Juergen Hoeller
2a15962d7f
WebHttpHandlerBuilder retains ApplicationContext in copy constructor
...
Issue: SPR-16972
2018-06-25 18:12:12 +02:00
Sam Brannen
853d30df26
Complete the upgrade to Gradle 4.8.1
...
This commit upgrades the gradle-wrapper.jar.
Issue: SPR-16475
2018-06-24 18:16:52 +03:00
Rossen Stoyanchev
900bc8a2e3
Logging improvements for WebFlux
...
Issue: SPR-16898
2018-06-22 22:44:24 -04:00
Juergen Hoeller
eaffcbe3be
Upgrade to Gradle 4.8.1
...
Includes Kotlin 1.2.50, RxJava 2.1.15 and Protobuf 3.6.
Issue: SPR-16475
2018-06-22 22:49:12 +02:00
Rossen Stoyanchev
69d8f9d3ab
Option to disable logging request details
...
Issue: SPR-16898
2018-06-19 16:53:37 -04:00
Sam Brannen
cafb5033e2
Polishing
2018-06-19 13:50:13 +03:00
Brian Clozel
4a26f93a0d
WebClient writes Content-Length for Mono bodies
...
In SPR-16892, the `EncoderHttpMessageWriter` has been improved to write
`"Content-Length"` HTTP response headers if the response body is of type
`Mono` (i.e. the actual content length is easily accessible without
buffering a possibly large response body). That change was relying on
the fact that the server side is using a `ChannelSendOperator` to delay
the writing of the body until the first signal is received.
This strategy is not effective on the client side, since no such channel
operator is used for `WebClient`. This commit improves
`EncoderHttpMessageWriter` and delays, for `Mono` HTTP message bodies
only, the writing of the body so that we can write the
`"Content-Length"` header information once we've got the body resolved.
Issue: SPR-16949
2018-06-19 11:51:45 +02:00
Stephane Nicoll
a774305cfc
Merge pull request #1860 from yuansuye:master
...
* pr/1860:
Fix broken link to CONTRIBUTING.md
2018-06-19 09:07:45 +02:00
Ryan Yin
df38af361c
Fix broken link to CONTRIBUTING.md
...
Closes gh-1860
2018-06-19 09:07:07 +02:00
Rossen Stoyanchev
c97acbbd8d
Fix documentatio issue
2018-06-18 20:29:35 -04:00
Rossen Stoyanchev
03c305136d
Fix failing tests
2018-06-18 20:20:32 -04:00
Rossen Stoyanchev
28a5c3009e
Improve DEBUG/TRACE logging for Spring MVC
...
Issue: SPR-16898
2018-06-18 18:33:11 -04:00
Juergen Hoeller
003d643adc
Consistent support for new JsonMappingException wording in Jackson 2.9
...
Issue: SPR-16947
2018-06-17 21:42:20 +02:00
Mark Chesney
e4666c17ec
Support new exception message wording since Jackson 2.9
...
The wording changed from "Can not find" to "Cannot find" via PR #1682
Issues: SPR-16947
2018-06-17 13:27:20 +02:00
Sam Brannen
bea0e399b8
Polish profile expression support
...
Issue: SPR-12458
2018-06-17 00:15:18 +03:00
Sam Brannen
4184ebe799
Polish profile expression support
...
Issue: SPR-12458
2018-06-16 21:40:22 +03:00
Juergen Hoeller
38f9a7b072
FileSystemResource supports java.nio.file.Path based setup
...
Issue: SPR-16833
2018-06-15 22:12:14 +02:00
Juergen Hoeller
bb6ab5dc91
OS-independent alphabetical sorting of directory content
...
Issue: SPR-16838
2018-06-15 22:09:29 +02:00
Juergen Hoeller
51091f2242
Suppress deprecation warning in DefaultBeanDefinitionDocumentReader
...
Issue: SPR-12458
2018-06-15 22:09:23 +02:00
Stephane Nicoll
1f3b4f1863
Polish "Add profile expression support"
...
Issue: SPR-12458
2018-06-15 16:01:16 +02:00
Phillip Webb
e2623b7d35
Add profile expression support
...
Allow the `Environment` to accept a generic `Profiles` interface which
can support more complex matching rules. The previous
`acceptsProfiles(String...)` method now uses `Profiles.of` which
supports basic profile expressions such as "(a | b) & !c"
Issue: SPR-12458
2018-06-15 16:01:16 +02:00
Rossen Stoyanchev
58cce615f5
MvcUriComponentsBuilder is aware of path prefixes
...
Issue: SPR-16336
2018-06-14 22:11:53 -04:00
Rossen Stoyanchev
e6fef9555d
Check all HandlerMapping beans for named mappings
...
Related to (but not required by) SPR-16336.
2018-06-14 22:07:06 -04:00
Rossen Stoyanchev
dad9ed83b7
Polish MvcUriComponentsBuilder
2018-06-14 22:07:06 -04:00
Sam Brannen
e8bd16ab6e
Polish Eclipse/STS Project Import Guide
2018-06-15 01:26:05 +03:00
Sam Brannen
802763d26f
Reintroduce suppression of deprecation warning
2018-06-15 00:43:21 +03:00
Sam Brannen
8027e1f109
Remove obsolete suppression of deprecation warning
2018-06-14 22:48:34 +03:00
Sam Brannen
4ae4788e93
Delete unused import
2018-06-14 22:46:10 +03:00
Rossen Stoyanchev
ebdcc015a4
Correctly set maxAge and expires in ResponseCookie
...
Issue: SPR-16940
2018-06-14 13:07:17 -04:00
Brian Clozel
09d9450154
Add SameSite support in WebFlux SESSION cookies
...
This commit adds support for the "SameSite" attribute in response
cookies. As explained in rfc6265bis, this attribute can be used to limit
the scope of a cookie so that it can't be attached to a request unless
it is sent from the "same-site".
This feature is currently supported by Google Chrome and Firefox, other
browsers will ignore this attribute.
This feature can help prevent CSRF attacks; this is why this commit adds
this attribute by default for SESSION Cookies in WebFlux.
See: https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis
Issue: SPR-16418
2018-06-14 11:39:03 +02:00
Juergen Hoeller
1e5f8cc232
FilePart and MultipartFile provide transferTo(Path) variant
...
Also, ZeroCopyHttpOutputMessage provides writeWith(Path, int, int), enforcing that variant as the implementation target in 5.1 (analogous to FilePart).
Issue: SPR-16925
2018-06-14 00:42:36 +02:00
Juergen Hoeller
c38cb43527
MethodParameter strictly asserts parameter index -1 for return type
...
Issue: SPR-16889
2018-06-14 00:42:19 +02:00
Rossen Stoyanchev
afa45950ff
Polish ExchangeFilterFunction[s]
2018-06-13 17:14:49 -04:00
Rossen Stoyanchev
0b61c748f6
Protected methods for serializing form content
...
Issue: SPR-16855
2018-06-13 17:14:49 -04:00
Rossen Stoyanchev
278881b8df
Polish form writer and converter
2018-06-13 17:05:34 -04:00
Juergen Hoeller
0058a1f52d
Upgrade to Jackson 2.9.6
2018-06-13 22:04:32 +02:00
Juergen Hoeller
0dc434b35e
Polishing
2018-06-13 22:04:10 +02:00
Juergen Hoeller
3fc8ec498c
MockHttpServletRequest returns a single InputStream or Reader
...
Issue: SPR-16505
Issue: SPR-16499
2018-06-13 22:03:16 +02:00
Juergen Hoeller
9aed9bf823
Allow for custom ScheduledTaskRegistrar and/or ScheduledMethodRunnable
...
Issue: SPR-16834
Issue: SPR-16812
2018-06-13 22:03:01 +02:00
Rossen Stoyanchev
0078f46779
Use reflection for JdkFlowAdapter
...
To avoid compiler issues on Eclipse.
2018-06-13 09:38:54 -04:00
Rossen Stoyanchev
928b7804c8
Add example of explicit handler method registration
...
Issue: SPR-16336
2018-06-12 15:23:45 -04:00
Dave Syer
39af1b2281
Add instructions for importing into Eclipse using Buildship
2018-06-12 14:11:27 -04:00
Rossen Stoyanchev
0c669def4f
Minor polishing for URI encoding docs
2018-06-12 10:14:51 -04:00
Juergen Hoeller
0b64bcd319
Remove outdated Servlet environment constraints from annotation javadoc
...
Issue: SPR-16936
2018-06-12 11:28:13 +02:00
Allon Mureinik
2573a543b2
SPR-16936 Fix PathVariable javadoc
...
@PathVariable's javadoc states that it supports MultiValueMap
parameters (introduced by commit df0902), but by reading through the
code, that does not seem to be the case (compare, e.g.,
PathVariableMapMethodArgumentResolver to
RequestParamMapMethodArgumentResolver).
Moreover, parsing MultipleValueMap is done according to the ";"
character, and placing such a character in a path (e.g., consider
something like "/app/{param}/show" would just break the path.
This patch fixes PathVariable's javadoc by removing the mention of
MultiValueMap.
2018-06-12 11:12:57 +02:00
Brian Clozel
05ff8b722d
Fix ResourceRegion HttpMessageConverter write checks
...
This commit fixes the write checks for
`ResourceRegionHttpMessageConverter`, which was previously not checking
properly the parameterized type (e.g. in case of a `List<Something>`).
Issue: SPR-16932
2018-06-11 22:53:55 +02:00
Rossen Stoyanchev
ef41dcf687
Add HTTP caching to WebFlux section
...
Issue: SPR-16395
2018-06-11 16:39:12 -04:00
Rossen Stoyanchev
4a435c12f2
Polish Spring MVC docs on HTTP Caching
...
Issue: SPR-16395
2018-06-11 16:39:12 -04:00
Juergen Hoeller
59bd21d2fc
Restore xjc 2.2.11 (since 2.3.0.1 also breaks with "xjc failed" on CI)
2018-06-11 22:14:21 +02:00
Juergen Hoeller
9c36b53833
Upgrade to JAXB 2.3.0.1, Aalto XML 1.1, Rome 1.10
2018-06-11 22:01:51 +02:00
Juergen Hoeller
0777a80efe
Polishing
...
(cherry picked from commit a2765c0 )
2018-06-11 19:17:57 +02:00
Juergen Hoeller
4aafbe5a84
Remove outdated javadoc references to SpEL lambda functions
...
Issue: SPR-16930
(cherry picked from commit 78d3164 )
2018-06-11 19:16:14 +02:00
Brian Clozel
a5cd01a4c8
Restrict HTTP methods on Reactive HiddenHttpMethodFilter
...
This commit restricts the allowed HTTP methods on HiddenHttpMethodFilter
(Reactive variant) to the following: PUT, DELETE, PATCH.
This filter is meant to be used to simulate those methods from HTML
forms sent by browsers, so no other methods are allowed.
Issue: SPR-16836
2018-06-11 18:53:23 +02:00
Brian Clozel
f64fa3dea1
Restrict HTTP methods on Servlet HiddenHttpMethodFilter
...
This commit restricts the allowed HTTP methods on HiddenHttpMethodFilter
(Servlet variant) to the following: PUT, DELETE, PATCH.
This filter is meant to be used to simulate those methods from HTML
forms sent by browsers, so no other methods are allowed.
Issue: SPR-16836
2018-06-11 18:53:23 +02:00
Rossen Stoyanchev
d196cdc5cd
Update docs on @SendTo and @SendToUser
...
1. Explain that both can be used on the same method
2. Better describe semantics for class vs method level
3. General improvements
Issue: SPR-16336
2018-06-11 12:42:55 -04:00
Rossen Stoyanchev
f4bffea739
Support for @SendTo and @SendToUser for same method
...
Issue: SPR-16891
2018-06-11 12:42:55 -04:00
Rossen Stoyanchev
7a70f7c5d8
Polish @SendTo test
2018-06-11 12:42:55 -04:00
Rossen Stoyanchev
a31204938a
Getter for DispatcherSerlvet in MockMvc
...
Issue: SPR-16924
2018-06-11 12:42:55 -04:00
Brian Clozel
417354da8a
Remove dependency management noise from POMs
...
Prior to this commit, the generated POMs for Spring Framework modules
would contain unneeded/harmful information from the Spring Framework
build:
1. The BOM imports applied to each module by the dependency
management plugin, for example for Netty or Reactor Netty.
Spring should not export that opinion to its POMs.
2. The exclusion of "org.slf4:jcl-over-slf4j" from *all* dependencies,
which made the POMs much larger than necessary and suggested to
developers that they should exclude it as well when using all those
listed dependencies. In fact, only Apache Tiles currently brings that
transitively.
This commit removes that information from the POMs.
The dependencyManagement Gradle plugin is disabled for POM generation
and we manually resolve the dependency versions during the generation
phase.
The Gradle build is streamlined to exclude "org.slf4:jcl-over-slf4j"
only when necessary.
Issue: SPR-16893
2018-06-11 15:57:54 +02:00
Juergen Hoeller
7bce7504c7
JdbcTemplate consistently exposes first value of equally named columns
...
Issue: SPR-16578
2018-06-11 14:17:03 +02:00
Juergen Hoeller
b790bd1fd6
LinkedCaseInsensitiveMap explicitly implements put/computeIfAbsent
...
Issue: SPR-16926
2018-06-11 14:10:12 +02:00
Juergen Hoeller
646d7f9e57
Unit tests for @MessageExceptionHandler cause and error resolution
...
Issue: SPR-16912
2018-06-11 13:44:43 +02:00
Stephane Nicoll
fa82684c08
Merge pull request #1848 from cheese10yun:master
...
* pr/1848:
Prevent instantiation of AnnotatedElementUtils
2018-06-11 08:34:11 +02:00
Yun
28e402bc76
Prevent instantiation of AnnotatedElementUtils
...
Closes gh-1848
2018-06-11 08:32:03 +02:00
Juergen Hoeller
65a6a04853
Upgrade to Jetty 9.4.11
2018-06-10 23:59:28 +02:00
Juergen Hoeller
0c8cfa05b5
AbstractMethodMessageHandler processes Error as MessageHandlingException
...
Issue: SPR-16912
2018-06-10 23:59:07 +02:00
Juergen Hoeller
e2ccd55d14
ReflectivePropertyAccessor uses computeIfAbsent for cache computation
...
Issue: SPR-16882
2018-06-10 23:56:32 +02:00
Juergen Hoeller
b71795ba36
Restore original DefaultLifecycleProcessor behavior for the time being
...
Issue: SPR-16901
2018-06-10 23:52:27 +02:00
Rossen Stoyanchev
86c861516d
Accept Predicate instead of HandlerTypePredicate
...
Issue: SPR-16336
2018-06-08 15:32:07 -04:00
Brian Clozel
0092653d42
Fix JDK9 build after Groovy 2.5 upgrade
...
After the Groovy 2.5 upgrade, the Spring Framework build on JDK9 hit
GROOVY-8631. Adding the relevant `jax-api` dependency to the module
didn't fix this issue. The Groovy release notes mention the use of the
`--add-modules` JVM flag, but this is not an option for this build which
should run on JDK8 -> JDK11.
This commit changes the dependency from `groovy-all` to more focused
dependencies on Groovy in the `spring-beans` and `spring-context`
modules. This change seems to avoid the automatic loading of Groovy
enhancements to JAXB (shipped with `groovy-xml`).
See:
* http://groovy-lang.org/releasenotes/groovy-2.5.html#Groovy2.5releasenotes-Knownissues
* https://issues.apache.org/jira/browse/GROOVY-8631
Issue: SPR-15407
2018-06-08 13:37:44 +02:00
Sebastien Deleuze
ac37b678a3
Remove JSONP support
...
CORS is now widely supported and should be used instead for cross-domain
requests.
Issue: SPR-16914
2018-06-08 12:15:48 +02:00
Rossen Stoyanchev
19dc981685
Path prefixes for groups of controllers
...
Issue: SPR-16336
2018-06-07 18:18:42 -04:00
Rossen Stoyanchev
31159a8506
Extract HandlerTypePredicate from ControllerAdviceBean
...
Issue: SPR-16336
2018-06-07 18:18:42 -04:00
Juergen Hoeller
25559b9e44
Polishing
2018-06-06 21:31:24 +02:00
Juergen Hoeller
7ece0e219e
Correct code example for YamlProcessor.setDocumentMatchers
...
Issue: SPR-16849
2018-06-06 21:27:00 +02:00
Juergen Hoeller
bfcc1a1f6a
ReflectivePropertyAccessor caches sorted methods per class
...
Issue: SPR-16882
2018-06-06 21:25:53 +02:00
Juergen Hoeller
6cf197864c
DefaultLifecycleProcessor properly handles count for dependent beans
...
Issue: SPR-16901
2018-06-06 21:25:26 +02:00
Juergen Hoeller
0941081b0a
Upgrade to HSQLDB 2.4.1, Derby 10.14.2.0, HtmlUnit 2.31, Selenium 3.12
2018-06-06 21:24:53 +02:00
Rossen Stoyanchev
72b1d4c648
Remove explicit references to Reactor Netty version
...
...now that 0.8 is also listed in the Reactor bom.
Issue: SPR-16387
2018-06-06 14:35:54 -04:00
Rossen Stoyanchev
fd946b8157
Protected getContentType in DecoderHttpMessageReader
...
Issue: SPR-16856
2018-06-05 16:23:21 -04:00
Rossen Stoyanchev
42b4a2feef
Exapmle of configuring heartbeats for simple broker in docs
...
Issue: SPR-16905
2018-06-05 12:16:29 -04:00
Brian Clozel
522f71b907
Update Gradle plugins
2018-06-05 15:25:40 +02:00
Rossen Stoyanchev
3acb96efd0
CachingResourceResolver varies by known codings only
...
Issue: SPR-16381
2018-06-04 23:30:35 -04:00
Rossen Stoyanchev
010352163b
Eliminate the need for Encoder#getContentLength
...
Issue: SPR-16892
2018-06-04 15:48:47 -04:00
Rossen Stoyanchev
124d4c833c
Support for Servlet request params with HTTP DELETE
...
This commit adds FormContentFilter, which is the same as the
HttpPutFormContentFilter but also supports DELETE.
The HttpPutFormContentFilter is now deprecated.
Issue: SPR-16874
2018-06-04 15:48:47 -04:00
Stephane Nicoll
7396309dba
Merge pull request #1849 from jasssonpet:patch-1
...
* pr/1849:
Fix format typo in webmvc.adoc
2018-06-04 20:56:33 +02:00
Jason Zhekov
6f17c28246
Fix format typo in webmvc.adoc
...
Closes gh-1849
2018-06-04 20:56:09 +02:00
Sebastien Deleuze
f2ee18493f
Make RouterFunctionDsl extensible
...
Issue: SPR-16897
2018-06-04 15:35:25 +02:00
Stephane Nicoll
f1871f9e3f
Fix faulty BeanPostProcessorChecker logs with @EnableCaching
...
Issue: SPR-16896
2018-06-04 14:51:14 +02:00
Sam Brannen
2390695804
Upgrade to Gradle 4.8
2018-06-04 14:03:27 +02:00
Sam Brannen
5811d13d6c
Upgrade to Gradle 4.7
2018-06-02 18:23:08 +02:00
Sam Brannen
237c0defa7
Use built-in Gradle wrapper task
2018-06-02 16:37:45 +02:00
Sam Brannen
ce002b450a
Upgrade to Groovy 2.5 GA
...
Issue: SPR-15407
2018-06-02 16:37:02 +02:00
Sebastien Deleuze
b71d0eeec9
Fix Kotlin bean DSL conditional handling
...
Issue: SPR-16412
2018-06-01 14:40:27 +02:00
Juergen Hoeller
356bfe6e2e
Upgrade to Joda-Time 2.10
2018-05-31 23:35:15 +02:00
Rossen Stoyanchev
a3216432b5
Polish
...
Issue: SPR-16387
2018-05-31 15:38:30 -04:00
Violeta Georgieva
ffbc75ae47
Upgrade to Reactor Netty 0.8
...
Issue: SPR-16387
2018-05-31 15:37:39 -04:00
Stephane Nicoll
61ffbe5554
Merge pull request #1844 from violetagg:fixes-in-docs
...
* pr/1844:
Fix code examples for WebFlux functional endpoints
2018-05-31 15:19:10 +02:00
Violeta Georgieva
aed63d38b2
Fix code examples for WebFlux functional endpoints
...
Closes gh-1844
2018-05-31 15:18:36 +02:00
Sebastien Deleuze
a7a29a8226
Revisit PropertyResolver Kotlin extensions
...
Issue: SPR-16883
2018-05-31 12:20:37 +02:00
Stephane Nicoll
ab9b575da6
Merge pull request #1843 from izeye:patch-6
...
* pr/1843:
Polish doc
2018-05-31 10:20:10 +02:00
Johnny Lim
9c61bb6cdd
Polish doc
...
Closes gh-1843
2018-05-31 10:19:57 +02:00
Juergen Hoeller
1b728fb244
Polishing
2018-05-30 11:10:37 +02:00
Juergen Hoeller
0c52699102
Revised example code (including correct visibility for execute method)
2018-05-30 11:10:29 +02:00
Juergen Hoeller
f3e860e8f1
Resource handler tests expect status 404 for directory in jar file
...
Issue: SPR-16832
2018-05-30 00:31:35 +02:00
Juergen Hoeller
616a40adb6
ClassPathResource.isReadable() returns false for content length 0
...
Issue: SPR-16832
2018-05-29 22:31:47 +02:00
Juergen Hoeller
8d94d20770
Upgrade to Hibernate ORM 5.3.1 and Undertow 2.0.9
2018-05-29 21:53:06 +02:00
Juergen Hoeller
b39ce80c87
Doc: @EnableScheduling needs to be declared per application context
...
Issue: SPR-16852
2018-05-29 21:52:51 +02:00
Juergen Hoeller
c75423216c
AbstractRequestLoggingFilter.isIncludeHeaders() declared as protected
...
Issue: SPR-16881
2018-05-29 21:52:31 +02:00
Juergen Hoeller
74fcdea2d9
SimpleAliasRegistry logs info message for alias overriding
...
Issue: SPR-16871
2018-05-29 21:51:33 +02:00
Juergen Hoeller
46a89d9534
Restore lenient null return value for ConditionContext.getBeanFactory()
...
Includes nullable return value for getClassLoader() with corresponding notes in applicable javadoc.
Issue: SPR-16866
2018-05-29 21:51:06 +02:00
Juergen Hoeller
5bbeadec0c
Detect nested configuration classes even for empty outer classes
...
Issue: SPR-16839
2018-05-29 21:47:53 +02:00
Juergen Hoeller
69f14a2038
ClassPathResource.isReadable() checks InputStream (for jar directories)
...
Resource.isReadable() is defined to semantically imply exists() now.
Issue: SPR-16832
2018-05-29 21:47:33 +02:00
Juergen Hoeller
8593fec22c
Avoid ConstantConditions warnings suppression (plus related polishing)
...
Issue: SPR-15756
2018-05-29 21:47:10 +02:00
Arjen Poutsma
8c30b8e628
Fix parent path variables in nested route functions
...
This commit fix an issue where path variables in a nested parent
RouterFunction were not committed to the request attributes.
Issue: SPR-16868
2018-05-29 15:48:31 +02:00
nkjackzhang
e57d8e1e60
Remove extra backquote
2018-05-29 14:20:51 +02:00
Sebastien Deleuze
be416ef9c4
Polish BeanDefinitionDsl
...
Issue: SPR-16412
2018-05-29 09:34:35 +02:00
Sebastien Deleuze
406f6ec74d
Fix PropertyResolverExtensions.kt location
2018-05-28 15:51:22 +02:00
Rossen Stoyanchev
2acf91a438
Polish
2018-05-26 09:24:23 -04:00
Rossen Stoyanchev
3ede3a4b34
Extension point in HttpMessageConverterExtractor
2018-05-25 13:45:10 -04:00
Rossen Stoyanchev
c7c3e5585b
X-Forwarded-Ssl is listed in ForwardedHeaderFilter
...
Issue: SPR-16863
2018-05-25 13:39:37 -04:00
Rossen Stoyanchev
d77797f42c
Improve readability of Body[Inserters|Extractors]
2018-05-25 13:32:00 -04:00
Stephane Nicoll
9fb2fd66c0
Merge pull request #1836 from garyrussell:jmsdoc
...
* pr/1836:
Fix JMS Doc typo
2018-05-25 16:31:50 +02:00
Gary Russell
c4efe79d5a
Fix JMS Doc typo
...
There is no such class `ReplyQosSettings`.
Closes gh-1836
2018-05-25 16:31:26 +02:00
Juergen Hoeller
836a09d5c0
Upgrade to Woodstox 5.1, XMLUnit 2.6, Gson 2.8.5
2018-05-25 00:18:06 +02:00
Rossen Stoyanchev
3eac2dd31e
Support X-Forwarded-Ssl
...
Issue: SPR-16863
2018-05-24 16:14:12 -04:00
Rossen Stoyanchev
85e8634810
Properly initialize URI/Matrix vars w/ urlDecode=false
...
Issue: SPR-16867
2018-05-24 15:08:39 -04:00
Rossen Stoyanchev
2a993bf9ff
Respect async request timeout of -1 in MockMvc
...
When falling back on the timeout associated with the async request,
a value of -1 must be treated as: never time out.
Issue: SPR-16869
2018-05-24 12:33:19 -04:00
Rossen Stoyanchev
82480a7908
Update docs on WebClient filters
2018-05-24 07:16:54 -04:00
Rossen Stoyanchev
ed439eefcf
Minor update to STOMP chapter
...
Issue: SPR-16681
2018-05-23 21:49:25 -04:00
Rossen Stoyanchev
fbf25c536d
ChannelInterceptor default methods + deprecate adapter
2018-05-23 21:48:19 -04:00
Rossen Stoyanchev
eed663ff7e
Fix error in WebFlux chapter on static resources
...
Issue: SPR-16864
2018-05-23 21:27:02 -04:00
Rossen Stoyanchev
72022899de
Polish Forwarded header support
2018-05-23 21:23:23 -04:00
Rossen Stoyanchev
1e4a3a2370
Return SslInfo only if X509Certificate[] present
...
Issue: SPR-16842
2018-05-23 21:23:23 -04:00
Juergen Hoeller
cb80eac9d7
Upgrade to RxJava 2.1.14 and Groovy 2.5 RC3
2018-05-24 00:58:45 +02:00
Rossen Stoyanchev
d035593562
Update @RequestParam Javadoc and remove Portlet mentions
2018-05-23 11:52:14 -04:00
Rossen Stoyanchev
b472d192f4
Improve support for caching encoded resources
...
The key in CachingResourceResolver now includes the "Accept-Encoding"
request header cleaned to exclude "*", "identity", and parameters, and
also sorted alphabetically.
For encoded resources the response now includes a response header with
"Vary: Accept-Encoding".
Issue: SPR-16381
2018-05-23 09:17:21 -04:00
Rossen Stoyanchev
9274de390a
Polish resource handling tests
2018-05-23 09:17:21 -04:00
Rossen Stoyanchev
f121aa5e31
Immutable Resource[Resolver|Transformer]Chains
...
Issue: SPR-16862
2018-05-23 09:17:21 -04:00
Rossen Stoyanchev
5207672b3f
Configurable support for static resource encodings
...
The new EncodedResourceResolver is a generalized version of
GzipResourceResolver that can be configured to support different
content codings, by "br" and "gzip".
GzipResourceResolver is now deprecated.
Issue: SPR-16381
2018-05-23 09:17:21 -04:00
Sebastien Deleuze
3410155875
Upgrade to Dokka 0.9.17
2018-05-22 17:42:55 +02:00
Rossen Stoyanchev
9b496b1264
CodecConfigurer internal refactoring
...
Improve how HTTP message writers are obtained for general use vs for
multipart requests.
2018-05-21 21:10:44 -04:00
Rossen Stoyanchev
6e5273f08e
Polish CodecConfigurer support classes
...
Functionally equivalent updates to package private classes to improve
the code and make it easier to understand.
2018-05-21 21:09:42 -04:00
Rossen Stoyanchev
1f8476aaf3
Add missing @param
2018-05-21 21:09:29 -04:00
Stephane Nicoll
36f8d49c4a
Polish
2018-05-19 10:32:25 +02:00
Rossen Stoyanchev
192c7a5627
WebSession to WebSocketSession attribute passing
...
This commit makes it possible to pass attributes from the WebSession of
a handshake request to the WebSocketSession, by configuring a
Predicate<String> on HandshakeWebSocketService.
Issue: SPR-16212
2018-05-18 21:32:46 -04:00
Rossen Stoyanchev
9074828478
Add attributes to WebFlux WebSocketSession
...
Issue: SPR-16212
2018-05-18 21:32:46 -04:00
Rossen Stoyanchev
e043481a26
STOMP client supports setting accept-version
...
Issue: SPR-16844
2018-05-18 21:32:46 -04:00
Rossen Stoyanchev
592dc628d5
Use specific XSD types in spring-websocket.xsd
...
Issue: SPR-16531
2018-05-18 21:32:46 -04:00
Rossen Stoyanchev
d58888777f
Polish ReactiveAdapterRegisry
2018-05-18 21:32:46 -04:00
Juergen Hoeller
285eb94a03
Upgrade to Hibernate Validator 6.0.10
2018-05-18 22:22:12 +02:00
Juergen Hoeller
6710291bbd
Polishing
2018-05-18 22:21:33 +02:00
Juergen Hoeller
d9c63182d9
MapSqlParameterSource.addValue declares nullable value parameter
...
Issue: SPR-16843
2018-05-18 22:20:29 +02:00
Juergen Hoeller
5b3bbad6a0
ConcurrentModel.addAttribute javadoc: null value not supported
...
Issue: SPR-16831
2018-05-18 22:20:08 +02:00
Rossen Stoyanchev
fbd12e9d16
Support for SslInfo in ServerHttpRequest#mutate
...
Issue: SPR-16830
2018-05-17 17:27:52 -04:00
Rossen Stoyanchev
ade2eab169
Polish WebFlux WebSocket docs
...
Issue: SPR-16820
2018-05-17 10:02:54 -04:00
Arjen Poutsma
b03905e2b0
Improve toString for filtered router function
...
Issue: SPR-16829
2018-05-17 12:32:57 +02:00
Rossen Stoyanchev
543f190239
Expand WebFlux docs with WebSocketHandler examples
...
Issue: SPR-16820
2018-05-16 21:30:31 -04:00
Rossen Stoyanchev
37b0ed9fcb
Improve TCP connection info logging.
...
After the recent changes to expose configuring TcpOperations, it no
longer makes sense to automatically log the relayHost/Port since that's
mutually exclusive with a custom TcpOperations.
Instead we delegate to TcpOperations.toString().
Issue: SPR-16801
2018-05-16 11:40:51 -04:00
Rossen Stoyanchev
4ff4d5a181
Allow client-side use of BodyExtractors#toFormData
...
Issue: SPR-16804
2018-05-16 10:41:50 -04:00
Rossen Stoyanchev
020c6c0102
Polish: remove Javadoc tags from spring-websocket.xsd
2018-05-16 10:18:01 -04:00
Rossen Stoyanchev
29158aa79a
Expose timeToFirstMessage in Java/XML config
...
Issue: SPR-16531
2018-05-16 10:03:57 -04:00
Rossen Stoyanchev
18854ee544
Polish: simplify ControllerMethodResolver initialization
2018-05-16 10:03:57 -04:00
Arjen Poutsma
7424ca5790
Improve toString for query param and path extension predicates
...
Issue: SPR-16829
2018-05-16 11:14:21 +02:00
Juergen Hoeller
765d18eb94
Revised code examples for stored procedure type declarations
...
Issue: SPR-16811
2018-05-16 00:46:57 +02:00
Juergen Hoeller
009824598c
SchedulerFactoryBean triggers shutdown after registration failure
...
Issue: SPR-16816
2018-05-16 00:45:33 +02:00
Juergen Hoeller
3c8c99664f
Query termination for JPA 2.1 StoredProcedureQuery.execute() method
...
Issue: SPR-16826
2018-05-16 00:44:52 +02:00
Juergen Hoeller
bba5dcaab3
AspectJExpressionPointcut evaluates interface method on proxy as well
...
Issue: SPR-16803
2018-05-16 00:43:51 +02:00
Sebastien Deleuze
265960f09c
Add StatusResultMatchers.isEqualTo Kotlin extension
...
Issue: SPR-16429
2018-05-15 15:37:47 +02:00
Sebastien Deleuze
2c85be333c
Filter synthetic in ReflectionUtils#USER_DECLARED_METHODS
...
Issue: SPR-16823
2018-05-15 14:58:50 +02:00
Juergen Hoeller
e0ccbcbb66
Upgrade to Hibernate ORM 5.3 GA
...
Issue: SPR-16303
2018-05-15 12:33:33 +02:00
Sebastien Deleuze
bdfee3417e
Polishing
2018-05-15 10:45:20 +02:00
Eddú Meléndez
48c3fa9908
Add visibility support to Jackson2ObjectMapperBuilder
...
Issue: SPR-16411
2018-05-15 10:45:20 +02:00
Rossen Stoyanchev
7fd0cac6f2
Include FormHttpMessageReader in client codecs
...
Issue: SPR-16804
2018-05-14 23:16:36 -04:00
Rossen Stoyanchev
3af5f00ee7
UnsupportedMediaType[Status]Exception reports body type
...
Issue: SPR-16805
2018-05-14 23:16:36 -04:00
Rossen Stoyanchev
395792b302
Produces media types cleared prior to error handling
...
Issue: SPR-16318
2018-05-14 23:16:36 -04:00
Juergen Hoeller
b3b233b43a
Upgrade to Groovy 2.5 RC2
...
Includes upgrade to Netty 4.1.25, Undertow 2.0.7, Hibernate ORM 5.1.14.
Issue: SPR-15407
2018-05-15 01:02:08 +02:00
Rossen Stoyanchev
6cf6d8834c
List OPTIONS in OPTIONS responses for @RequestMapping
...
Issue: SPR-16513
2018-05-14 09:05:03 -04:00
Rossen Stoyanchev
f7d60b7f58
Add getResource to MultipartFile
...
Issue: SPR-16808
2018-05-14 09:04:33 -04:00
Rossen Stoyanchev
ab6a6f4e17
Merge multipart and query param values
...
DefaultMultipartHttpServletRequest always returned mulitpart parameter
values only rather than aggregating with query parameters, which
contradicts with Servlet spec, section 3.1, and is inconsistent with
StandardMultipartHttpServletRequest.
Issue: SPR-16590
2018-05-14 09:03:55 -04:00
Rossen Stoyanchev
23001a6c3d
Update WebFlux RequestPart tests
...
Issue: SPR-16621
2018-05-14 09:03:14 -04:00
Sebastien Deleuze
ed97e14c7a
Update Kotlin refdoc with the new tutorial
2018-05-14 10:55:42 +02:00
Rossen Stoyanchev
5cee607f28
WebFlux @RequestPart support for List and Flux arguments
...
The resolver now supports List<T>, Flux<T>, and List<Part>.
Issue: SPR-16621
2018-05-11 18:38:29 -04:00
Rossen Stoyanchev
15182b29a4
Add MockWebSession for use with MockServerWebExchange
...
Issue: SPR-16772
2018-05-11 10:53:28 -04:00
Rossen Stoyanchev
7f954ebc32
Inject UriComponentsBuilder relative to webapp root
...
Issue: SPR-16813
2018-05-11 09:52:02 -04:00
Rossen Stoyanchev
4da43de7e1
Remove individual detection of forwarded headers
...
This commit removes all places where forwarded headers are checked
implicitly, on an ad-hoc basis.
ForwardedHeaderFilter is expected to be used instead providing
centralized control over using or discarding such headers.
Issue: SPR-16668
2018-05-11 09:31:39 -04:00
Rossen Stoyanchev
82a8e42ff9
Correct coordinates for Reactor Netty in STOMP chapter
...
Issue: SPR-16802
2018-05-10 16:44:27 -04:00
Rossen Stoyanchev
d3f3b41f52
MockHttpServletResponse writer sets committed flag
...
Issue: SPR-16683
2018-05-10 16:22:54 -04:00
Rossen Stoyanchev
79e809be24
Public RequestCallback/ResponseExtractor factory methods
...
Issue: SPR-8604
2018-05-10 15:39:47 -04:00
Rossen Stoyanchev
eef592d901
Add builder to MockServerWebExchange
...
Issue: SPR-16772
2018-05-10 15:16:13 -04:00
Stephane Nicoll
d82b0e37df
Merge pull request #1824 from nkjackzhang:patch-1
...
* pr/1824:
Fix a typo in javadoc
2018-05-10 17:32:36 +02:00
nkjackzhang
a1fa0daad5
Fix a typo in javadoc
...
Closes gh-1824
2018-05-10 17:32:21 +02:00
Rossen Stoyanchev
da6e9c6d54
Restore layout of docs zip with index.html at the top
...
Issue: SPR-16799
2018-05-09 17:29:04 -04:00
Sam Brannen
7444a62f98
Test Spring-managed JUnit Jupiter extension
2018-05-09 13:34:30 +02:00
Rossen Stoyanchev
1aadf2c3a6
Refine compareTo for param and header conditions
...
Issue: SPR-16674
2018-05-08 18:12:51 -04:00
Juergen Hoeller
c238fb441b
Polishing
...
(cherry picked from commit 2da02cc )
2018-05-08 00:58:58 +02:00
Juergen Hoeller
a200df6c8d
Explicit coverage of root vs cause exception matching in MVC ref docs
...
Issue: SPR-16743
2018-05-07 22:30:26 +02:00
Rossen Stoyanchev
e4b4d3e2f6
Document throwExceptionIfNoHandlerFound property
...
Issue: SPR-16786
2018-05-07 16:10:49 -04:00
Juergen Hoeller
53aa9cc4cd
Upgrade to Servlet API 4.0.1 (aligned with Tomcat 9 and Undertow 2)
...
Issue: SPR-16470
2018-05-07 14:17:28 +02:00
Juergen Hoeller
3917737df2
Polishing
2018-05-07 14:17:15 +02:00
nkjackzhang
321d7b0b06
Put CacheControl.empty() in else part.
...
Make sure the constructor of `CacheControl` being invoked only once.
2018-05-07 13:13:44 +02:00
Juergen Hoeller
795e5d306c
Upgrade to JSR-354 Money & Currency API 1.0.3 and Moneta 1.2.1
2018-05-05 20:38:28 +02:00
Juergen Hoeller
504e2768de
Add SAP HANA to common JPA database platforms
...
Issue: SPR-16460
2018-05-05 20:38:10 +02:00
Juergen Hoeller
a4b44e2713
Upgrade to Hibernate ORM 5.3 CR2
2018-05-05 17:13:50 +02:00
Juergen Hoeller
d0bd57b100
Polishing
...
(cherry picked from commit 0795ae5 )
2018-05-05 17:04:24 +02:00
Juergen Hoeller
48807be482
Polishing
2018-05-05 15:16:08 +02:00
Juergen Hoeller
c9f488363d
Fine-tuned assertions and related polishing
2018-05-05 14:39:43 +02:00
Juergen Hoeller
e17fc8d607
Upgrade to Tomcat 9.0.8, Undertow 2.0.6, Jetty 9.4.10, Gson 2.8.4
2018-05-05 12:47:34 +02:00
Juergen Hoeller
138b0d0bbd
YamlProcessor embraces SnakeYAML 1.18+ duplicate key handling
...
Includes removal of StrictMapAppenderConstructor for compatibility with SnakeYAML 1.21.
Issue: SPR-16791
2018-05-05 12:47:11 +02:00
Juergen Hoeller
7b894fe73b
ResponseEntityExceptionHandler rethrows unknown exception (for further processing in DispatcherServlet's HandlerExceptionResolver chain)
...
Issue: SPR-16743
2018-05-05 12:46:58 +02:00
Johnny Lim
fb898e1727
Remove inconsistent spaces
2018-05-05 11:07:35 +02:00
Johnny Lim
8f21cb1a7c
Polish DatabaseStartupValidator
2018-05-05 11:07:20 +02:00
Arjen Poutsma
bfb2effddb
Expose resource lookup function
...
This commit exposes the resource lookup function used by
`RouterFunctions.resources(String, Resource)`, so that it can be
composed upon.
Issue: SPR-16788
2018-05-04 13:36:24 +02:00
nkjackzhang
cdf483fd50
Task "docsZip" copies duplicate reference files
...
Specify task "docsZip" source directory.
Issue: SPR-16789
2018-05-03 16:36:42 -04:00
Arjen Poutsma
51325afbcc
Clean up path variables after non match
...
This commit makes sure the nested path variables are only commited to
the attributes when all predicates match.
Issue: SPR-16692
2018-05-03 11:02:46 +02:00
Stephane Nicoll
03af55a363
Merge pull request #1817 from sgrillon14:master
...
* pr/1817:
Remove unnecessary boxing
2018-05-03 10:49:45 +02:00
Stéphane GRILLON
c5278aa359
Remove unnecessary boxing
...
Closes gh-1817
2018-05-03 10:48:50 +02:00
Rossen Stoyanchev
f7029ffca6
Uncomment ignored test after Reactor Core fix
2018-05-02 15:44:24 -04:00
Juergen Hoeller
9281f820f1
Expose FactoryBean's raw object on retrieval during post-processing
...
Issue: SPR-16783
2018-05-02 15:21:40 +02:00
Juergen Hoeller
c8b6233bd0
Introspect originating bean definition as configuration class candidate
...
Issue: SPR-16756
2018-05-02 15:20:42 +02:00
Rossen Stoyanchev
4c021d04ce
@Ignore failing test from reactor-core regression
2018-05-02 07:23:46 -04:00
Sebastien Deleuze
af0cb53742
Support decoding Mono in Jaxb2XmlDecoder
...
Issue: SPR-16759
2018-05-02 12:10:46 +02:00
Arjen Poutsma
22edab852d
Provide simple way to create ServerRequest
...
This commit introduces support for creating a new `ServerRequest` from
an existing instance. This is especially useful when filtering requests
in a HandlerFilterFunction.
Issue: SPR-16707
2018-05-02 10:54:00 +02:00
Juergen Hoeller
f8c2d7ab51
Nullable HttpMethod parameter only on internal doExecute delegate
...
Issue: SPR-15540
2018-05-01 23:52:12 +02:00
Juergen Hoeller
21fad8e205
SimpleClientHttpResponse catches any Exception on close
...
Issue: SPR-16773
2018-05-01 23:51:05 +02:00
Juergen Hoeller
ad0d79a97b
Lenient fallback to plain getBundle call without Control handle
...
Includes defaultEncoding variant for platform default encoding.
Issue: SPR-16776
2018-05-01 23:50:34 +02:00
Juergen Hoeller
ac1e2a4598
Consistent SpelEvaluationException messages in findAccessorForMethod
...
Includes abstract declarations for FormatHelper and ReflectionHelper.
Issue: SPR-16762
2018-05-01 23:48:26 +02:00
Rossen Stoyanchev
64b8b6e978
Polish WebSocketIntegrationTests
2018-05-01 14:26:21 -04:00
Rossen Stoyanchev
725d685799
ReactorNettyWebSocketSession implements close properly
...
Issue: SPR-16774
2018-05-01 12:04:37 -04:00
Oleksandr Hasheniuk
6545cab42c
Improve performance of StringUtils#trimWhitespace
...
Issue: SPR-16766
2018-05-01 11:16:34 +02:00
Rossen Stoyanchev
8d157cb5b5
Consistent handling of URISyntaxException
...
Issue: SPR-16778
2018-04-30 21:02:36 -04:00
Rossen Stoyanchev
85ee36b385
Uncomment tests that now work
2018-04-30 19:47:14 -04:00
Jeremy Wright
1edd7c3540
Grammatical change.
2018-04-30 16:34:04 -04:00
Sam Brannen
de4b65a0f3
Suppress warnings in RequestMappingMessageConversionIntegrationTests
2018-04-30 12:05:34 +01:00
Sam Brannen
6fa1095e35
Upgrade to JUnit Jupiter 5.2
2018-04-30 11:21:26 +01:00
Sebastien Deleuze
ea713cf154
Upgrade to Kotlin 1.2.41
...
Fixes KT-23973 critical regression
2018-04-30 10:40:27 +02:00
Stephane Nicoll
e51330e905
Keep YAML entries that haven an empty array value
...
Prior to this commit, a YAML entry that define an empty array value was
lost. This commit makes sure to flag it with an empty String, which
corresponds as an empty comma separated list of entries in the
properties format.
Issue: SPR-16769
2018-04-29 10:30:08 +02:00
Stephane Nicoll
2bd3b534fb
Merge pull request #1813 from Nickolas-Evans:master
...
* pr/1813:
Fix typo
2018-04-28 10:51:47 +02:00
Nickloas
0d36401f99
Fix typo
...
Closes gh-1813
2018-04-28 10:51:18 +02:00
Juergen Hoeller
674015154c
Upgrade to RxJava 2.1.13
2018-04-27 23:38:04 +02:00
Juergen Hoeller
9bff5b48cf
Fine-tuned assertions and related polishing in WebFlux builders
2018-04-27 23:36:58 +02:00
Johnny Lim
6519e7b22a
Polish
2018-04-27 14:06:48 -04:00
Juergen Hoeller
d979bbad2d
Expose AspectJ 1.9.1 in Maven POMs
...
Includes upgrade to Hibernate ORM 5.2.17 for integration tests.
Issue: SPR-16780
2018-04-27 19:33:50 +02:00
Juergen Hoeller
a683472daa
Support for non-standard HTTP status in reactive ClientHttpResponse
...
Issue: SPR-16748
2018-04-27 18:25:11 +02:00
Juergen Hoeller
44cf002c00
Null-safe handling of response type in AcceptHeaderRequestCallback
...
Issue: SPR-16690
2018-04-27 18:24:59 +02:00
Juergen Hoeller
d5aedac6db
Avoid custom ResourceBundle.Control on Jigsaw (as far as possible)
...
Issue: SPR-16776
2018-04-27 18:24:31 +02:00
Juergen Hoeller
eaff2c28a7
Consistent target method resolution for event and caching expressions
...
Issue: SPR-16779
2018-04-27 18:23:42 +02:00
Juergen Hoeller
aa11721ff0
AopUtils.getMostSpecificMethod exposes dynamic proxy class methods
...
Includes efficient canApply check for IntroductionAwareMethodMatcher.
Issue: SPR-16757
2018-04-27 18:23:34 +02:00
sdeleuze
75a41db071
Fine tune WebFlux server logging verbosity
...
With this commit, WebFlux server uses warning instead of error log level
for request handling, and also just print the message instead of the
stacktrace which is mostly meaningless in reactive world.
Complementary to this change, Reactor Netty removed additional logging
as part of https://github.com/reactor/reactor-netty/issues/339 .
Issue: SPR-16688
2018-04-27 10:40:48 +02:00
nkjackzhang
5b8c6c46e1
Fix broken anchor link in WebFlux refdoc
2018-04-27 08:47:16 +02:00
sdeleuze
b5dfdbaa65
Reuse PartBodyStreamStorageFactory in SynchronossPartGenerator
...
Issue: SPR-16727
2018-04-26 10:59:11 +02:00
Johannes Edmeier
2a0540cb5f
Move init of excchangeStrategies to default ctor in DefaultWebClientBuilder
...
When the copy constructor is used the exchangeStrategies need not to be
initialized as they are set in the copyconstructor
fixes SPR-16771
2018-04-26 10:28:38 +02:00
nkjackzhang
d44f1ca2da
Fix typos in Spring MVC refdoc
...
1. Consistent with "xml code" examples.
2. "xml()" is a static method and will use default builder config,
so use createXmlMapper(true) instead.
3. Fix mvc namespace tag typo.
2018-04-26 10:00:50 +02:00
Rossen Stoyanchev
9bc4e70e93
Better assertion message in MockPart
...
Issue: SPR-16767
2018-04-25 09:59:06 -04:00
Stephane Nicoll
190e0c7481
Merge pull request #1806 from nkjackzhang:patch-2
...
* pr/1806:
Fix typos
2018-04-25 10:07:10 +02:00
nkjackzhang
24e8afeb73
Fix typos
...
Closes gh-1806
2018-04-25 10:02:24 +02:00
Stephane Nicoll
e0ea296e89
Merge pull request #1804 from hasheniuk:patch-1
...
* pr/1804:
Fix typo
2018-04-24 10:05:56 +02:00
hasheniuk
e0cb97abf0
Fix typo
...
Closes gh-1804
2018-04-24 10:05:43 +02:00
Rossen Stoyanchev
0e776d4e77
Add more detail to ISE in ServerEndpointExporter
...
Issue: SPR-16655
2018-04-23 17:03:09 -04:00
Rossen Stoyanchev
de18d96413
Validate contextPath in RedirectView
...
Issue: SPR-16752
2018-04-23 15:26:18 -04:00
Brian Clozel
e9a8a5065b
Disable HTTP Range support for InputStreamResource
...
Prior to this commit, the `AbstractMessageConverterMethodProcessor`
would fail to convert `InputStreamResource` to `ResourceRegion` as
expected, since the content length cannot be read without consuming the
stream. This is enforced by the `HttpRange` class.
Now the method processor would still try to output HTTP range response
headers to provide range support information. This step is using the
resource content length and reads the input stream, leading to
exceptions such as "IllegalStateException: InputStream has already been
read".
This commit improves the return type detection and excludes early
`InputStreamResource` return types. With those types, HTTP range support
is now completely disabled.
Issue: SPR-16754
2018-04-23 18:39:05 +02:00
Sam Brannen
ae3fd49ebb
Introduce non-transactional test for TestNG support
2018-04-23 16:18:02 +02:00
sdeleuze
919f54b3f6
Upgrade Kotlin to 1.2.40
2018-04-23 15:02:28 +02:00
sdeleuze
1d6540b1c2
Enable KotlinScriptTemplateTests after KT-18833 fix
2018-04-23 14:49:22 +02:00
Stephane Nicoll
19ac212868
Merge pull request #1803 from dimitrisli:master
...
* pr/1803:
Fix typo
2018-04-21 18:20:38 +02:00
Dimitrios (Dimi) Liapis
6d6da91ab9
Fix typo
...
See gh-1803
2018-04-21 18:16:13 +02:00
Brian Clozel
3f85eee510
Upgrade to Netty 4.1.24.Final
2018-04-21 09:33:06 +02:00
Stephane Nicoll
bf71e86677
Delete ignored files
...
See gh-1799
2018-04-20 06:16:58 +02:00
Rossen Stoyanchev
b6da63aeb7
Align with 5.0.x change #cd3ed7
2018-04-19 13:50:55 -04:00
Rossen Stoyanchev
da98ff72d2
Use StringDecoder to split SSE stream
...
ServerSentEventHttpMessageReader had logic to split on new lines
and buffer until an empty new line (start of a new event). To account
for random data chunking, it later re-assembled the lines for each
event and split again on new lines. However bufferUntil was still
unreliable a chunk may contain nothing but a newline, which doesn't
necessarily mean an empty newline in the overall SSE stream.
This commit simplifies the above by delegating the splitting of the
stream along newlines to StringDecoder.
Issue: SPR-16744
2018-04-19 11:29:12 -04:00
Rossen Stoyanchev
30c98c8a1c
Polish tests to use WebClient retrieve()
2018-04-19 09:39:34 -04:00
Daniel Kift
7eb8070d55
Polish WebFlux reference documentation
2018-04-18 12:00:53 +02:00
nkjackzhang
fb0e3e9356
Fix a typo in @Nullable Javadoc
2018-04-18 11:53:09 +02:00
Rossen Stoyanchev
06041ea4e2
Polish (minor) in AbstractMessageReaderArgumentResolver
2018-04-17 17:58:03 -04:00
Rossen Stoyanchev
babe6c59c4
Avoid creating Exception instance if not needed
...
Issue: SPR-16726
2018-04-17 17:58:03 -04:00
Juergen Hoeller
2f4010e8d3
Correctly delegate to OrderUtils.getPriority for DecoratingProxy
...
Issue: SPR-16739
2018-04-17 23:37:42 +02:00
Juergen Hoeller
d78e27f1e9
Avoid repeated superclass introspection in findAnnotation(Method,...)
...
Issue: SPR-16730
2018-04-17 16:44:28 +02:00
sdeleuze
568a0b5b79
Make ResponseSpec.expectBody Kotlin extension usable
...
Prior to this commit, due to KT-5464 type inference issue there was not
proper way to provide body expectations with WebTestClient. This commit
provides a workaround by updating the existing Kotlin extension to
return a Kotlin compatible API.
Issue: SPR-15692
2018-04-17 15:00:04 +02:00
Juergen Hoeller
51be8a7303
Workaround for generic parameter types on inner class constructors
...
Issue: SPR-16734
2018-04-17 14:32:54 +02:00
Juergen Hoeller
a2a8d0c754
Workaround for generic parameter types on inner class constructors
...
Issue: SPR-16734
2018-04-17 12:58:32 +02:00
Juergen Hoeller
d4a55a257b
OperatorMatches flags misguided evaluation attempts as FLAWED_PATTERN
...
Issue: SPR-16731
2018-04-17 11:10:15 +02:00
Juergen Hoeller
c5b524db7c
Restore original MethodMapTransactionAttributeSource matching rules
...
Issue: SPR-16733
2018-04-17 10:56:16 +02:00
Rossen Stoyanchev
ff2228fdaf
Selector header name is exposed for configuration
...
Issue: SPR-16732
2018-04-16 23:56:30 -04:00
Rossen Stoyanchev
586be50109
Fix typo
2018-04-16 10:02:47 -04:00
Rossen Stoyanchev
551505bd93
Restore handling of 0 bytes read
...
Issue: SPR-16728
2018-04-16 09:59:34 -04:00
Juergen Hoeller
0754833b37
Local XMLUnit dependency declarations with consistent version 2.5.1
2018-04-14 21:03:20 +02:00
Juergen Hoeller
de4ff4b1fc
Polishing
2018-04-14 21:02:53 +02:00
Juergen Hoeller
b95e05db04
AspectJExpressionPointcut consistently resolves superinterface methods
...
Includes efficient check for same ClassLoader in ClassUtils.isVisible, efficient MethodMatchers check for IntroductionAwareMethodMatcher, and supertype method resolution in MethodMapTransactionAttributeSource.
Issue: SPR-16723
2018-04-14 15:10:05 +02:00
Sam Brannen
c6ed41ec47
Suppress warning in SpringFailOnTimeoutTests
2018-04-14 15:02:57 +02:00
Stephane Nicoll
19d311dcb2
Merge pull request #1791 from nkjackzhang:patch-1
...
* pr/1791:
Fix typo in javadoc
2018-04-13 13:16:05 +02:00
nkjackzhang
961c641973
Fix typo in javadoc
...
Closes gh-1791
2018-04-13 13:15:39 +02:00
Brian Clozel
69e3fde295
Avoid duplicate Accept header values in RestTemplate
...
Prior to this commit, the various `HttpMessageConverter` instances
configured for a given `RestTemplate` instance could all contribute
`MediaType` values to the "Accept:" request header.
This could lead to duplicate media types in that request header,
cluttering for the HTTP request for no reason.
This commit ensures that only distinct values are added to the request.
Issue: SPR-16690
2018-04-12 22:28:31 +02:00
Juergen Hoeller
0efa7a05ad
ClassUtils.isCacheSafe delegates to isVisible for resolving classes
...
Issue: SPR-16714
2018-04-12 20:55:26 +02:00
Juergen Hoeller
46e3a919fe
Cache-safety check for sibling loaders resolving the same classes
...
Issue: SPR-16714
2018-04-12 18:50:32 +02:00
Brian Clozel
1fa5f03635
Upgrade to Reactor Californium SNAPSHOTs
2018-04-12 17:25:49 +02:00
Juergen Hoeller
6184c4ecc9
Consistent getTypeForFactoryMethod result for parameterized method
...
Issue: SPR-16720
2018-04-12 15:14:41 +02:00
Juergen Hoeller
8e1ececd97
Fine-tuned JCA MessageEndpoint exception logging and propagation
...
Issue: SPR-16717
2018-04-12 14:46:26 +02:00
Juergen Hoeller
7ee6130680
Revised reference example for linkable controller method signature
...
Issue: SPR-16710
2018-04-12 14:45:11 +02:00
sdeleuze
97ee94f4ca
Expose env and context in Kotlin beans DSL
...
This commit introduces a deferred initialization of the declared beans
in order to make it possible to access to the environment (and even
to the context for advanced use-cases) in the beans { } Kotlin DSL.
Issues: SPR-16269, SPR-16412
2018-04-12 11:31:37 +02:00
Sam Brannen
8317f12a9b
Move SpringFailOnTimeoutTests to 'statements' package
2018-04-12 11:14:08 +02:00
Sam Brannen
4f3a7dd9b4
Expand scope of SpringFailOnTimeoutTests
...
Issue: SPR-16716
2018-04-12 10:56:40 +02:00
Igor Suhorukov
3c34a1cb8c
Throw exception from user code in SpringFailOnTimeout even if a timeout occurs
...
Issue: SPR-16717
2018-04-12 10:37:13 +02:00
Rossen Stoyanchev
697d2e326f
Merge pull request #1785 from cakofony/iterator_allocation
2018-04-11 21:54:32 -04:00
Rossen Stoyanchev
cca78e42f1
Polish
2018-04-11 21:52:59 -04:00
Carter Kozak
e2febbdd8c
Remove unnecessary iterator allocation in type handlers
...
HandlerMethodReturnValueHandlerComposite and
AbstractMethodMessageHandler iterate using index over collections
implementing RandomAccess to avoid unnecessary iterators.
2018-04-11 21:39:32 -04:00
Rossen Stoyanchev
5b9e7e44e0
Improve WebClient test with ParameterizedTypeReference
...
Issue: SPR-16715
2018-04-11 16:19:53 -04:00
Rossen Stoyanchev
224589ea74
Remove write pausing in Undertow response
...
Using the simple example shown in the ticket but switching from
Mono<String> to Flux<String> (and 5,000,000 onNext calls) shows that
constant pausing causes significant overhead and is not worth the
trouble vs ignoring the onWritePossible in REQUESTED state.
Issue: SPR-16702
2018-04-11 14:27:27 -04:00
Rossen Stoyanchev
3549745e37
Avoid inifinite recursion in UndertowServerHttpResponse
...
Undertow does not provide a way to check if we can write so with the
current implementation of isWritePossible, deep recursion can occur
when writing slows down. We now use a flag to keep track of write
ChannelListener callbacks.
This commit also addresses a related issue in
AbstractListenerWriteProcessor that went undected since #3c2d186
where after a large (single) buffer that is not written fully, the
completion signal is processed before the all data is written.
Issue: SPR-16702
2018-04-11 14:27:27 -04:00
Juergen Hoeller
e88ca0d633
Upgrade framework build to Tomcat 9.0 and Undertow 2.0
...
Issue: SPR-16470
2018-04-11 16:06:26 +02:00
Juergen Hoeller
e170cb0f79
Upgrade framework build to JPA 2.2 and JTA 1.3
...
Issue: SPR-16685
2018-04-11 16:06:10 +02:00
Juergen Hoeller
f28a5d0cf7
Proper exception for controller method return types that do not work with MvcUriComponentsBuilder (e.g. final classes)
...
Includes direct use of ControllerMethodInvocationInterceptor for return type Object, avoiding the attempt to generate an Object subclass.
Issue: SPR-16710
2018-04-11 16:05:54 +02:00
Juergen Hoeller
a6885c7235
Polishing
2018-04-11 16:05:35 +02:00
Andreas Asplund
6a34ca24ce
Restore org.springframework.cglib.core.KeyFactoryCustomizer.class
...
Issue: SPR-15859
2018-04-11 15:41:40 +02:00
sdeleuze
89d069b09d
Add default ctor to Reactive UrlBasedCorsConfigurationSource
...
Issue: SPR-16712
2018-04-11 14:38:42 +02:00
Juergen Hoeller
da80502ea6
AnnotationUtils.getAnnotation non-null check for synthesizeAnnotation
...
Issue: SPR-16708
2018-04-11 12:50:27 +02:00
Juergen Hoeller
61c3db0869
MethodHandles.Lookup.defineClass for CGLIB class definition purposes
...
Spring's CGLIB fork is patched with local copies of affected files here, introducing the notion of a "contextClass" (e.g. the proxy superclass) which gets passed through to ReflectUtils.defineClass for delegating to MethodHandles.Lookup.defineClass eventually, against a privateLookupIn(contextClass) lookup context on JDK 9/10/11.
Issue: SPR-15859
2018-04-11 12:47:55 +02:00
Juergen Hoeller
cdaa247861
Unwind _TestTypes to top-level public test classes in AOP test suite
2018-04-11 12:43:49 +02:00
Sam Brannen
2523c3ab77
Clean up deprecation warning in spring-test
2018-04-11 12:03:55 +02:00
Sam Brannen
8874427cf4
Clean up warnings in spring-core
2018-04-10 13:10:58 +02:00
Arjen Poutsma
7e2726f400
Add remoteAddress() to ServerRequest
...
Issue: SPR-16681
2018-04-10 11:13:45 +02:00
Juergen Hoeller
ff53d78e96
Remove bogus DataSource test from JpaTransactionManagerTests
2018-04-10 00:40:51 +02:00
Juergen Hoeller
9fbab791a0
Upgrade to TestNG 6.14.3, JUnit 5.1.1, Mockito 2.18
2018-04-10 00:12:28 +02:00
sdeleuze
27e87e5593
Document why "charset=UTF-8" is specified for JSON
...
Issue: SPR-14715
2018-04-09 12:03:17 +02:00
KwonJH
967ea152b7
Fix Java 9 link in the reference documentation
2018-04-09 11:10:37 +02:00
sdeleuze
e4298e8366
Improve Kotlin + bean validation documentation
...
Issue: SPR-16701
2018-04-09 10:15:50 +02:00
Juergen Hoeller
c82bf0b004
Upgrade to Mockito 2.17
2018-04-06 21:48:59 +02:00
Rossen Stoyanchev
313308208e
TestDispatcherServlet unwraps to find mock request
...
Issue: SPR-16695
2018-04-06 11:02:46 -04:00
Brian Clozel
2dde000475
Document socket timeout config limitations for HttpClient
...
This commit documents the difference between configuring the socket
timeout on the `RequestConfig` and on the `SocketConfig`.
The first one does not affect timeouts when establishing an SSL
connection or sending a CONNECT request to a proxy. For these use cases,
it is required to configure `SocketConfig` on the `HttpClient` instance
directly.
Issue: SPR-16697
2018-04-06 16:35:17 +02:00
Jinghu Wang
de3a9560d9
[docs] Fix formatting
2018-04-05 20:11:07 -04:00
Juergen Hoeller
a6fd9a7725
Upgrade to FreeMarker 2.3.28 and Netty 4.1.23
2018-04-05 10:30:03 +02:00
Sam Brannen
56774baa2a
Use Gradle 4.6's built-in support for the JUnit Platform
...
Gradle 4.6 provides built-in support for the JUnit Platform within the
standard `test` task.
This commit configures a custom `testJUnitJupiter` test task for
executing JUnit Jupiter tests directly on the JUnit Platform instead of
indirectly on JUnit 4 via @RunWith(JUnitPlatform.class).
This switch provides for better integration with Gradle's test reporting
and paves the way for a possible transition to the JUnit Platform in the
future.
Issue: SPR-16672
2018-04-04 15:43:44 +02:00
Sam Brannen
aba882af4c
Clean up warnings in spring-webmvc
2018-04-04 14:04:54 +02:00
Sam Brannen
2c648379ab
Delete dead code in spring-webmvc
2018-04-04 14:01:24 +02:00
Thor Andreas Rognan
17c16eaa9e
Upgrade to Gradle 4.6
...
Issue: SPR-16475
2018-04-04 12:39:09 +02:00
Sam Brannen
71cacff8c2
Upgrade to JUnit Jupiter 5.1
...
Issue: SPR-16408
2018-04-04 12:29:26 +02:00
sdeleuze
f1727bfbdb
Cleanup settings.gradle pluginManagement configuration
2018-04-04 11:08:13 +02:00
sdeleuze
c7c743872a
Fix Dokka reference to Spring Framework's Javadoc
...
This commit specifies a local packageListUrl and defines that dokka task
must be executed after the api task in order to be able to build KDoc
during the release process when the Spring Framework's Javadoc is not
published yet.
Issue: SPR-16687
2018-04-04 11:08:05 +02:00
Spring Buildmaster
4967dd887d
Next Development Version
2018-04-03 20:11:32 +00:00