onLookupComplete() — netty Function Reference
Architecture documentation for the onLookupComplete() function in SniHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 89cae714_38ff_f2bb_6caf_33da4c9c86ff["onLookupComplete()"] 1c08698d_6de3_27a1_92a5_6a4c169201cb["SniHandler"] 89cae714_38ff_f2bb_6caf_33da4c9c86ff -->|defined in| 1c08698d_6de3_27a1_92a5_6a4c169201cb 33dddb51_25cb_3a7a_f527_e81a45e3ac15["Selection()"] 89cae714_38ff_f2bb_6caf_33da4c9c86ff -->|calls| 33dddb51_25cb_3a7a_f527_e81a45e3ac15 7a87e629_fa8a_5912_ac94_6fc5173193cc["replaceHandler()"] 89cae714_38ff_f2bb_6caf_33da4c9c86ff -->|calls| 7a87e629_fa8a_5912_ac94_6fc5173193cc style 89cae714_38ff_f2bb_6caf_33da4c9c86ff fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/SniHandler.java lines 150–169
@Override
protected final void onLookupComplete(ChannelHandlerContext ctx,
String hostname, Future<SslContext> future) throws Exception {
if (!future.isSuccess()) {
final Throwable cause = future.cause();
if (cause instanceof Error) {
throw (Error) cause;
}
throw new DecoderException("failed to get the SslContext for " + hostname, cause);
}
SslContext sslContext = future.getNow();
selection = new Selection(sslContext, hostname);
try {
replaceHandler(ctx, hostname, sslContext);
} catch (Throwable cause) {
selection = EMPTY_SELECTION;
PlatformDependent.throwException(cause);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does onLookupComplete() do?
onLookupComplete() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/SniHandler.java.
Where is onLookupComplete() defined?
onLookupComplete() is defined in handler/src/main/java/io/netty/handler/ssl/SniHandler.java at line 150.
What does onLookupComplete() call?
onLookupComplete() calls 2 function(s): Selection, replaceHandler.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free