Rob Winch
0cd427bdd3
MockHttpServletRequestBuilder decodes pathInfo
...
Previously MockHttpServletRequestBuilder calculated the pathInfo from the
provided URL without decoding the value. This meant that the pathInfo
incorrectly included URL encoded values.
Now MockHttpServletRequestBuilder properly decodes the pathInfo.
Fixes: SPR-16453
7 years ago
Arjen Poutsma
609f173ebc
StringDecoder shouldn't chop off strings randomly
...
Issue: SPR-16337
7 years ago
Juergen Hoeller
cfe7ff1c81
MimeType.compareTo uses case-insensitive Charset (analogous to equals)
...
Issue: SPR-16458
7 years ago
Juergen Hoeller
4dc964544f
AcceptHeaderLocaleResolver falls back to language-only match among its supported locales
...
Issue: SPR-16457
7 years ago
Juergen Hoeller
c5a33d62dd
TypeVariablesVariableResolver compares variables by full equality again
...
Issue: SPR-16456
7 years ago
Juergen Hoeller
30f6e447d5
TypeVariablesVariableResolver compares variables by name
...
Issue: SPR-16456
7 years ago
Juergen Hoeller
b3e21ec737
MockHttpServletRequest leniently handles invalid Accept-Language header
...
Issue: SPR-16454
7 years ago
Juergen Hoeller
7f96827ade
Polishing
7 years ago
Juergen Hoeller
4a1cc9ced7
Constructor-provided field values get recorded for failed binding result
...
Also, TypeMismatchExceptions get registered via BindingErrorProcessor.
Issue: SPR-16449
7 years ago
Juergen Hoeller
9c069f6cb1
Avoid String concatenation for not-null assertion in BeanProperty/DirectFieldBindingResult
...
Issue: SPR-16455
7 years ago
Juergen Hoeller
b6ecfcf9ec
CachingConnectionFactory makes its Session caching inactive during reset
...
Issue: SPR-16450
7 years ago
Stephane Nicoll
10caaefd0b
Merge pull request #1657 from izeye:polish-20180201
...
* pr/1657:
Polish SqlParameter.sqlTypesToAnonymousParameterList()
7 years ago
Johnny Lim
df3241e072
Polish SqlParameter.sqlTypesToAnonymousParameterList()
...
Closes gh-1657
7 years ago
Stephane Nicoll
f0dd31a639
Merge pull request #1656 from adamlehenbauer:master
...
* pr/1656:
Fix typos
7 years ago
adamlehenbauer
8de80ffe9e
Fix typos
...
Closes gh-1656
7 years ago
Rossen Stoyanchev
0ded239453
[doc] Update Spring MVC exception handling content
...
Issue: SPR-16394
7 years ago
Rossen Stoyanchev
d9a93f44ae
[doc] Update links to composed annotations
7 years ago
sdeleuze
b6c78452b2
Update and improve script templating documentation
...
Issue: SPR-16447
7 years ago
Rossen Stoyanchev
b77032c36e
[doc] Explain custom/composed @RequestMapping annotations
...
Issue: SPR-16442
7 years ago
sdeleuze
b2681e1f4a
Add ViewResolverRegistry#scriptTemplate in WebFlux
...
Issue: SPR-16431
7 years ago
Juergen Hoeller
c7f60d1799
SchedulerFactoryBean always ignores local factory settings in case of an external SchedulerFactory instance (expecting it to be fully initialized)
...
This commit includes various javadoc fixes and related refinements.
Issue: SPR-16439
7 years ago
Rossen Stoyanchev
6d909b013e
Do not commit response on access to content
...
MockHttpServletResponse no longer calls flushBuffer on calls to
getContentAsByteArray and getContentAsString. The flushing doesn't
actually do anything useful but does commit the response leading to
unexpected side effects.
Issue: SPR-16430
7 years ago
Juergen Hoeller
cd57335e46
SchedulerFactoryBean ignores local factory settings in case of external SchedulerFactory instance (unless it extends from StdSchedulerFactory)
...
Issue: SPR-16439
7 years ago
sdeleuze
d02e4fb545
Add Vary:Access-Control-Request-Method/Headers CORS headers
...
This commit adds these 2 Vary headers in addition to the existing
Origin one to avoid caching of Access-Control-Request-Method and
Access-Control-Request-Headers headers which can be an issue
when allowed methods or headers are unbounded and only the
requested method or headers are returned in the response.
Issue: SPR-16413
7 years ago
Juergen Hoeller
857a5b03b7
SchedulerFactoryBean accepts external Quartz SchedulerFactory instance
...
Issue: SPR-16439
7 years ago
Rossen Stoyanchev
f4de8615aa
Fix encoding issue in ServerHttpRequest.mutate()
...
Issue: SPR-16434
7 years ago
Juergen Hoeller
637e09f995
Polishing
7 years ago
Juergen Hoeller
ef2e16912d
Formatting support for java.time.Year and java.time.Month
...
Issue: SPR-16437
7 years ago
Juergen Hoeller
89d2bd954a
Properly analyze Java 9 class cast messages for lambda event listeners
...
Issue: SPR-16435
7 years ago
Rossen Stoyanchev
4f28c28287
Update Javadoc on uriTemplateHandler property
...
Issue: SPR-16419
7 years ago
Rossen Stoyanchev
5ff724968d
[docs] View Technologies section in WebFlux
...
Issue: SPR-16393
7 years ago
Rossen Stoyanchev
49eec6248d
[docs] Reorder View Technologies
...
From:
Thymeleaf
Groovy Markup
FreeMarker
JSP & JSTL
Script Views
XML
Tiles
XSLT
PDF, Excel
RSS, Atom
Jackson
To:
Thymeleaf
FreeMarker
Groovy Markup
Script views
JSP & JSTL
Tiles
RSS, Atom
PDF, Excel
Jackson
XML
XSLT
Also move View Technologies after MVC Config to align order with
WebFlux config.
Issue: SPR-16393
7 years ago
Rossen Stoyanchev
e76973c5f0
[docs] Update view-related content
...
1. The View Technologies chapter in Spring MVC
2. The View Resolution and View Resolver config in WebFlux
Issue: SPR-16393
7 years ago
Juergen Hoeller
8d42888476
Upgrade to RxJava 1.3.5 and WebJars Locator 0.35
...
Includes Rhino 1.7.8 and JRuby 9.1.15 as well.
7 years ago
Juergen Hoeller
7772b914c6
Deep BeanCurrentlyInCreationException check in getTypeForFactoryBean
...
Issue: SPR-16427
7 years ago
sdeleuze
32f6ccece8
Add WebFlux support for Smile streaming
...
The commit brings following changes:
- Move getDecodableMimeTypes() to AbstractJackson2Decoder
- Move getEncodableMimeTypes() to AbstractJackson2Encoder
- Add support for application/stream+x-jackson-smile
- Avoid streaming line separator when Smile encoder is used
- Use double null token in Jackson2Tokenizer to identify documents
Issue: SPR-16151
7 years ago
Juergen Hoeller
e1fa65a37c
Notes about HibernateJpaVendorAdapter settings vs native Hibernate rules
...
Issue: SPR-16428
7 years ago
Juergen Hoeller
4e194c3fbe
Deprecate outdated HibernateTemplate operations in favor of lambdas
...
Issue: SPR-16426
7 years ago
Rossen Stoyanchev
c718ddf7b0
Update CONTRIBUTING.md
7 years ago
Rossen Stoyanchev
0762131d88
Update CONTRIBUTING.md
7 years ago
Rossen Stoyanchev
00b95b10a8
Docs: result handling and view resolution
...
Issue: SPR-16393
7 years ago
Rossen Stoyanchev
fbde97f302
Default order 0 for ServerResponseResultHandler
...
Issue: SPR-16420
7 years ago
Sam Brannen
b612f53e27
Rename doesExist() to exists() for header assertions
7 years ago
Juergen Hoeller
0e734d83d5
@EnableAspectJAutoProxy : per application context, requires aspectjweaver
...
Issue: SPR-14753
Issue: SPR-15801
7 years ago
Juergen Hoeller
37ab8a700b
Doc: no "useCodeAsDefaultMessage" for setValidationMessageSource
...
Issue: SPR-15986
7 years ago
Juergen Hoeller
e49198d49f
Polishing
7 years ago
Juergen Hoeller
13c735442c
@Scheduled supports java.time.Duration format for its delay attributes
...
Issue: SPR-15455
7 years ago
Juergen Hoeller
ef3f93e84a
Language tag parsing support in StringUtils and StringToLocaleConverter
...
Issue: SPR-16188
7 years ago
Juergen Hoeller
c6b0d85a7c
Consistent available() support in DelegatingServletInputStream
...
Issue: SPR-16416
7 years ago
Ketan Padegaonkar
a0c9fdba12
Fix `DelegatingServletInputStream#available`
...
Ensure that the method returns the correct number of bytes that can be
read without blocking
Issue: #SPR-16416
7 years ago