Home / Function/ alternativeInstanceDefaultsToSupportedCiphers() — netty Function Reference

alternativeInstanceDefaultsToSupportedCiphers() — netty Function Reference

Architecture documentation for the alternativeInstanceDefaultsToSupportedCiphers() function in IdentityCipherSuiteFilterTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f6cde536_3213_3bc6_cfa9_346d6c69582b["alternativeInstanceDefaultsToSupportedCiphers()"]
  60c1f160_892a_984f_45fc_6d3d806c9773["IdentityCipherSuiteFilterTest"]
  f6cde536_3213_3bc6_cfa9_346d6c69582b -->|defined in| 60c1f160_892a_984f_45fc_6d3d806c9773
  style f6cde536_3213_3bc6_cfa9_346d6c69582b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/IdentityCipherSuiteFilterTest.java lines 38–45

    @Test
    public void alternativeInstanceDefaultsToSupportedCiphers() {
        List<String> defaultCiphers = Arrays.asList("FOO", "BAR");
        Set<String> supportedCiphers = new HashSet<String>(Arrays.asList("BAZ", "QIX"));
        String[] filtered = IdentityCipherSuiteFilter.INSTANCE_DEFAULTING_TO_SUPPORTED_CIPHERS
                .filterCipherSuites(null, defaultCiphers, supportedCiphers);
        assertArrayEquals(supportedCiphers.toArray(), filtered);
    }

Domain

Subdomains

Frequently Asked Questions

What does alternativeInstanceDefaultsToSupportedCiphers() do?
alternativeInstanceDefaultsToSupportedCiphers() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/IdentityCipherSuiteFilterTest.java.
Where is alternativeInstanceDefaultsToSupportedCiphers() defined?
alternativeInstanceDefaultsToSupportedCiphers() is defined in handler/src/test/java/io/netty/handler/ssl/IdentityCipherSuiteFilterTest.java at line 38.

Analyze Your Own Codebase

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

Try Supermodel Free