FramingPolicy

enum FramingPolicy : ProtocolMessageEnum
Specifies a policy to apply via the `X-Frame-Options` header.
Protobuf enum elide.page.Context.FramingPolicy

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Unknown, or default, framing policy.
DEFAULT_FRAMING_POLICY = 0;
Link copied to clipboard
val DENY_VALUE: Int = 2
Deny all frames.
DENY = 2;
Link copied to clipboard
Allow frames from the same origin.
SAMEORIGIN = 1;

Functions

Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<Context.FramingPolicy>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): Context.FramingPolicy

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.