- 08 3月, 2016 4 次提交
-
-
由 Sam Brannen 提交于
Issue: SPR-13992
-
由 Sam Brannen 提交于
Issue: SPR-13992
-
由 Sam Brannen 提交于
Issue: SPR-13992
-
由 Sam Brannen 提交于
Issue: SPR-13992
-
- 07 3月, 2016 2 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
This commit picks up where 8ff9e818 left off. Specifically, this commit introduces support that allows a single element attribute to override an array attribute with a matching component type when synthesizing annotations (e.g., in annotations synthesized from attributes that have been merged from the annotation hierarchy above a composed annotation). Issue: SPR-13972
-
- 06 3月, 2016 1 次提交
-
-
由 Stephane Nicoll 提交于
Add period unit in the description so that it shows up in the summary description.
-
- 05 3月, 2016 6 次提交
-
-
由 Stephane Nicoll 提交于
* pr/985: Add table title for @Transactional settings
-
由 Dapeng 提交于
Closes gh-985
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
The MVC config now plugs the configured ContentNegotiationManager into resource request handling. Issue: SPR-13658
-
由 Rossen Stoyanchev 提交于
The ResourceHttpRequestHandler now relies on the conifgured ContentNegotiationManager to determine the content type for resource requests rather than implementing that internally. First we check against the matched resource based on the resource file extension. Then we expand the check against the request with any configured content negotiation strategy. Issue: SPR-13658
-
由 Rossen Stoyanchev 提交于
-
- 04 3月, 2016 5 次提交
-
-
由 Brian Clozel 提交于
Issue: SPR-14018
-
由 Ruben Dijkstra 提交于
This commit updates the WEBJARS_LOCATION in WebJarResourceResolver to avoid getting duplicate slashes in resolved resources locations such as `/webjars//bootstrap/3.3.2/js/bootstrap.min.js`. Issue: SPR-14018
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
The DefaulUriTemplateHandler now provides a strictEncoding property which if turned on encodes everything outside the reserved char set. This is in contrast to the default policy of encoding only illegal charaters depending on the URI component type. Issue: SPR-11652
-
由 Rossen Stoyanchev 提交于
-
- 03 3月, 2016 5 次提交
-
-
由 Brian Clozel 提交于
This commit adds a newline char at the beginning of textarea tags values. As per the HTML 4.01 spec (and browsers behavior), a line break following a start tag is ignored. This can lead to Spring's textarea tag to ignore a line break char at the beginning of a tag value. See https://www.w3.org/TR/html401/appendix/notes.html#notes-line-breaks Issue: SPR-13503
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13614
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13614
-
由 Sam Brannen 提交于
This commit changes the visibility of the getTestContext() method in TestContextManager from 'protected' to 'public' in order to support test method injection in JUnit 5 and similar use cases. Issue: SPR-14011
-
由 Brian Clozel 提交于
Prior to this change, SPR-13867 made sure that any class extending WebContentGenerator would not overwrite existing HTTP "Cache-Control" response headers - set by a filter, a Controller handler, etc. This caused issues with resource handling, since specifying a cache configuration there would not overwrite default headers set by filters, for example by Spring Security. This commit restricts the previous changes to the RequestMappingHandlerAdapter, in order to avoid overwriting header set by a filter or a Controller handler in those cases. Issue: SPR-14005
-
- 02 3月, 2016 6 次提交
-
-
由 Sam Brannen 提交于
This commit demonstrates how to register one or more @Configuration classes via an ApplicationContextInitializer in a composed annotation so that certain @Configuration classes are always registered whenever the composed annotation is used, even if the composed annotation is used to declare additional @Configuration classes.
-
由 Rossen Stoyanchev 提交于
The new Filter is simply a new way of packaging the ability to extract X-Forwarded-* headers already available via UriComponentsBuilder. The Filter wraps the request and the effect is that anything using the request will see the original schem, host, and port. Issue: SPR-13614
-
由 Sebastien Deleuze 提交于
Issue: SPR-13975
-
由 Phillip Webb 提交于
-
由 Stephane Nicoll 提交于
-
由 Brian Clozel 提交于
Issue: SPR-13978
-
- 01 3月, 2016 9 次提交
-
-
由 Brian Clozel 提交于
Prior to this commit, `ServletWebRequest.checkNotModified` would only support conditional GET/HEAD requests with "If-Modified-Since" and/or "If-None-Match" request headers. In those cases, the server would return "HTTP 304 Not Modified" responses if the resource didn't change. This commit adds support for conditional update requests, such as POST/PUT/DELETE requests with "If-Unmodified-Since" request headers. If the underlying resource has been modified since the specified date, the server will return a "409 Precondition failed" response status to prevent concurrent updates. Even if the modification status of the resource is reversed here (modified vs. not modified), we're keeping here the same intent for the return value, which signals if the response requires more processing or if the handler method can return immediately: ``` if (request.checkNotModified(lastModified)) { // shortcut exit - no further processing necessary return null; } ``` Issue: SPR-13863
-
由 Sebastien Deleuze 提交于
Issue: SPR-14004
-
由 Sebastien Deleuze 提交于
Before this commit, specifying the charset to use with produces or consumes @RequestMapping attributes resulted in default charset loss. That was really annoying for JSON for example, where using UTF-8 charset is mandatory in a lot of use cases. This commit adds a defaultCharset property to AbstractHttpMessageConverter in order to avoid losing the default charset when specifying the charset with these @RequestMapping attributes. It changes slightly the default behavior (that's why we have waited 4.3), but it is much more error prone, and will match with most user's expectations since the charset loss was accidental in most use cases (users usually just want to limit the media type supported by a specific handler method). Issue: SPR-13631
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
* SPR-13992: Introduce composed annotations for @RequestMapping
-
由 Sam Brannen 提交于
This commit introduces the following common composed annotations for @RequestMapping in Spring MVC and Spring MVC REST. - @GetMapping - @PostMapping - @PutMapping - @DeleteMapping - @PatchMapping Issue: SPR-13992
-
由 Stephane Nicoll 提交于
This commit adds an annotation that should be used to mark any usage of the `sun.misc` API.
-
由 Sam Brannen 提交于
* SPR-13993: Introduce composed annotations for web scopes
-
由 Sam Brannen 提交于
This commit introduces the following common composed annotations for web scopes. - @RequestScope - @SessionScope - @ApplicationScope Issue: SPR-13993
-
- 29 2月, 2016 2 次提交
-
-
由 Sam Brannen 提交于
Prior to this commit, the TransactionalTestExecutionListener required @Transactional test methods to be public; however, neither TestNG nor JUnit 5 require that @test methods are public. Consequently, non-public transactional test methods silently run *without* a transaction. This commit removes the 'public' restriction on transactional test methods by setting the 'publicMethodsOnly' flag in AnnotationTransactionAttributeSource to false. Issue: SPR-14000
-
由 Sam Brannen 提交于
-