@OpenApiAll
public class HyperlinksHandlersRegistry
extends java.lang.Object
HyperlinkHandler
Modifier and Type | Field and Description |
---|---|
static HyperlinkHandler |
ANY_HYPERLINK_HANDLER |
Constructor and Description |
---|
HyperlinksHandlersRegistry() |
Modifier and Type | Method and Description |
---|---|
static void |
addHandler(HyperlinkHandler handler)
Register hyperlink handler.
|
static HyperlinkHandler |
getHandler(java.lang.String protocol) |
static java.util.List<HyperlinkHandler> |
getHandlers() |
static void |
removeHandler(HyperlinkHandler handler)
Unregister hyperlink handler.
|
public static final HyperlinkHandler ANY_HYPERLINK_HANDLER
public static void addHandler(HyperlinkHandler handler)
handler
- handler to register.public static void removeHandler(HyperlinkHandler handler)
handler
- handler to unregister.@CheckForNull public static HyperlinkHandler getHandler(java.lang.String protocol)
public static java.util.List<HyperlinkHandler> getHandlers()