Home / Function/ isLast() — netty Function Reference

isLast() — netty Function Reference

Architecture documentation for the isLast() function in SpdyHttpEncoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4b3a9241_a033_6042_cea3_ac272e0a6928["isLast()"]
  18ed3381_f0b5_3753_fac7_fb58d0f9ddbb["SpdyHttpEncoder"]
  4b3a9241_a033_6042_cea3_ac272e0a6928 -->|defined in| 18ed3381_f0b5_3753_fac7_fb58d0f9ddbb
  9aa81464_45bd_d2c4_770c_f46f2337d072["encode()"]
  9aa81464_45bd_d2c4_770c_f46f2337d072 -->|calls| 4b3a9241_a033_6042_cea3_ac272e0a6928
  9e19a607_95cc_5b52_189e_a5072a72aa56["SpdySynStreamFrame()"]
  9e19a607_95cc_5b52_189e_a5072a72aa56 -->|calls| 4b3a9241_a033_6042_cea3_ac272e0a6928
  0aeff057_9424_398d_c320_e72e9d1c434b["SpdyHeadersFrame()"]
  0aeff057_9424_398d_c320_e72e9d1c434b -->|calls| 4b3a9241_a033_6042_cea3_ac272e0a6928
  style 4b3a9241_a033_6042_cea3_ac272e0a6928 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyHttpEncoder.java lines 322–331

    private static boolean isLast(HttpMessage httpMessage) {
        if (httpMessage instanceof FullHttpMessage) {
            FullHttpMessage fullMessage = (FullHttpMessage) httpMessage;
            if (fullMessage.trailingHeaders().isEmpty() && !fullMessage.content().isReadable()) {
                return true;
            }
        }

        return false;
    }

Domain

Subdomains

Frequently Asked Questions

What does isLast() do?
isLast() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyHttpEncoder.java.
Where is isLast() defined?
isLast() is defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyHttpEncoder.java at line 322.
What calls isLast()?
isLast() is called by 3 function(s): SpdyHeadersFrame, SpdySynStreamFrame, encode.

Analyze Your Own Codebase

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

Try Supermodel Free