Skip to content

Runtime HTTP client resolution in OSGi #607

Open
@dagnir

Description

@dagnir

Today, HTTP client resolution happens at runtime using Java's ServiceLoader class. This works fine in most cases, but not in OSGi: https://blog.osgi.org/2013/02/javautilserviceloader-in-osgi.html

We should create an OSGi-aware implementation of SdkHttpServiceProvider, and make current and future implementations of the HTTP client SPI loadable in an OSGi environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.0 Newfeature-requestA feature should be added or improved.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions