Interface URLStreamHandlerPluginExtension
- All Superinterfaces:
PluginExtension
,URLStreamHandlerPluginExtensionConstants
- All Known Subinterfaces:
URLStreamHandlerWithLockPluginExtension
@API(type=EXTENDABLE,
src=PUBLIC)
public interface URLStreamHandlerPluginExtension
extends PluginExtension, URLStreamHandlerPluginExtensionConstants
This URL stream handler provides the possibility to impose the URL stream
handlers for specific protocols.
This plugin extension can provide URL stream handlers for multiple protocols, other than then ones handled by the application (like
If it is necessary to impose the application stream URL handlers for specific URLs with protocols like:
This plugin extension can provide URL stream handlers for multiple protocols, other than then ones handled by the application (like
file
, http
,
ftp
, sftp
or https
).
If it is necessary to impose the application stream URL handlers for specific URLs with protocols like:
http
, https
,
ftp
or sftp
,
the TargetedURLStreamHandlerPluginExtension
can be used.-
Field Summary
Fields inherited from interface ro.sync.exml.plugin.urlstreamhandler.URLStreamHandlerPluginExtensionConstants
ADVICE_CLOSE, ADVICE_RELOAD, LOCATION_HEADER, OXYGEN_ACTION_HEADER, OXYGEN_READ_ONLY_HEADER, OXYGEN_READ_ONLY_REASON_CODE_HEADER, OXYGEN_READ_ONLY_REASON_HEADER, OXYGEN_SAVE_TYPE, SAVE_AS, SAVE_AUTO
-
Method Summary
Modifier and TypeMethodDescriptiongetURLStreamHandler
(String protocol) Get the URL handler for the specified protocol.
-
Method Details
-
getURLStreamHandler
Get the URL handler for the specified protocol.- Parameters:
protocol
- The name of the protocol.- Returns:
- The handler for the protocol or
null
if it does not know it.
-