Package io.jmix.ui.sys
Class LinkHandler
java.lang.Object
io.jmix.ui.sys.LinkHandler
Handles links from outside of the application.
This bean is used particularly when a request URL contains one of
The bean traverses all implementations of
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 Summary
Modifier and TypeFieldDescriptionprotected String
protected App
protected List<LinkHandlerProcessor>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check state of LinkHandler and application.void
handle()
Called to handle the link.
-
Field Details
-
processors
-
app
-
action
-
requestParams
-
-
Constructor Details
-
LinkHandler
-
-
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.
-