Skip to content

The last construction method of http2serverupgradecodec should also be set to public #15483

@brucelwl

Description

@brucelwl

private Http2ServerUpgradeCodec(String handlerName, Http2ConnectionHandler connectionHandler,
ChannelHandler... handlers) {
this.handlerName = handlerName;
this.connectionHandler = connectionHandler;
this.handlers = handlers;
frameReader = new DefaultHttp2FrameReader();
}

The last construction method of Http2ServerUpgradeCodec should also be set to public

I want to set an implementation of Http2ConnectionHandler in the pipeline, and other processing handlers, but it is not a subclass of Http2FrameCodec, such as HttpToHttp2ConnectionHandler

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions