Package io.netty.handler.codec.http.cors
Class CorsConfigBuilder.ConstantValueGenerator
- java.lang.Object
-
- io.netty.handler.codec.http.cors.CorsConfigBuilder.ConstantValueGenerator
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Object>
- Enclosing class:
- CorsConfigBuilder
private static final class CorsConfigBuilder.ConstantValueGenerator extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Object>
This class is used for preflight HTTP response values that do not need to be generated, but instead the value is "static" in that the same value will be returned for each call.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
value
-
Constructor Summary
Constructors Modifier Constructor Description private
ConstantValueGenerator(java.lang.Object value)
Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
call()
-