Example usage for io.netty.handler.codec.http2 DecoratingHttp2ConnectionEncoder subclass-usage

List of usage examples for io.netty.handler.codec.http2 DecoratingHttp2ConnectionEncoder subclass-usage

Introduction

In this page you can find the example usage for io.netty.handler.codec.http2 DecoratingHttp2ConnectionEncoder subclass-usage.

Usage

From source file io.grpc.netty.Http2ControlFrameLimitEncoder.java

/**
 * {@link DecoratingHttp2ConnectionEncoder} which guards against a remote peer that will trigger a massive amount
 * of control frames but will not consume our responses to these.
 * This encoder will tear-down the connection once we reached the configured limit to reduce the risk of DDOS.
 */
final class Http2ControlFrameLimitEncoder extends DecoratingHttp2ConnectionEncoder {