Top Description Methods
org.glassfish.grizzly.http.server

public Interface AddOn

Known Direct Implementers
org.glassfish.grizzly.http.server.util.AggregatorAddOn, org.glassfish.grizzly.http.server.util.HttpPipelineOptAddOn
Imports
org.glassfish.grizzly.filterchain.FilterChainBuilder

The HttpServer addon interface, responsible for adding features like WebSockets, Comet to HttpServer.
Author
Alexey Stashok

Method Summary

Modifier and TypeMethod and Description
public void
setup(NetworkListener
the NetworkListener the addon is being initialized on.
networkListener
,
FilterChainBuilder
the FilterChainBuilder, representing the NetworkListener logic.
builder
)

The method, which will be invoked by HttpServer in order to initialize the AddOn on the passed NetworkListener.

Method Detail

setupback to summary
public void setup(NetworkListener networkListener, 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 org.glassfish.grizzly.filterchain.Filter(s), which implement AddOn's logic.

Parameters
networkListener:NetworkListener

the NetworkListener the addon is being initialized on.

builder:FilterChainBuilder

the FilterChainBuilder, representing the NetworkListener logic.