Interface NettyServerCustomizer.Registry

All Known Subinterfaces:
NettyEmbeddedServer
All Known Implementing Classes:
NettyHttpServer
Enclosing interface:
NettyServerCustomizer

public static interface NettyServerCustomizer.Registry
Interface implemented by the HTTP server to register customizers.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Register a new customizer with this server.
  • Method Details

    • register

      void register(@NonNull @NonNull NettyServerCustomizer customizer)
      Register a new customizer with this server. Note that this method must be called before the server is started: When a listener launches, it may only respect the customizers that were registered at the time, and ignore future additions.
      Parameters:
      customizer - The customizer to register.