Home / Function/ testClientOcspNotEnabled() — netty Function Reference

testClientOcspNotEnabled() — netty Function Reference

Architecture documentation for the testClientOcspNotEnabled() function in OcspTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e2294493_7bfb_0736_5376_39aa7e3468d8["testClientOcspNotEnabled()"]
  9135fc19_1676_c0ae_d77a_3a05e26293b5["OcspTest"]
  e2294493_7bfb_0736_5376_39aa7e3468d8 -->|defined in| 9135fc19_1676_c0ae_d77a_3a05e26293b5
  9e1dd1d6_96fd_2822_e7f1_ccbde7907105["testClientOcspNotEnabledOpenSsl()"]
  9e1dd1d6_96fd_2822_e7f1_ccbde7907105 -->|calls| e2294493_7bfb_0736_5376_39aa7e3468d8
  61cf3b59_71c3_3962_ce57_5bffc05afec4["testClientOcspNotEnabledOpenSslRefCnt()"]
  61cf3b59_71c3_3962_ce57_5bffc05afec4 -->|calls| e2294493_7bfb_0736_5376_39aa7e3468d8
  style e2294493_7bfb_0736_5376_39aa7e3468d8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler-ssl-ocsp/src/test/java/io/netty/handler/ssl/ocsp/OcspTest.java lines 117–137

    private static void testClientOcspNotEnabled(SslProvider sslProvider) throws Exception {
        SslContext context = SslContextBuilder.forClient()
                .sslProvider(sslProvider)
                .build();
        try {
            SslHandler sslHandler = context.newHandler(ByteBufAllocator.DEFAULT);
            final ReferenceCountedOpenSslEngine engine = (ReferenceCountedOpenSslEngine) sslHandler.engine();
            try {
                assertThrows(IllegalStateException.class, new Executable() {
                    @Override
                    public void execute() {
                        engine.getOcspResponse();
                    }
                });
            } finally {
                engine.release();
            }
        } finally {
            ReferenceCountUtil.release(context);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testClientOcspNotEnabled() do?
testClientOcspNotEnabled() is a function in the netty codebase, defined in handler-ssl-ocsp/src/test/java/io/netty/handler/ssl/ocsp/OcspTest.java.
Where is testClientOcspNotEnabled() defined?
testClientOcspNotEnabled() is defined in handler-ssl-ocsp/src/test/java/io/netty/handler/ssl/ocsp/OcspTest.java at line 117.
What calls testClientOcspNotEnabled()?
testClientOcspNotEnabled() is called by 2 function(s): testClientOcspNotEnabledOpenSsl, testClientOcspNotEnabledOpenSslRefCnt.

Analyze Your Own Codebase

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

Try Supermodel Free