Class Routes

java.lang.Object
dev.relism.flash.routing.Routes

public final class Routes extends Object
Boot-time resolution of Route from a handler class (direct @Route or shorthand).
  • Method Details

    • of

      public static Route of(Class<?> cls)
      Effective route for cls, or null. Prefers @Route on the class; otherwise the first annotation type meta-annotated with @Route (e.g. @GET). If several routing annotations are present, behaviour is undefined — use one.