- 27 5月, 2016 2 次提交
-
-
由 Rossen Stoyanchev 提交于
While View and ViewResolver play the same role as in spring-webmvc they are now abstracted behind the HandlerResultHandler abstraction so that top-level contracts don't reference them and the DispatcherHandler is also unaware of their existence. Furthermore view resolution and response body handling which are now at the same level of abstraction (each is a HandlerResultHandler) will also share code for content negotiation, so it makes sense for them to be side by side. This commit moves the reactive.view package to reactive.result.view with the View and ViewResolver contracts (previously in the top-level reactive package) also moving there.
-
由 Rossen Stoyanchev 提交于
-
- 26 5月, 2016 3 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
- 12 5月, 2016 1 次提交
-
-
由 Stephane Maldini 提交于
-
- 06 5月, 2016 2 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
- 04 5月, 2016 3 次提交
-
-
由 Rossen Stoyanchev 提交于
- @PathVariable - @RequestHeader - @RequestParam - @CookieValue - @Value - @RequestAttribute - @SessionAttribute
-
由 Stephane Maldini 提交于
-
由 Stephane Maldini 提交于
-
- 28 4月, 2016 3 次提交
-
-
由 Arjen Poutsma 提交于
Replaced all usages of toInputStream with non-blocking alternatives.
-
由 Arjen Poutsma 提交于
-
由 Stephane Maldini 提交于
update after to then (WIP flux)
-
- 26 4月, 2016 1 次提交
-
-
由 Arjen Poutsma 提交于
This commit introduces a pooled data buffer as a subtype of DataBuffer, as well as various utility methods related to reference counting. Additionally, Crelease calls have been introduced throughout the codebase to properly dispose of pooled databuffers.
-
- 22 4月, 2016 3 次提交
-
-
由 Arjen Poutsma 提交于
This commit introduces the ResourceEncoder and ResourceDecoder, and uses these in ResourceHttpMessageConverter as a non-zero-copy fallback method.
-
由 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.
-
由 Rossen Stoyanchev 提交于
This commit replaces the temporary SimpleUrlHandlerMapping with a full-featured one.
-
- 21 4月, 2016 2 次提交
-
-
由 Arjen Poutsma 提交于
-
由 Rossen Stoyanchev 提交于
The renaming makes it clear this exception is for use where 400 error applies within a Spring web application where the error may be associated with a MethodParameter, a BindingResult, and so on. There is no need for BadRequestStatusException which can be expressed with ResponseStatusException(HttpStatus.BAD_REQUEST, "reason").
-
- 20 4月, 2016 8 次提交
-
-
由 Arjen Poutsma 提交于
This commit wraps up the previous commits: - It uses HttpMessageConverter in the web.reactive.server package instead of Encoder/Decoder. - It introduces tests for the Resource @ResponseBodies.
-
由 Arjen Poutsma 提交于
This commit introduces support for zero-copy file transfers in the HTTP response, through the ZeroCopyHttpOutputMessage subinterface of ReactiveHttpOutputMessage.
-
由 Arjen Poutsma 提交于
This commit introduces two DataBuffer improvements: - The capability to read a Flux<DataBuffer> from an input stream or channel. - The capability to limit a Publisher<DataBuffer> to publish up until a given maximum byte count.
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
This commit replaces use of the existing ServletException-based exceptions with the new ones from ~.web.server.
-
由 Rossen Stoyanchev 提交于
No need to translate to response status codes any more and no need for an exception handling mechanism at this level.
-
由 Rossen Stoyanchev 提交于
-
- 19 4月, 2016 8 次提交
-
-
由 Stephane Maldini 提交于
-
由 Rossen Stoyanchev 提交于
Now that we have a CompositeContentTypeResolverBuilder with built-in defaults, we switch to those defaults in places where a ContentTypeResolver is used.
-
由 Rossen Stoyanchev 提交于
This is the equivalent of the existing ContentNegotiationManager + ContentNegotiationManagerFactoryBean
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Rename to MappingContentTypeResolver and replace "fileExtension" with "key" in methods to be more general (e.g. file extension or query param). Also switch from List to Set for the return values.
-
由 Stephane Maldini 提交于
-
由 Rossen Stoyanchev 提交于
This commit adds RequestMappingInfoHandlerMapping and RequestMappingHandlerMapping with support equivalent to that in spring-webmvc.
-
由 Stephane Maldini 提交于
-
- 16 4月, 2016 4 次提交
-
-
由 Rossen Stoyanchev 提交于
A pretty complete equivalent to the same in spring-webmvc except for CORS checks, and custom HTTP methods. Another notable difference is that the "params" condition works on query params strictly.
-
由 Rossen Stoyanchev 提交于
A starting point for an alternative to the existing ContentNegotiationStrategy but for use with ServerWebExchange.
-
由 Rossen Stoyanchev 提交于
-
由 Stephane Maldini 提交于
-