twigkit.service.AppkitService
interface and can be injected into the servlet responsible for returning the list of suggestions.ConfiguredServiceProvider
class. To declare a service via the configuration framework, you must add a configuration file named src/main/resources/META-INF/services/TwigKitService
that contains the fully-qualified Java class name of your services, one per line. See the screenshot for an example.
TwigKitService
, with a capital “K”.AppkitServlet
, and is declared via the Appkit configuration framework. To declare a servlet via the configuration framework, you must add a configuration file named src/main/resources/META-INF/services/TwigKitServlet
that contains the fully-qualified Java class name of your servlets, one per line. See the screenshot for an example.
TwigKitServlet
, with a capital “K”.TwigKitServlet
.
/twigkit/services/custom/excel/
. Using the ServletPath annotation will guarantee that the HTTP Request/Response is correctly filtered by Appkit for example, for security and URL mapping.