Spring Framwork Language Support v6.0.0-M2specifying the type for bean references like ref("bazBean") • It is possible to use Kotlin top level functions to declare beans using callable references like bean(::myRouter) in this example • When specifying imperative way. On language side, suspending functions provides an abstraction for asynchronous operations while on library side kotlinx.coroutines provides functions like async { } and types like Flow. Spring laziness is not needed, fun handler(mono: Mono) becomes fun handler(value: T) since a suspending functions can be invoked to get the value parameter. • If laziness is needed, fun handler(mono: Mono ) 0 码力 | 42 页 | 602.76 KB | 1 年前3
Spring Framwork Language Support v5.3.36 SNAPSHOTspecifying the type for bean references like ref("bazBean") • It is possible to use Kotlin top level functions to declare beans using callable references like bean(::myRouter) in this example 4 • When specifying imperative way. On language side, suspending functions provides an abstraction for asynchronous operations while on library side kotlinx.coroutines provides functions like async { } and types like Flow. Spring laziness is not needed, fun handler(mono: Mono) becomes fun handler(value: T) since a suspending functions can be invoked to get the value parameter. • If laziness is needed, fun handler(mono: Mono ) 0 码力 | 42 页 | 603.79 KB | 1 年前3
Spring Framwork Web on Reactive Stack v5.3.36 SNAPSHOT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 1.5.5. Filtering Handler Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Web MVC Spring WebFlux includes WebFlux.fn, a lightweight functional programming model in which functions are used to route and handle requests and contracts are designed for immutability. It is an alternative RouterFunction is the equivalent of a @RequestMapping annotation, but with the major difference that router functions provide not just data, but also behavior. RouterFunctions.route() provides a router builder that0 码力 | 182 页 | 2.52 MB | 1 年前3
Spring Framwork Web on Servlet Stack v5.3.36 SNAPSHOT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 1.4.5. Filtering Handler Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . WebFlux Spring Web MVC includes WebMvc.fn, a lightweight functional programming model in which functions are used to route and handle requests and contracts are designed for immutability. It is an alternative RouterFunction is the equivalent of a @RequestMapping annotation, but with the major difference that router functions provide not just data, but also behavior. RouterFunctions.route() provides a router builder that0 码力 | 259 页 | 3.58 MB | 1 年前3
Apache Unomi 2.x - Documentationcxs object that contains the context with the current user profile, segments, scores as well as functions that makes it easier to perform further requests (such as collecting events using the cxs.collectEvents() Result will be something like this: 2084 8.2. METRICS Metric queries make it possible to apply functions to the resulting property. The supported metrics are: sum avg min max It is also possible to is quite straight forward to use. There are also helper functions to build events, such as : Here’s an example of using these helper functions and the collectEvent function alltogether: SENDING MULTIPLE0 码力 | 117 页 | 4.78 MB | 1 年前3
Apache Unomi 1.x - Documentationcxs object that contains the context with the current user profile, segments, scores as well as functions that makes it easier to perform further requests (such Apache Unomi 1.x - Documentation - 14 as Result will be something like this: 2084 3.2. METRICS Metric queries make it possible to apply functions to the resulting property. The supported metrics are: • sum Apache Unomi 1.x - Documentation - containing strictly context information or as a couple of JSON objects augmented with javascript functions that can be used to interact with the Unomi server using the/context 0 码力 | 158 页 | 3.65 MB | 1 年前3
Apache Unomi 1.1.x - Documentationcontaining strictly context information or as a couple of JSON objects augmented with javascript functions that can be used to interact with the Unomi server using the/context }(document, 'script', 'context')); This initial context results in a javascript file providing some functions to interact with the context server from javascript along with two objects: a cxs object containing context.json. However, if the client requestscontext.jsthen useful functions to interact with Unomi are added to thecxsobject in addition to the context information0 码力 | 32 页 | 477.20 KB | 1 年前3
Spring Boot 3.3.0-SNAPSHOT Reference GuideServerRequestObservationConvention. TIP In some cases, exceptions handled in controllers and handler functions are not recorded as request metrics tags. Applications can opt in and record exceptions by setting creating/updating functions. true spring.pulsar.function.propagate- stop-failures Whether to throw an exception if any failure is encountered during server shutdown while enforcing stop policy on functions. false org.apache.pulsar pulsar-functions 3.2.1 org.apache.pulsar pulsar-functions-api 3.2.1 org.apache.pulsar pulsar-functions-api-examples 3.2.1 org.apache.pulsar pulsar-functions-api-examples- builtin 30 码力 | 977 页 | 17.51 MB | 1 年前3
Spring Framwork Core Technologies v5.3.36 SNAPSHOT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 4.3.11. Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . construction • Inline lists • Inline maps 276 • Ternary operator • Variables • User-defined functions • Collection projection • Collection selection • Templated expressions 4.1. Evaluation This Inline Maps • Array Construction • Methods • Operators • Types • Constructors • Variables • Functions • Bean References • Ternary Operator (If-Then-Else) • The Elvis Operator • Safe Navigation Operator0 码力 | 485 页 | 6.31 MB | 1 年前3
Spring Framework Reference Documentation v4.3.2Mathematical operators Assignment Types Constructors Variables The #this and #root variables Functions Bean references Ternary Operator (If-Then-Else) The Elvis Operator Safe Navigation operator Collection references Array construction Inline lists Inline maps Ternary operator Variables User defined functions Collection projection Collection selection Templated expressions Expression Evaluation using Spring’s You can also specify variables and functions that will be used in the expression using the methods setVariable() and registerFunction(). The use of variables and functions are described in the language reference0 码力 | 1311 页 | 4.07 MB | 1 年前3
共 218 条
- 1
- 2
- 3
- 4
- 5
- 6
- 22













