Class LinkHandler

java.lang.Object
io.jmix.ui.sys.LinkHandler

@Component("ui_LinkHandler") @Scope("prototype") public class LinkHandler extends Object
Handles links from outside of the application.
This bean is used particularly when a request URL contains one of UiProperties.getLinkHandlerActions() actions.
The bean traverses all implementations of LinkHandlerProcessor by their priority and gives control to first possible to handle processor.
  • Field Details

  • Constructor Details

  • Method Details

    • canHandleLink

      public boolean canHandleLink()
      Check state of LinkHandler and application.
      Returns:
      true if application and LinkHandler in an appropriate state.
    • handle

      public void handle()
      Called to handle the link.