Skip to content

Extras - Registry is getting incorrect constructor #1428

@nitinsurana

Description

@nitinsurana
Constructor<AsyncHttpClient> constructor = asyncHttpClientImplClass.getConstructor(DefaultAsyncHttpClientConfig.class);

Should be
.getConstructor(AsyncHttpClientConfig.class);

Otherwise, all custom AsyncHttpClient implementations are tightly coupled to DefaultAsyncHttpClient and testing becomes difficult.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions