Class DefaultTowService

    • Constructor Detail

      • DefaultTowService

        public DefaultTowService()
      • DefaultTowService

        public DefaultTowService​(CoreService rootService)
    • Method Detail

      • execute

        public boolean execute​(io.undertow.server.HttpServerExchange exchange)
                        throws java.io.IOException
        Description copied from interface: TowService
        Executes web activity.
        Parameters:
        exchange - the HTTP request/response exchange
        Returns:
        true if the activity was handled; false otherwise
        Throws:
        java.io.IOException - If an error occurs during Activity execution
      • create

        public static DefaultTowService create​(CoreService rootService)
        Returns a new instance of DefaultTowService.
        Parameters:
        rootService - the root service
        Returns:
        the instance of DefaultTowService
      • create

        public static DefaultTowService create​(AspectranConfig aspectranConfig)
        Returns a new instance of DefaultTowService.
        Parameters:
        aspectranConfig - the aspectran configuration
        Returns:
        the instance of DefaultTowService