shouldThrowIfValueIsNull() — netty Function Reference
Architecture documentation for the shouldThrowIfValueIsNull() function in CorsConfigTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 320af2d7_873e_b42e_608a_f0403d699e56["shouldThrowIfValueIsNull()"] 4c12e86c_466b_5dbf_1ee2_0e8263642d7d["CorsConfigTest"] 320af2d7_873e_b42e_608a_f0403d699e56 -->|defined in| 4c12e86c_466b_5dbf_1ee2_0e8263642d7d style 320af2d7_873e_b42e_608a_f0403d699e56 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsConfigTest.java lines 129–137
@Test
public void shouldThrowIfValueIsNull() {
assertThrows(IllegalArgumentException.class, new Executable() {
@Override
public void execute() {
forOrigin("*").preflightResponseHeader("HeaderName", new Object[]{null}).build();
}
});
}
Domain
Subdomains
Source
Frequently Asked Questions
What does shouldThrowIfValueIsNull() do?
shouldThrowIfValueIsNull() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsConfigTest.java.
Where is shouldThrowIfValueIsNull() defined?
shouldThrowIfValueIsNull() is defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsConfigTest.java at line 129.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free