Class CorsConfigBuilder.DateValueGenerator

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.util.Date>
    Enclosing class:
    CorsConfigBuilder

    private static final class CorsConfigBuilder.DateValueGenerator
    extends java.lang.Object
    implements java.util.concurrent.Callable<java.util.Date>
    This callable is used for the DATE preflight HTTP response HTTP header. It's value must be generated when the response is generated, hence will be different for every call.
    • Constructor Detail

      • DateValueGenerator

        private DateValueGenerator()
    • Method Detail

      • call

        public java.util.Date call()
                            throws java.lang.Exception
        Specified by:
        call in interface java.util.concurrent.Callable<java.util.Date>
        Throws:
        java.lang.Exception