Interface WebRouter.Configurer<A extends ExchangeContext>

Type Parameters:
A - the type of the exchange context
All Known Implementing Classes:
OpenApiRoutesConfigurer, WebJarsRoutesConfigurer
Enclosing interface:
WebRouter<A extends ExchangeContext>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface WebRouter.Configurer<A extends ExchangeContext>

A configurer used to configure Web routes in a Web server.

Since:
1.12
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Configures routes.
  • Method Details

    • configure

      void configure(WebRouter<A> routes)

      Configures routes.

      Parameters:
      routes - the Web router to use to define Web routes or WebSocket routes