- 20 5月, 2014 15 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11074
-
由 Juergen Hoeller 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-11768
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
(cherry picked from commit 54636b3f)
-
由 Juergen Hoeller 提交于
Consistent use of IllegalStateException instead of InternalError for UnsupportedEncodingException cause
-
由 Juergen Hoeller 提交于
UriComponentsBuilder.toUriString instead of RequestContext.getMvcUrl (breaking cyclic dependency between web.servlet.support and web.servlet.mvc)
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
This commit also includes a JUnit 4 style revision of StringUtilsTests and ObjectUtilsTests. Issue: SPR-11806
-
由 Juergen Hoeller 提交于
Consistently log Class.getName() instead of Class.toString(), avoiding double class term in log message Issue: SPR-11804
-
由 Rossen Stoyanchev 提交于
The newly added support for ResponseBodyInterceptor is a good fit for the (also recently added) support for the Jackson @JsonView annotation. This change refactors the original implementation of @JsonView support for @ResponseBody and ResponseEntity controller methods this time implemented as an ResponseBodyInterceptor. Issue: SPR-7156
-
由 Rossen Stoyanchev 提交于
This change introduces a new ResponseBodyInterceptor interface that can be used to modify the response after @ResponseBody or ResponseEntity methods but before the body is actually written to the response with the selected HttpMessageConverter. The RequestMappingHandlerAdapter and ExceptionHandlerExceptionResolver each have a property to configure such interceptors. In addition both RequestMappingHandlerAdapter and ExceptionHandlerExceptionResolver detect if any @ControllerAdvice bean implements ResponseBodyInterceptor and use it accordingly. Issue: SPR-10859
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Consistently log Class.getName() instead of Class.toString(), avoiding double class term in log message Issue: SPR-11804
-
- 19 5月, 2014 5 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11804
-
由 Juergen Hoeller 提交于
ServletRequestAttributes skips well-known immutable values when updating accessed session attributes Issue: SPR-11738
-
由 Juergen Hoeller 提交于
-
由 Stephane Nicoll 提交于
This commit adds a JMS implementation of MessageSendingOperations, allowing to send JMS messages using Spring's standard Messaging abstraction. MessagingMessageConverter is a standard JMS's MessageConverter that can convert Spring's Message to JMS message and vice versa. Existing infrastructure has been updated to use this implementation. Issue: SPR-11772
-
由 Juergen Hoeller 提交于
Servlet 3 multipart request implements getParameterNames defensively (for WebLogic 12 compatibility) This commit also includes lazy resolution support for StandardServletMultipartResolver, along the lines of existing lazy mode in CommonsMultipartResolver. Issue: SPR-11074 Issue: SPR-11730
-
- 18 5月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Properly evaluate @Conditional in case of multiple imports for same config class (fixing regression in Spring Boot) Issue: SPR-11788 (cherry picked from commit 7d78c651)
-
- 17 5月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Servlet/PortletResponse supported as a resolvable dependency now (in particular for web controllers) This feature required support for response exposure on Servlet/PortletRequestAttributes, instead of just in the Servlet/PortletWebRequest subclasses. Issue: SPR-11795
-
- 16 5月, 2014 7 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11791
-
由 Juergen Hoeller 提交于
Issue: SPR-11788
-
由 Sebastien Deleuze 提交于
Spring MVC now supports Jackon's serialization views for rendering different subsets of the same POJO from different controller methods (e.g. detailed page vs summary view). Issue: SPR-7156
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Issue: SPR-11793
-
由 Rossen Stoyanchev 提交于
-
由 Arjen Poutsma 提交于
Moved the ResponseEntityBuilder into the ResponseEntity itself. Issue: SPR-11752
-
- 15 5月, 2014 9 次提交
-
-
由 Stephane Nicoll 提交于
This commit adds a SQLErrorCodes instance for SAP DB, based on a contribution from Andrew Clemons Mostly based on SAP Hana SPS 07 with a few additional codes that are only present is previous versions: * -813 - Cannot connect to host somehost:30115 [Connection refused] * -709 - Unknown host somehost:30115 [somehost], -709.] * -708 - Cannot connect to jdbc:sap://somehost:30115 [Receive of connect failed.] * -11210 - Invalid column index XYZ. Issue: SPR-11770
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Stephane Nicoll 提交于
This commit avoids throwing JMSException from the listener execution as this is not allowed per spec. Our SessionAwareMessageListener gives a callback that can throw JMSException and we have "abused" it so far. Typical message processing goes in those 3 steps: * Unmarshall the javax.jms.Message to the requested type * Invoke the actual user method (including processing of method arguments) * Send a reply message, if any Those three steps have been harmonized so that they don't throw a JMSException anymore. For the later case, introduced ReplyFailureException as a general exception indicating the reply message could not have been sent. Issue: SPR-11778
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
ResultSetWrappingSqlRowSet preserves first matching column per name (as defined in ResultSet's javadoc) Issue: SPR-11786
-
由 Juergen Hoeller 提交于
Issue: SPR-11780
-
由 Brian Clozel 提交于
-
由 Brian Clozel 提交于
Prior to this commit, RestTemplate's documentation advised to a DecompressingHttpClient decorator along with Apache's HttpClient in order to support gzipped responses. Since this is now deprecated as of Apache HttpClient 4.3+, this commits update the documentation with HttpClientBuilder.
-
- 14 5月, 2014 1 次提交
-
-
由 Arjen Poutsma 提交于
This commit introduces a ResponseEntityBuilder, which allows for building of a ResponseEntity through a fluent API. Issue: SPR-11752
-
- 13 5月, 2014 1 次提交
-
-
由 Stephane Nicoll 提交于
This commit adds an explicit error message when the BackOff instance has returned BackOffExecution#STOP which basically means that no further attempts are allowed. This error message is a convenience way to notify that the container is about to be shut down. Issue: SPR-11746
-