- 17 10月, 2014 2 次提交
-
-
由 Rossen Stoyanchev 提交于
The use of the HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE in ResourceUrlProvider (as a way of saving lookup path determination) leads to incorrect results. For example when the request is forwarded the current requestUri may no longer be compariable to the value of the PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE. Also where the request is mapped using a pattern, the value of PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE is not the same as the lookup path. This change removes the use of the attribute from ResourceUrlProvider and instead always determines the lookup path when getForRequestUrl is called. Issue: SPR-12332
-
由 Andy Clement 提交于
This change introduces support for compilation of expressions involving inline lists, string concatenation and method invocations where the method being invoked is declared with a varargs parameter. It also fixes a problem with compiling existing method invocations where the target method is on a non public type. Issue: SPR-12328
-
- 16 10月, 2014 7 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12327
-
由 Juergen Hoeller 提交于
Issue: SPR-12319
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12287
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Before this change, the type of asynchronously produced return values (e.g. Callable, DeferredResult, ListenableFuture) could not be properly determined with an actual resulting value of null. Or even with an actual value returned, the generic type could not be properly determined. This change fixes both of those issues. Issue: SPR-12287
-
由 Stephane Nicoll 提交于
Prior to this commit, the cache operation metadata cache was not updated for a method not using the JCache annotations. This means that every execution of said method was going through the process of identifying if it was using the cache or not. This commit adds a default placeholder identifying the absence of metadata; this allows to flag such method as not having any metadata at all. Issue: SPR-12337
-
- 15 10月, 2014 2 次提交
-
-
由 Rossen Stoyanchev 提交于
The getForRequestUrl method of ResourceUrlProvider uses the HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE attribute to determine the relevant portion of the resource URL path. However there are cases when that attribute may not have a leading (e.g. when the current URL was matched to a prefix-based pattern and hence extracted via PathMatcher#extractPathWithinPattern), which interferes with the matching of resource URL paths to patterns. This change ensures a leading slash is present Issue: SPR-12281
-
由 Rossen Stoyanchev 提交于
-
- 14 10月, 2014 8 次提交
-
-
由 Stephane Nicoll 提交于
Snake YAML allows for duplicate keys in map nodes. See https://code.google.com/p/snakeyaml/issues/detail?id=199 This commit uses a dedicated Constructor extension that explicitly checks for such duplicate keys. Issue: SPR-12318
-
由 Rossen Stoyanchev 提交于
Use explicit flag whether to copy all attributes.
-
由 Juergen Hoeller 提交于
Issue: SPR-12319
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12173
-
由 Rossen Stoyanchev 提交于
The resourceHandlerMapping in the MVC Java config is not configured with any interceptors, and in particular those added through the InterceptorRegistry, which are otherwise added to all other handler mapping beans created by the config. This means that the ResourceUrlProviderExposingInterceptor (added in 4.0) is also not used for resource requests. This change ensures the ResourceUrlProviderExposingInterceptor is configured on the resourceHandlerMapping. Issue: SPR-12279
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
- 13 10月, 2014 3 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12324
-
由 Rossen Stoyanchev 提交于
The WebSocketMessageBroker config now allows wrapping the SubProtocolWebSocketHandler to enable advanced use cases that may require access to the underlying WebSocketSession. Issue: SPR-12314
-
- 11 10月, 2014 2 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12314
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12301
-
- 08 10月, 2014 5 次提交
-
-
由 Brian Clozel 提交于
-
由 Brian Clozel 提交于
This change adds a new XhrTransport for the SockJs client implementation. This transport is based on `UndertowClient`, Undertow's HTTP client. Note that this transport can be customized with an OptionMap that is used by the Xnio worker backing the I/O communications (see http://xnio.jboss.org). Implementation tested with undertow 1.0.36, 1.1.0.RC3, 1.2.0.Beta1. Issue: SPR-12008
-
由 Brian Clozel 提交于
This change adds a "Vary: Origin" HTTP response header for /info and /iframe SockJS endpoints. This is preventing proxies and browsers from caching a response and reusing it for an invalid Origin. Reference: https://groups.google.com/forum/#!topic/sockjs/svsLWRorSis Issue: SPR-12310
-
由 Sebastien Deleuze 提交于
Issue: SPR-12313
-
由 Tadaya Tsuyukubo 提交于
This commit adds support for direct Jackson mix-in annotations registration in Jackson2ObjectMapperFactoryBean and Jackson2ObjectMapperBuilder. Issue: SPR-12144
-
- 07 10月, 2014 11 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12308
-
由 Juergen Hoeller 提交于
Issue: SPR-12311
-
由 Juergen Hoeller 提交于
TextMessage.toString() does not throw StringIndexOutOfBoundsException for payload with multibyte characters Issue: SPR-12307
-
由 Juergen Hoeller 提交于
Issue: SPR-12306
-
由 Oleg Lomaka 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Comprehensive revision of SpEL's bytecode generation and number handling (BigInteger support, doubleValue fallback) Issue: SPR-9913
-
由 Juergen Hoeller 提交于
Issue: SPR-12280
-
由 Juergen Hoeller 提交于
Issue: SPR-12299
-
由 Juergen Hoeller 提交于
Issue: SPR-12297
-