Class CorsConfigBuilder.DateValueGenerator

java.lang.Object
io.netty.handler.codec.http.cors.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.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final CorsConfigBuilder.DateValueGenerator
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    java.util.Date
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • DateValueGenerator

      private DateValueGenerator()
  • Method Details

    • 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