- 05 10月, 2013 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
- 03 10月, 2013 2 次提交
-
-
由 Brian Clozel 提交于
Prior to this commit, one couldn't configure Jackson's ObjectMapper with (De)SerializerModifiers or advanced configuration features using XML configuration. This commit updates the FactoryBean and adds a setModule method that will register Modules with the ObjectMapper. Note that this commit is only about XML configuration, since this feature was already available with JavaConfig. Issue: SPR-10429
-
由 Brian Clozel 提交于
Prior to this commit, Multipart databinding would only support MultiPartFile databinding using commons-multipart. Now the WebRequestDataBinder supports Part and List<Part> databinding for Servlet 3.0 compliant containers. Issue: SPR-10591
-
- 26 9月, 2013 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10539
-
- 25 9月, 2013 2 次提交
-
-
由 Brian Clozel 提交于
Prior to this commit, RestTemplate would not would not accept IPv6 raw addresses in URLs because UriComponentsBuilder would not parse/encode the Host part correctly. The UriComponentsBuilder now parses and encode raw IPv6 addresses in the "[1abc:2abc:3abc::5ABC:6abc]" format and also supports the use of IPv6 scope_ids (see JDK8 java.net.Inet6Address), like "[1abc:2abc:3abc::5ABC:6abc%eth0]". Issue: SPR-10539
-
由 Juergen Hoeller 提交于
-
- 04 9月, 2013 1 次提交
-
-
由 Arjen Poutsma 提交于
Added extension to Future with capabilities for registering callbacks when the future is complete. - Added ListenableFuture, ListenableFutureCallback, ListenableFutureCallbackRegistry, and ListenableFutureTask. - Using ListenableFuture in AsyncRestOperations/AsyncRestTemplate. - Added AsyncListenableTaskExecutor, implemented in SimpleAsyncTaskExecutor. - Added FutureAdapter and ListenableFutureAdapter.
-
- 02 9月, 2013 1 次提交
-
-
由 Arjen Poutsma 提交于
Changed return values of Future<Void> to Future<?> in AsyncRestTemplate and AsyncRestOperations.
-
- 29 8月, 2013 1 次提交
-
-
由 Oleg Kalnichevski 提交于
-
- 28 8月, 2013 4 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-8804
-
由 Juergen Hoeller 提交于
Restoring consistency with AnnotationConfigApplicationContext. Issue: SPR-10852
-
由 Rob Winch 提交于
Previously the method signatures for includes and isCompatibleWith were incompatible with Spring 3.2.x since the argument was now MimeType. This caused NoSuchMethodError to be thrown when a class was compiled against MediaType from Spring 3.2.x and ran against MediaType from Spring 4.x. This commit restores the signatures and implements each method by invoking the super class method. Issue: SPR-10860
-
由 Arjen Poutsma 提交于
Added AsyncRestTemplate, the asynchronous counterpart to the RestTemplate that was introduced in Spring 3. All methods on the AsyncRestTemplate are similar to those found on the synchronous RestTemplatem, except that they return Future wrappers instead of concrete results. To enable this, this commit introduces the AsyncClientHttpRequest and AsyncClientHttpRequestFactory, similar to the ClientHttpRequest and ClientHttpRequestFactory, except that ClientHttpRequest returns a Future<ClientHttpResponse> for the execute method. Two implementations of these interfaces are provided, one based on the HttpURLConnection incombination with a Spring AsyncTaskExecutor and one based on Apache HttpComponents HttpAsyncClient. Issue: SPR-8804
-
- 23 8月, 2013 4 次提交
-
-
由 Gabriel Axel 提交于
ResourceHttpMessageConverter tries to use the filename to determine the media type, but for Resource implementations such as ByteArrayResource it is null, which causes NullPointerException. The fix checks whether getFilename returns null before attempting to determine the media type by it. Issue: SPR-10848
-
由 Dmitry Katsubo 提交于
Issue: SPR-10810
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10647
-
由 Rossen Stoyanchev 提交于
Issue: SPR-8738
-
- 14 8月, 2013 4 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Although ServletHttpRequest provides access to Cookies, other implementations may not. At the moment this was only needed for SockJS to check the value of the JSESSIONID cookie. This is now down by parsing the raw cookie values locally. If comprehensive cookie support is to be added, we should probably consider HttpHeaders as a potential candidate.
-
由 Dmitry Katsubo 提交于
Issue: SPR-10463
-
由 Rossen Stoyanchev 提交于
Update methods available on WebSocketSession interface. Introduce DelegatingWebSocketSession interface.
-
- 08 8月, 2013 4 次提交
-
-
由 Juergen Hoeller 提交于
Introduced DefaultParameterNameDiscoverer which checks JDK 8's standard reflection first and then falls back to ASM-based debug symbol analysis Also, StandardReflectionParameterNameDiscoverer calls "Parameter.isNamePresent()" now to return null (and pass on to the next discoverer) if no JDK 8 parameters are available. Note that this requires OpenJDK 8 b100 or higher to compile now. Issue: SPR-10532
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10817
-
由 Rossen Stoyanchev 提交于
This change enables having @ResponseBody on the type-level in which case it inherited and does not need to be added on the method level. For added convenience, there is also a new @RestController annotation, a meta-annotation in turn annotated with @Controller and @ResponseBody. Classes with the new annotation do not need to have @ResponseBody declared on the method level as it is inherited. Issue: SPR-10814
-
由 Rossen Stoyanchev 提交于
MimeType is available in core-spring and does not include support for quality parameters and media used in HTTP content negotiation. The MediaType sub-class in org.springframework.http adds q-parameters.
-
- 07 8月, 2013 1 次提交
-
-
由 Arjen Poutsma 提交于
Disable by default external entity resolution when using Spring OXM with jaxb. This prevents a XML entity from being able to resolve a local file on the host system. See: https://www.owasp.org/index.php/XML_External_Entity_(XXE)_Processing Issue: SPR-10806
-
- 06 8月, 2013 3 次提交
-
-
由 Sam Brannen 提交于
This commit polishes the Javadoc and assertion failure messages for AbstractContextLoaderInitializer and its subclasses.
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10713
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10648
-
- 03 8月, 2013 6 次提交
-
-
由 Rossen Stoyanchev 提交于
Add a factory method in ServerHttpRequest for creating a ServerHttpAsyncRequestControl.
-
由 Rossen Stoyanchev 提交于
See javadoc in SockJsService for details. Also remove ReadOnlyMultiValueMap, CollectionUtils has a method for that already.
-
由 Rossen Stoyanchev 提交于
The method returning query parameters now returns only query string parameters as opposed to any Servlet request parameter. This commit also adds a ReadOnlyMultiValueMap.
-
由 Rossen Stoyanchev 提交于
ServerHttpAsyncResponseControl wraps a ServetHttpRequest and -Response pair and allows putting the processing of the request in async mode so that the response remains open until explicitly closed, either from the current or from another thread. ServletServerHttpAsyncResponseControl provides a Serlvet-based implementation.
-
由 Rossen Stoyanchev 提交于
A getCookies method is now available on ServerHttpRequest with one ServletServerCookie implementation that wraps a Servlet cookie. The SockJS service makes use of this to check for an existing session cookie in the request.
-
由 Juergen Hoeller 提交于
Issue: SPR-10413
-
- 01 8月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-10752 Issue: SPR-10627 (cherry picked from commit ae0f23e9)
-
- 31 7月, 2013 2 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10591
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10779
-
- 24 7月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
-