Class Routes.AuthenticatedRouteHandlerWrapper

java.lang.Object
com.inductiveautomation.perspective.gateway.comm.Routes.AuthenticatedRouteHandlerWrapper
All Implemented Interfaces:
RouteHandler
Enclosing class:
Routes

public static class Routes.AuthenticatedRouteHandlerWrapper extends Object implements RouteHandler
  • Constructor Details

  • Method Details

    • handle

      public Object handle(RequestContext req, jakarta.servlet.http.HttpServletResponse res) throws Exception
      Description copied from interface: RouteHandler
      Called when the route this handler is attached to is matched in an incoming HTTP request.
      Specified by:
      handle in interface RouteHandler
      Returns:
      Return an object if your handler should result in a string body returned. Optionally transform the object if it is not already a string by adding a ResponseRenderer to your mounted route. Return null if you have handled the response yourself by directly manipulating the HttpServletResponse.
      Throws:
      Exception