Home / Function/ FullHttpResponse() — netty Function Reference

FullHttpResponse() — netty Function Reference

Architecture documentation for the FullHttpResponse() function in HttpServerUpgradeHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b65c6308_9507_9c00_a912_fee87fa6e180["FullHttpResponse()"]
  9c8c1840_4e39_0876_abe2_bb3ce8067466["HttpServerUpgradeHandler"]
  b65c6308_9507_9c00_a912_fee87fa6e180 -->|defined in| 9c8c1840_4e39_0876_abe2_bb3ce8067466
  style b65c6308_9507_9c00_a912_fee87fa6e180 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/HttpServerUpgradeHandler.java lines 460–466

    private FullHttpResponse createUpgradeResponse(CharSequence upgradeProtocol) {
        DefaultFullHttpResponse res = new DefaultFullHttpResponse(
                HTTP_1_1, SWITCHING_PROTOCOLS, Unpooled.EMPTY_BUFFER, headersFactory, trailersFactory);
        res.headers().add(HttpHeaderNames.CONNECTION, HttpHeaderValues.UPGRADE);
        res.headers().add(HttpHeaderNames.UPGRADE, upgradeProtocol);
        return res;
    }

Subdomains

Frequently Asked Questions

What does FullHttpResponse() do?
FullHttpResponse() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpServerUpgradeHandler.java.
Where is FullHttpResponse() defined?
FullHttpResponse() is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpServerUpgradeHandler.java at line 460.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free