Home / Function/ map() — netty Function Reference

map() — netty Function Reference

Architecture documentation for the map() function in SniHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f0ec6209_5435_d9ba_6dea_41b2d75ea17e["map()"]
  18836537_32fc_b1dc_7f5f_9bbb68f57850["AsyncMappingAdapter"]
  f0ec6209_5435_d9ba_6dea_41b2d75ea17e -->|defined in| 18836537_32fc_b1dc_7f5f_9bbb68f57850
  318ac842_9127_b2ae_db00_9164c3280b5d["lookup()"]
  318ac842_9127_b2ae_db00_9164c3280b5d -->|calls| f0ec6209_5435_d9ba_6dea_41b2d75ea17e
  style f0ec6209_5435_d9ba_6dea_41b2d75ea17e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/SniHandler.java lines 213–222

        @Override
        public Future<SslContext> map(String input, Promise<SslContext> promise) {
            final SslContext context;
            try {
                context = mapping.map(input);
            } catch (Throwable cause) {
                return promise.setFailure(cause);
            }
            return promise.setSuccess(context);
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does map() do?
map() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/SniHandler.java.
Where is map() defined?
map() is defined in handler/src/main/java/io/netty/handler/ssl/SniHandler.java at line 213.
What calls map()?
map() is called by 1 function(s): lookup.

Analyze Your Own Codebase

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

Try Supermodel Free