Interface BoundedDomainRest


public interface BoundedDomainRest
Defines the port interface for a bounded domain offering access other REST services.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the bounded domain.
    void
    registerEndPoints(@NotNull io.javalin.Javalin javalin)
    Registers the REST end points of the bounded domain with the Javalin server.
  • Method Details

    • name

      String name()
      Returns the name of the bounded domain.
      Returns:
      name of the bounded domain
    • registerEndPoints

      void registerEndPoints(@NotNull @NotNull io.javalin.Javalin javalin)
      Registers the REST end points of the bounded domain with the Javalin server. This callback is called by a customized Javalin servlet AppJavalinServlet.
      Parameters:
      javalin - Javalin server