sendRedirect() — netty Function Reference
Architecture documentation for the sendRedirect() function in HttpStaticFileServerHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6c5cbb5e_8e83_4646_b043_db847af45914["sendRedirect()"] 02ca82d7_508c_aabe_bb4d_dd1603c38b01["HttpStaticFileServerHandler"] 6c5cbb5e_8e83_4646_b043_db847af45914 -->|defined in| 02ca82d7_508c_aabe_bb4d_dd1603c38b01 d39f8eb8_b352_59dc_d244_4e113cd078df["channelRead0()"] d39f8eb8_b352_59dc_d244_4e113cd078df -->|calls| 6c5cbb5e_8e83_4646_b043_db847af45914 387357b5_0623_04d6_d7dd_f0074f835df9["sendAndCleanupConnection()"] 6c5cbb5e_8e83_4646_b043_db847af45914 -->|calls| 387357b5_0623_04d6_d7dd_f0074f835df9 style 6c5cbb5e_8e83_4646_b043_db847af45914 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
example/src/main/java/io/netty/example/http/file/HttpStaticFileServerHandler.java lines 320–325
private void sendRedirect(ChannelHandlerContext ctx, String newUri) {
FullHttpResponse response = new DefaultFullHttpResponse(HTTP_1_1, FOUND, Unpooled.EMPTY_BUFFER);
response.headers().set(HttpHeaderNames.LOCATION, newUri);
sendAndCleanupConnection(ctx, response);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does sendRedirect() do?
sendRedirect() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/http/file/HttpStaticFileServerHandler.java.
Where is sendRedirect() defined?
sendRedirect() is defined in example/src/main/java/io/netty/example/http/file/HttpStaticFileServerHandler.java at line 320.
What does sendRedirect() call?
sendRedirect() calls 1 function(s): sendAndCleanupConnection.
What calls sendRedirect()?
sendRedirect() is called by 1 function(s): channelRead0.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free