FailureWrapper Class — netty Architecture
Architecture documentation for the FailureWrapper class in JdkAlpnApplicationProtocolNegotiator.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b5a8291f_d29f_a2d2_21cd_c96fbc1fdffd["FailureWrapper"] 3ca15c7f_1a43_6ede_7980_b5d11c6a55d1["JdkAlpnApplicationProtocolNegotiator.java"] b5a8291f_d29f_a2d2_21cd_c96fbc1fdffd -->|defined in| 3ca15c7f_1a43_6ede_7980_b5d11c6a55d1 c3706d17_0c25_2ac5_4023_9c86ecd08bed["SSLEngine()"] b5a8291f_d29f_a2d2_21cd_c96fbc1fdffd -->|method| c3706d17_0c25_2ac5_4023_9c86ecd08bed
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/JdkAlpnApplicationProtocolNegotiator.java lines 118–125
private static final class FailureWrapper extends AllocatorAwareSslEngineWrapperFactory {
@Override
public SSLEngine wrapSslEngine(SSLEngine engine, ByteBufAllocator alloc,
JdkApplicationProtocolNegotiator applicationNegotiator, boolean isServer) {
throw new RuntimeException("ALPN unsupported. Does your JDK version support it?"
+ " For Conscrypt, add the appropriate Conscrypt JAR to classpath and set the security provider.");
}
}
Source
Frequently Asked Questions
What is the FailureWrapper class?
FailureWrapper is a class in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/JdkAlpnApplicationProtocolNegotiator.java.
Where is FailureWrapper defined?
FailureWrapper is defined in handler/src/main/java/io/netty/handler/ssl/JdkAlpnApplicationProtocolNegotiator.java at line 118.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free