There’s a higher level RouteGroup
API available as well that is easier than using raw servlets.
In your gateway hook override mountRouteHandlers
, and use the RouteGroup object to build a route and set a handler on it. Looking to see if we have any examples or not…
edit: the Javadocs actually seem pretty good on it… example and all.
https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.1/com/inductiveautomation/ignition/gateway/dataroutes/RouteGroup.html