class NettyComponentConnectionHandler extends NettyConnectionHandler {

    /**
     * Enable / disable backup delivery of stanzas to the XMPP server itself when a stanza failed to be delivered on a
     * component connection. When disabled, stanzas that can not be delivered on the connection are discarded.
     */
    public static final SystemProperty<Boolean> BACKUP_PACKET_DELIVERY_ENABLED = SystemProperty.Builder.ofType(Boolean.class)
        .setKey("xmpp.component.backup-packet-delivery.enabled")
        .setDefaultValue(true)
        .setDynamic(true)
        .build();

    public NettyComponentConnectionHandler(ConnectionConfiguration configuration) {
        super(configuration);
    }

    @Override
    NettyConnection createNettyConnection(ChannelHandlerContext ctx) {
        final PacketDeliverer backupDeliverer = BACKUP_PACKET_DELIVERY_ENABLED.getValue() ? XMPPServer.getInstance().getPacketDeliverer() : null;
        return new NettyConnection(ctx, backupDeliverer, configuration);
    }

    @Override
    StanzaHandler createStanzaHandler(NettyConnection connection) {
        return new ComponentStanzaHandler(XMPPServer.getInstance().getPacketRouter(), connection);
    }

    @Override
    public Duration getMaxIdleTime() {
        return ConnectionSettings.Component.IDLE_TIMEOUT_PROPERTY.getValue();
    }

    @Override
    public String toString()
    {<FILL_FUNCTION_BODY>}
}

        return "NettyComponentConnectionHandler{" +
            "sslInitDone=" + sslInitDone +
            ", configuration=" + configuration +
            '}';
    
<methods>public void channelRead0(ChannelHandlerContext, java.lang.String) ,public void channelUnregistered(ChannelHandlerContext) throws java.lang.Exception,public void exceptionCaught(ChannelHandlerContext, java.lang.Throwable) ,public abstract java.time.Duration getMaxIdleTime() ,public void handlerAdded(ChannelHandlerContext) ,public void handlerRemoved(ChannelHandlerContext) ,public java.lang.String toString() ,public void userEventTriggered(ChannelHandlerContext, java.lang.Object) throws java.lang.Exception<variables>public static final AttributeKey<org.jivesoftware.openfire.nio.NettyConnection> CONNECTION,static final AttributeKey<org.jivesoftware.openfire.net.StanzaHandler> HANDLER,public static final AttributeKey<java.lang.Boolean> IDLE_FLAG,private static final Logger Log,protected static final ThreadLocal<org.dom4j.io.XMPPPacketReader> PARSER_CACHE,public static final AttributeKey<java.lang.Long> READ_BYTES,public static final AttributeKey<java.lang.Long> WRITTEN_BYTES,static final AttributeKey<org.jivesoftware.openfire.nio.XMLLightweightParser> XML_PARSER,protected final non-sealed org.jivesoftware.openfire.spi.ConnectionConfiguration configuration,private static XmlPullParserFactory factory,protected boolean sslInitDone