Class HeadersConfigurer.FrameOptionsConfig

    • Method Detail

      • sameOrigin

        public HeadersConfigurer<H> sameOrigin()

        Specify to allow any request that comes from the same origin to frame this application. For example, if the application was hosted on example.com, then example.com could frame the application, but evil.com could not frame the application.

        Returns:
        the HeadersConfigurer for additional customization.