public class AggregatorAddOn extends Object implements AddOn
AggregatorFilter into HttpServer FilterChain. AggregatorFilter is
responsible for aggregating input HTTP message payload (either request or response) and pass it to the next filter in
chain only when entire HTTP message (including payload) is read.| Constructor and Description |
|---|
AggregatorAddOn() |
| Modifier and Type | Method and 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. |
public void setup(NetworkListener networkListener, org.glassfish.grizzly.filterchain.FilterChainBuilder builder)
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.setup in interface AddOnnetworkListener - the NetworkListener the addon is being initialized on.builder - the FilterChainBuilder, representing the NetworkListener logic.Copyright © 2017–2021 Oracle Corporation. All rights reserved.