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
FieldsModifier and TypeFieldDescription(package private) static final CorsConfigBuilder.DateValueGenerator -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DateValueGenerator
private DateValueGenerator()
-
-
Method Details
-
call
public java.util.Date call() throws java.lang.Exception- Specified by:
callin interfacejava.util.concurrent.Callable<java.util.Date>- Throws:
java.lang.Exception
-