simpleRequestExposeHeaders() — netty Function Reference
Architecture documentation for the simpleRequestExposeHeaders() function in CorsHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4aa5dc9d_7f64_3764_3c5f_1cc06ec6d69f["simpleRequestExposeHeaders()"] e946b2e4_b243_053e_5c0a_3d1a9a50042d["CorsHandlerTest"] 4aa5dc9d_7f64_3764_3c5f_1cc06ec6d69f -->|defined in| e946b2e4_b243_053e_5c0a_3d1a9a50042d style 4aa5dc9d_7f64_3764_3c5f_1cc06ec6d69f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java lines 292–299
@Test
public void simpleRequestExposeHeaders() {
final CorsConfig config = forAnyOrigin().exposeHeaders("one", "two").build();
final HttpResponse response = simpleRequest(config, "http://localhost:7777");
assertThat(response.headers().get(ACCESS_CONTROL_EXPOSE_HEADERS)).contains("one");
assertThat(response.headers().get(ACCESS_CONTROL_EXPOSE_HEADERS)).contains("two");
assertTrue(ReferenceCountUtil.release(response));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does simpleRequestExposeHeaders() do?
simpleRequestExposeHeaders() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java.
Where is simpleRequestExposeHeaders() defined?
simpleRequestExposeHeaders() is defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java at line 292.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free