Example usage for io.netty.handler.ipfilter AbstractRemoteAddressFilter subclass-usage

List of usage examples for io.netty.handler.ipfilter AbstractRemoteAddressFilter subclass-usage

Introduction

In this page you can find the example usage for io.netty.handler.ipfilter AbstractRemoteAddressFilter subclass-usage.

Usage

From source file org.eclipse.milo.opcua.stack.server.transport.RateLimitingHandler.java

/**
 * A shared, stack-wide, one-per-application-regardless-of-how-many-server-instances-you-have handler that is added to
 * the beginning of every server pipeline to handle rate limiting and connection limits.
 * <p>
 * Any configuration changes must be made before {@link UaStackServer#startup()} is called for the first time,
 * application-wide. Once the instance has been created further configuration changes will have no effect.

From source file org.elasticsearch.xpack.security.transport.netty4.IpFilterRemoteAddressFilter.java

@ChannelHandler.Sharable
class IpFilterRemoteAddressFilter extends AbstractRemoteAddressFilter<InetSocketAddress> {

    private final IPFilter filter;
    private final String profile;