netty5/codec-http2/src
Idel Pivnitskiy 4010769051
Decrease visibility of Http2FrameCodecBuilder default ctor to protected (#11220)
Motivation:

`Http2FrameCodecBuilder` defines static factory methods `forClient()`
and `forServer()` that should be used to create a new instance.
The default ctor is useful only when users need to override behavior
of the existing builder. Those users should define another way to create
an instance.

Modifications:

- Decrease visibility of `Http2FrameCodecBuilder` default ctor from
`public` to `protected`;
- Add javadoc to clarity responsibilities;

Result:

Users of `Http2FrameCodecBuilder` are not confused why
`new Http2FrameCodecBuilder().build()` works for the server-side, but
does not work for the client-side.
2021-05-03 22:32:16 -07:00
..
main Decrease visibility of Http2FrameCodecBuilder default ctor to protected (#11220) 2021-05-03 22:32:16 -07:00
test Verify SslHandler#unwrap send fireChannelRead event after a notification for a handshake success (#11203) 2021-04-29 12:12:43 +02:00