noopAnswer() — netty Function Reference
Architecture documentation for the noopAnswer() function in StreamBufferingEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 694e3b59_c990_d601_cc36_e260b7c719b8["noopAnswer()"] b13b21e9_41cb_8feb_3534_f953823cad07["StreamBufferingEncoderTest"] 694e3b59_c990_d601_cc36_e260b7c719b8 -->|defined in| b13b21e9_41cb_8feb_3534_f953823cad07 b8078d06_d505_ba88_4396_b7f705ff79d2["setup()"] b8078d06_d505_ba88_4396_b7f705ff79d2 -->|calls| 694e3b59_c990_d601_cc36_e260b7c719b8 style 694e3b59_c990_d601_cc36_e260b7c719b8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java lines 594–606
private Answer<ChannelFuture> noopAnswer() {
return new Answer<ChannelFuture>() {
@Override
public ChannelFuture answer(InvocationOnMock invocation) throws Throwable {
for (Object a : invocation.getArguments()) {
if (a instanceof ChannelPromise) {
return (ChannelFuture) a;
}
}
return newPromise();
}
};
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does noopAnswer() do?
noopAnswer() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java.
Where is noopAnswer() defined?
noopAnswer() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java at line 594.
What calls noopAnswer()?
noopAnswer() is called by 1 function(s): setup.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free