org.glassfish.grizzly.http.server.util
Class AggregatorAddOn
java.lang.Object
org.glassfish.grizzly.http.server.util.AggregatorAddOn
- All Implemented Interfaces:
- AddOn
public class AggregatorAddOn
- extends Object
- implements AddOn
AggregatorAddOn installs 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.
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregatorAddOn
public AggregatorAddOn()
setup
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
Filter(s), which implement
AddOn's logic.
- Specified by:
setup in interface AddOn
- Parameters:
networkListener - the NetworkListener the addon is being
initialized on.builder - the FilterChainBuilder,
representing the NetworkListener logic.
Copyright © 2012 Oracle Corporation. All Rights Reserved.