- 31 8月, 2016 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 15 7月, 2016 2 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
- 28 4月, 2016 1 次提交
-
-
由 Stephane Maldini 提交于
update after to then (WIP flux)
-
- 22 4月, 2016 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Rename two classes each adapting to WebHandler to avoid confusing them: 1. HttpWebHandlerAdapter adapts from the low level HttpHandler to any WebHandler (e.g. DispatcherHandler). 2. SimpleHandlerAdapter adapts the plain WebHandler for use within the DispatcherHandler. This commit also fixes an issue in WebHttpHandlerBuilder to ensure that WebExceptionHandler's are inserted before and not after WebFilter's.
-
- 28 1月, 2016 4 次提交
-
-
由 Rossen Stoyanchev 提交于
WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More consistent with Spring conventions.
-
由 Rossen Stoyanchev 提交于
Introduce adapter and handler sub-packages under web.server following a review prompted by the addition of the session package and the package cycle it brought in based on dependency on session.WebSessionManager.
-
由 Rossen Stoyanchev 提交于
This commit adds initial support for a maintaining a server-side session with attributes across HTTP requests. The WebSession abstraction can be accessed via WebServerExchange from a WebFilter or the target WebHandler. The session sub-package contains additional abstractions for creating and managing sessions providing a basis for extensibility (e.g. Spring Session). Those include WebSessionManager, SessionIdStrategy, and SessionStore along with a cookie-based session id strategy and an in-memory session store in use by default. Note that the current API does not provide a way to invalidate or re-create the session from server side code.
-
由 Rossen Stoyanchev 提交于
setComplete replaces writeHeaders as a more general lifecycle method to perform any kind of handling at the end of request processing, for example to ensure headers are written if not already. beforeCommit provides an extension point for an action to be invoked just before the response is committed, e.g. adding headers/cookies.
-
- 20 1月, 2016 1 次提交
-
-
由 Stephane Maldini 提交于
-> reactor.Mono : reactor.core.publisher.Mono -> reactor.Flux : reactor.core.publisher.Flux -> reactor.Processors : reactor.core.publisher.Processors -> reactor.Timers : reactor.core.timer.Timers -> reactor.Subscribers : reactor.core.subscriber.Subscribers
-
- 14 1月, 2016 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Before this change use of ExceptionHandlingWebHandler did ensure no error signals are allowed to escape (hence relying on runtime behavior). This change ensures the same is done even when ExceptionHandlingWebHandler is not configured for use, at the lowest level which is the WebToHttpHandlerAdapter.
-
- 10 1月, 2016 1 次提交
-
-
由 Rossen Stoyanchev 提交于
This commit brings back the writeHeaders method on ServerHttpResponse that was once added (2a6a4f) and then removed (9c7151). This version is a little simpler since writeHeaders doesn't explicitly flush/send headers which runtimes are expected to do by default. Instead the main purpose of writeHeaders now is to ensure changes made via HttpHeaders are applied to the underlying runtime response at some point and we now do that once at the very end. This approach provides the most flexibility (vs keeping HttpHeaders in sync) because it allows a full and consistent set of mutative operations for both headers and cookies (to be added) regardless of the API exposed by the underlying runtime.
-
- 09 1月, 2016 2 次提交
-
-
由 Rossen Stoyanchev 提交于
This change adds a WebServerExchange and updates all contracts at the the same level (i.e. org.springframework.web.server) as well as the org.springframework.web.reactive level to use it so that all framework-related code will have access to server-side processing features such as request attributes (and others to come).
-
由 Rossen Stoyanchev 提交于
This change separates out lower-level HTTP adapter code from the more (framework-specific) HTTP processing into a separate package under org.springframework.web.server (not under org.springframework.http).
-
- 07 1月, 2016 1 次提交
-
-
由 Sebastien Deleuze 提交于
Flux and Mono are used both for implementation and exposed at API level to express 1 versus N semantic and to provide default Rx operators: - Flux<T> for multiple values Publisher (issue #48) - Mono<T> for single value Publisher (issue #50) - Mono<Void> for Publisher with no value (issue #49)
-
- 09 12月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 03 12月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 25 11月, 2015 1 次提交
-
-
由 Sebastien Deleuze 提交于
-
- 21 11月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
-
- 14 11月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
The web related code is now under org.springframework.web.reactive. This is parallel to org.springframework.web (the top-level package of spring-webmvc).
-
- 29 10月, 2015 2 次提交
-
-
由 Arjen Poutsma 提交于
-
由 Arjen Poutsma 提交于
This commit introduces "reactive" sub-interfaces of the HttpMessage interface found in the Spring Framework.
-
- 25 8月, 2015 2 次提交
-
-
由 Rossen Stoyanchev 提交于
This commit adds support for simple URL handler mapping (exact path match) and an adapter for the HttpHandler interface to be used to handle the request. The SimpleUrlHandlerMappingIntegrationTests then maps the URLs "/foo" and "/bar" to two different handlers.
-
由 Rossen Stoyanchev 提交于
Introduce http and dispatch packages under org.springframework.web to separate HTTP-specific adapter code from higher level web framework code. Move classes into their respective locations.
-
- 12 8月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
This commit introduces HTTP request and response abstractions along with Servlet-based implementations similar to the ones in the http package of spring-web but using Reactive Streams. In turn HttpHandler now accepts the request and response types and returns Publisher<Void> that reflects the end of handling. The write method on the response also returns Publisher<Void> allowing deferred writing. At the moment however the underlying Servlet 3.1 support only supports a single publisher after which the connection is closed. Only simple byte[] is supported for reading and writing.
-
- 09 7月, 2015 1 次提交
-
-
由 Arjen Poutsma 提交于
-
- 07 7月, 2015 1 次提交
-
-
由 Arjen Poutsma 提交于
-