Skip to content

Support for Spring WebMvc.fn #546

Closed
Closed
@nlochschmidt

Description

@nlochschmidt

You have a note on https://springdoc.org/ saying:

Spring-weblfux with Functional Endpoints, will be available in the future release

However, I haven't seen any mention on supporting WebMvc.fn (classic servlets): https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html#webmvc-fn

Do you already have an idea on how this could be supported? Given that this approach doesn't have a convenient place to put any annotations, I wonder how feasible it actually is.

Since the Functional Endpoints for Servlets are now pretty much stable, I am guessing that more people are going to ask for this.

As a side-note, here are two examples on how other libraries are solving this problem:

  • HTTP4K is using a meta dsl
  • Jooby is using a combination of build-time byte code analysis + annotation on handler functions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions