Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public static final class HeadersConfigurer.FrameOptionsConfig

  1. Object
  2. HeadersConfigurer.FrameOptionsConfig
X-Frame-Options.

Methods

public HeadersConfigurer.FrameOptionsConfig deny()No page may be framed.
public HeadersConfigurer.FrameOptionsConfig sameOrigin()A page may be framed by a page of the same origin.
public void disable()Does not send the header.

Inherited methods

Method details

deny

public HeadersConfigurer.FrameOptionsConfig deny()
No page may be framed. The default.

sameOrigin

public HeadersConfigurer.FrameOptionsConfig sameOrigin()
A page may be framed by a page of the same origin.

disable

public void disable()
Does not send the header.