ConstantValueGenerator Class — netty Architecture
Architecture documentation for the ConstantValueGenerator class in CorsConfigBuilder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 978a3e46_952b_3b80_20d8_1b365c267e9e["ConstantValueGenerator"] 69092f29_9439_7192_86f5_0213365ca797["CorsConfigBuilder.java"] 978a3e46_952b_3b80_20d8_1b365c267e9e -->|defined in| 69092f29_9439_7192_86f5_0213365ca797 458ea0d9_fcb3_e67f_174a_81d7bb58e8ee["ConstantValueGenerator()"] 978a3e46_952b_3b80_20d8_1b365c267e9e -->|method| 458ea0d9_fcb3_e67f_174a_81d7bb58e8ee 6943ba8f_3f2f_c2bc_23c3_2acb69963452["Object()"] 978a3e46_952b_3b80_20d8_1b365c267e9e -->|method| 6943ba8f_3f2f_c2bc_23c3_2acb69963452
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/cors/CorsConfigBuilder.java lines 387–404
private static final class ConstantValueGenerator implements Callable<Object> {
private final Object value;
/**
* Sole constructor.
*
* @param value the value that will be returned when the call method is invoked.
*/
private ConstantValueGenerator(final Object value) {
this.value = checkNotNullWithIAE(value, "value");
}
@Override
public Object call() {
return value;
}
}
Source
Frequently Asked Questions
What is the ConstantValueGenerator class?
ConstantValueGenerator is a class in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/cors/CorsConfigBuilder.java.
Where is ConstantValueGenerator defined?
ConstantValueGenerator is defined in codec-http/src/main/java/io/netty/handler/codec/http/cors/CorsConfigBuilder.java at line 387.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free