Class ApiServer.GetCurrentModelEndpoint

  • All Implemented Interfaces:
    spark.Route
    Enclosing class:
    ApiServer

    @Path("/api/v1/currentModel")
    public class ApiServer.GetCurrentModelEndpoint
    extends Object
    implements spark.Route
    • Constructor Detail

      • GetCurrentModelEndpoint

        public GetCurrentModelEndpoint()
    • Method Detail

      • handle

        @GET
        @Produces("application/json")
        public String handle​(spark.Request request,
                             spark.Response response)
        Specified by:
        handle in interface spark.Route