Home / Function/ safeClose() — netty Function Reference

safeClose() — netty Function Reference

Architecture documentation for the safeClose() function in SelfSignedCertificate.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b6d34d94_3591_0c0e_1e18_5c1881831df7["safeClose()"]
  3f71414d_6bbb_ccc1_3eec_bdf61bb53618["SelfSignedCertificate"]
  b6d34d94_3591_0c0e_1e18_5c1881831df7 -->|defined in| 3f71414d_6bbb_ccc1_3eec_bdf61bb53618
  3e521991_ebab_34c6_6bc0_ff49eab101aa["newSelfSignedCertificate()"]
  3e521991_ebab_34c6_6bc0_ff49eab101aa -->|calls| b6d34d94_3591_0c0e_1e18_5c1881831df7
  style b6d34d94_3591_0c0e_1e18_5c1881831df7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/util/SelfSignedCertificate.java lines 366–374

    private static void safeClose(File keyFile, OutputStream keyOut) {
        try {
            keyOut.close();
        } catch (IOException e) {
            if (logger.isWarnEnabled()) {
                logger.warn("Failed to close a file: " + keyFile, e);
            }
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does safeClose() do?
safeClose() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/util/SelfSignedCertificate.java.
Where is safeClose() defined?
safeClose() is defined in handler/src/main/java/io/netty/handler/ssl/util/SelfSignedCertificate.java at line 366.
What calls safeClose()?
safeClose() is called by 1 function(s): newSelfSignedCertificate.

Analyze Your Own Codebase

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

Try Supermodel Free