Package io.jmix.ui.component
Enum Class BrowserFrame.ReferrerPolicy
- All Implemented Interfaces:
Serializable
,Comparable<BrowserFrame.ReferrerPolicy>
,Constable
- Enclosing interface:
- BrowserFrame
Standard values of the attribute referrerpolicy of iframe HTML element.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe Referer header will not be sent.The Referer header will not be sent to origins without TLS (HTTPS).The sent referrer will be limited to the origin of the referring page: its scheme, host, and port.The referrer sent to other origins will be limited to the scheme, the host, and the port.A referrer will be sent for same origin, but cross-origin requests will contain no referrer information.Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS->HTTPS), but don't send it to a less secure destination (HTTPS->HTTP).Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP).The referrer will include the origin and the path. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static BrowserFrame.ReferrerPolicy
Returns the enum constant of this class with the specified name.static BrowserFrame.ReferrerPolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_REFERRER
The Referer header will not be sent. -
NO_REFERRER_WHEN_DOWNGRADE
The Referer header will not be sent to origins without TLS (HTTPS). -
ORIGIN
The sent referrer will be limited to the origin of the referring page: its scheme, host, and port. -
ORIGIN_WHEN_CROSS_ORIGIN
The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path. -
SAME_ORIGIN
A referrer will be sent for same origin, but cross-origin requests will contain no referrer information. -
STRICT_ORIGIN
Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS->HTTPS), but don't send it to a less secure destination (HTTPS->HTTP). -
STRICT_ORIGIN_WHEN_CROSS_ORIGIN
Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP). -
UNSAFE_URL
The referrer will include the origin and the path. This value is unsafe, because it leaks origins and paths from TLS-protected resources to insecure origins.
-
-
Method Details
-
values
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
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
-
getValue
-