Interface AddOn
-
- All Known Implementing Classes:
AggregatorAddOn,HttpPipelineOptAddOn
public interface AddOnTheHttpServeraddon interface, responsible for adding features like WebSockets, Comet to HttpServer.- Author:
- Alexey Stashok
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetup(NetworkListener networkListener, org.glassfish.grizzly.filterchain.FilterChainBuilder builder)The method, which will be invoked byHttpServerin order to initialize the AddOn on the passedNetworkListener.
-
-
-
Method Detail
-
setup
void setup(NetworkListener networkListener, org.glassfish.grizzly.filterchain.FilterChainBuilder builder)
The method, which will be invoked byHttpServerin order to initialize the AddOn on the passedNetworkListener. Most of the time the AddOn implementation will update the passedNetworkListener'sFilterChainBuilderby adding customFilter(s), which implement AddOn's logic.- Parameters:
networkListener- theNetworkListenerthe addon is being initialized on.builder- theFilterChainBuilder, representing theNetworkListenerlogic.
-
-