- 20 8月, 2013 3 次提交
-
-
由 Andy Wilkinson 提交于
Upgrade to Reactor snapshot builds to take advantage of TcpClient's reconnect support that was added post-M1. Now, the system relay session will try every 5 seconds to establish a connection with the broker, both when first connecting and in the event of subsequently becoming disconnected. A more sophisticated reconnection policy, including back off and failover to different brokers, is possible with the Reactor API. We may want to enhance the relay's reconnection policy in the future. Typically, a broken connection is identified by the failure to forward a message to the broker. As things stand, the message id then discarded. Any further messages that are forwarded before the connection's been re-established are queued for forwarding once the CONNECTED frame's been received. We may want to consider also queueing the message that failed to send, however we would then need to consider the possibility of the message itself being what caused the broker to close the connection and resending it would simply cause the connection to be closed again.
-
由 Andy Wilkinson 提交于
Components that are using a StompBrokerRelayMessageHandler may want to know whether or not the broker's unavailable. If they're sending messages to the relay via an asynchronous channel there's currently no way for them to find this out. This commit enhances StompBrokerRelayMessageHandler to publish application events when the broker's availability changes: BrokerBecameAvailableEvent and BrokerBecameUnavailableEvent. Irrespective of the number of relay sessions only a single event is published for each change in the broker's availability.
-
由 Andy Wilkinson 提交于
-
- 14 8月, 2013 7 次提交
-
-
由 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
-
由 Arjen Poutsma 提交于
Added support for StreamSources that do not have a InputStream or Reader, but do have a System ID. Issue: 10828
-
由 Rossen Stoyanchev 提交于
A HandshakeInterceptor can be used to intercept WebSocket handshakes (or SockJS requests where a new session is created) in order to inspect the request and response before and after the handshake including the ability to pass attributes to the WebSocketHandler, which the hander can access through WebSocketSession.getHandshakeAttributes() An HttpSessionHandshakeInterceptor is available that can copy attributes from the HTTP session to make them available to the WebSocket session. Issue: SPR-10624
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Update methods available on WebSocketSession interface. Introduce DelegatingWebSocketSession interface.
-
- 13 8月, 2013 3 次提交
-
-
由 Sam Brannen 提交于
Commented out severalFixedRatesWithRepeatedScheduledAnnotation() until we have full Java 8 support in the IDEs (e.g., Eclipse). Issue: SPR-10532
-
由 Phillip Webb 提交于
# By Lonre Wang * typo-fix: Fix typo in reference docs
-
由 Lonre Wang 提交于
-
- 12 8月, 2013 1 次提交
-
-
由 Arjen Poutsma 提交于
Added reference to CatchAllConverter in both javadoc and reference docs. Issue: SPR-10821
-
- 11 8月, 2013 1 次提交
-
-
由 Sam Brannen 提交于
Issue: SPR-10532
-
- 09 8月, 2013 3 次提交
-
-
由 Arjen Poutsma 提交于
Added XStream CatchAllConverter that supports all classes, but throws exceptions for (un)marshalling. Main purpose of this class is to register this converter as a catchall last converter with a normal or higher priority in addition to converters that explicitly support the domain classes that should be supported. As a result, default XStream converters with lower priorities and possible security vulnerabilities do not get invoked.
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Also splitted buildXStream into constructXStream and configureXStream now. Issue: SPR-10421
-
- 08 8月, 2013 6 次提交
-
-
由 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
-
由 Juergen Hoeller 提交于
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 提交于
Issue: SPR-10796
-
由 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 3 次提交
-
-
由 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
-
由 Phillip Webb 提交于
# By Grzegorz Rożniecki * patch-1: Fix SimpleJdbcCall and SimpleJdbcInsert Javadoc
-
由 Grzegorz Rożniecki 提交于
Change "fluid" interface to "fluent" and "string" to "chain", plus fix few typos in Javadoc. Issue: SPR-10792
-
- 06 8月, 2013 9 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-10807
-
由 Juergen Hoeller 提交于
Issue: SPR-10807
-
由 Juergen Hoeller 提交于
Issue: SPR-10581
-
由 Juergen Hoeller 提交于
Issue: SPR-10421
-
由 Juergen Hoeller 提交于
Issue: SPR-10421
-
由 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
-
由 Juergen Hoeller 提交于
Also introducing a "mapper" bean property and applying the stream driver and the class loader to the native XStream delegate now. Issue: SPR-10421
-
- 03 8月, 2013 4 次提交
-
-
由 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.
-