All Known Implementing Classes:
AggregatorAddOn, HttpPipelineOptAddOn

public interface AddOn
The HttpServer addon interface, responsible for adding features like WebSockets, Comet to HttpServer.
Author:
Alexey Stashok
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setup(NetworkListener networkListener, org.glassfish.grizzly.filterchain.FilterChainBuilder builder)
    The method, which will be invoked by HttpServer in order to initialize the AddOn on the passed NetworkListener.
  • Method Details

    • setup

      void setup(NetworkListener networkListener, org.glassfish.grizzly.filterchain.FilterChainBuilder builder)
      The method, which will be invoked by HttpServer in order to initialize the AddOn on the passed NetworkListener. Most of the time the AddOn implementation will update the passed NetworkListener's FilterChainBuilder by adding custom Filter(s), which implement AddOn's logic.
      Parameters:
      networkListener - the NetworkListener the addon is being initialized on.
      builder - the FilterChainBuilder, representing the NetworkListener logic.