Interface BoundedDomainRest
public interface BoundedDomainRest
Defines the port interface for a bounded domain offering access other REST services.
-
Method Summary
Modifier and TypeMethodDescriptionname()
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
-
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 servletAppJavalinServlet
.- Parameters:
javalin
- Javalin server
-