ro.sync.exml.plugin.urlstreamhandler
Interface URLStreamHandlerPluginExtensionConstants
- All Known Subinterfaces:
- TargetedURLStreamHandlerPluginExtension, URLStreamHandlerPluginExtension, URLStreamHandlerWithLockPluginExtension
- All Known Implementing Classes:
- CustomProtocolURLHandlerExtension
@API(type=EXTENDABLE,
src=PUBLIC)
public interface URLStreamHandlerPluginExtensionConstants
Constants used from URLStreamHandler
provider plugin extensions.
Field Summary |
static java.lang.String |
ADVICE_CLOSE
"oxygen-action" header value instructing to close the editor. |
static java.lang.String |
ADVICE_RELOAD
"oxygen-action" header value instructing to reload editor's content from the provided
location. |
static java.lang.String |
LOCATION_HEADER
The location header key. |
static java.lang.String |
OXYGEN_ACTION_HEADER
The oxygen-action header key. |
LOCATION_HEADER
static final java.lang.String LOCATION_HEADER
- The location header key.
When saving the content through an URLConnection you can set the "location" header field
to a specific value. Together with the "oxygen-action" header field value, this will instruct
to refresh the editor content from the specified location or to close the editor,
after performing the save operation.
- See Also:
- Constant Field Values
OXYGEN_ACTION_HEADER
static final java.lang.String OXYGEN_ACTION_HEADER
- The oxygen-action header key.
Use case: After saving content to certain CMSs, the content may be changed by the CMS or even
the location can be relocated. After closing the output stream, will check the header
keys of the URLConnection for the "location" and "oxygen-action" keys.
If the "oxygen-action" key is found and the value is a supported one: "reload" or "close"
values, will act accordingly.
- See Also:
- Constant Field Values
ADVICE_RELOAD
static final java.lang.String ADVICE_RELOAD
- "oxygen-action" header value instructing to reload editor's content from the provided
location.
- See Also:
- Constant Field Values
ADVICE_CLOSE
static final java.lang.String ADVICE_CLOSE
- "oxygen-action" header value instructing to close the editor.
- See Also:
- Constant Field Values
© Copyright Syncro Soft SRL 2002 - 2013. All rights reserved.