SpringExtension: an implementation of multiple extension APIs from JUnit Jupiter that provides full support for the existing feature set of the Spring TestContext Framework. New WebClient with a functional and reactive API for HTTP calls, comparable to the RestTemplate but through a fluent API and also excelling in non-blocking and streaming scenarios based on WebFlux infrastructure in 5.0 the AsyncRestTemplate is deprecated in favor of the WebClient. New functional programming model ("WebFlux.fn") as an alternative to the annotation-based, programming model - minimal and transparent with an endpoint routing API, running on the same reactive stack and WebFlux infrastructure. capable of supporting reactive types as controller method arguments, never blocking on I/O, respecting backpressure all the way to the HTTP socket, and running on extra, non-Servlet containers such as Netty and Undertow. Reactive infrastructure in spring-web including HttpMessageReader and HttpMessageWriter that build on and delegate to Encoder and Decoder server HttpHandler with adapters to (non-blocking) runtimes such as Servlet 3.1+ containers, Netty, and Undertow WebFilter, WebHandler and other non-blocking contract alternatives to Servlet API style, annotation-based, programming model, similar to Spring MVC, but supported in WebFlux, running on a reactive stack, e.g. for using Java ByteBuffer or Netty ByteBuf ReactiveAdapterRegistry for transparent support of reactive libraries in controller method signatures. Reactive infrastructure in spring-core such as Encoder and Decoder for encoding and decoding streams of Objects DataBuffer abstraction, e.g. New spring-webflux module, an alternative to spring-webmvc built on a reactive foundation - fully asynchronous and non-blocking, intended for use in an event-loop execution model vs traditional large thread pool with thread-per-request execution model. Spring’s FreeMarker macros (spring.ftl) use HTML output formatting now (requiring FreeMarker 2.3.24+). Support for ResponseStatusException as a programmatic alternative to script engines that do not implement Invocable via direct rendering of the script provided using ScriptEngine#eval(String, Bindings), and also i18n and nested templates in ScriptTemplateView via the new RenderingContext parameter. New ParsingPathMatcher alternative to AntPathMatcher with more efficient parsing and extended methods allow RedirectAttributes arguments (and therefore flash attributes). Support for Reactor 3.1 Flux and Mono as well as RxJava 1.3 and 2.1 as return values from Spring MVC controller methods targeting use of the new reactive WebClient (see below) or Spring Data Reactive repositories in Spring MVC controllers. Superseding use of the Java Activation Framework.ĭata binding with immutable objects (Kotlin / Lombok / for the JSON Binding API (with Eclipse Yasson or Apache Johnzon as an alternative to Jackson and GSON). Production: The Greatest place on Earth.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |