Controllers

Pragya Keshap answered on February 18, 2023 Popularity 9/10 Helpfulness 2/10

Contents


More Related Answers

  • @Controller
  • laravel.com controllers
  • Writing Reactive Web Controllers
  • controller
  • controller
  • controller
  • App\Http\Controllers\File
  • react controllers

  • Controllers

    0

    The Spring team has kept the same annotations for both Spring MVC and Spring WebFlux as these annotations are non-blocking. Therefore, you can use the same annotations we have used in previous chapters for creating REST controllers. There, the annotation runs on Reactive Core and provides a non-blocking flow. However, you, as the developer, have the responsibility of maintaining a fully non-blocking flow and maintaining the Reactive chain (pipeline). Any blocking calls in a Reactive chain would convert the Reactive chain into a blocking call.

    Let's create a simple REST controller that supports non-blocking and Reactive calls:

    Popularity 9/10 Helpfulness 2/10 Language java
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 18 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.