Package de.espirit.firstspirit.access
Enum Class UrlCreator.Mode
- All Implemented Interfaces:
Serializable
,Comparable<UrlCreator.Mode>
,Constable
- Enclosing interface:
- UrlCreator
Deprecated.
The different flavours an url can be created.
- Since:
- 4.0.52
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.An absolute url containg theUrlCreator.getUrlPrefix()
- called for "abs:1".Deprecated.An absolute url starting with '/' - called for "abs:2".Deprecated.An external url: "http://{host}:{port}/{preview_application}/...", this can be used to generate urls to media files which should be included in rendered output - called for "abs:4".Deprecated.An internal url: "fs://..." - this can be used to generate urls to media files which should be included in rendered output - called for "abs:3".Deprecated.A relative url containing something like '../' - called for "abs:0". -
Method Summary
Modifier and TypeMethodDescriptionstatic UrlCreator.Mode
Deprecated.Returns the enum constant of this class with the specified name.static UrlCreator.Mode[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RELATIVE_URL
Deprecated.A relative url containing something like '../' - called for "abs:0".- Since:
- 4.0.52
-
ABSOLUTE_URL
Deprecated.An absolute url containg theUrlCreator.getUrlPrefix()
- called for "abs:1".- Since:
- 4.0.52
-
ABSOLUTE_URL_NO_PREFIX
Deprecated.An absolute url starting with '/' - called for "abs:2".- Since:
- 4.0.52
-
INTERNAL_URL
Deprecated.An internal url: "fs://..." - this can be used to generate urls to media files which should be included in rendered output - called for "abs:3". E.g. for embedded images in pdf files. The generated url could only resolved in the virtual machine of FirstSpirit - therfore "internal". If external tools must embed images useEXTERNAL_URL
.- Since:
- 4.0.52
-
EXTERNAL_URL
Deprecated.An external url: "http://{host}:{port}/{preview_application}/...", this can be used to generate urls to media files which should be included in rendered output - called for "abs:4". E.g. for embedded images in pdf files. The generated url could be resolved also by external tools. Be aware that for security reasons the url is valid only for a short amount of time.- Since:
- 4.0.52
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
UrlCreator.Mode
.