eclipse-ee4j / eclipse-ee4j/jersey

HttpServer with a parent context cannot be created unstarted

Open
#4,319 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

Current API does not allow to create an un-started HttpServer with a specific DI context. All `GrizzlyHttpServerFactory#createHttpServer` overloads accepting a parentContext set `start` to true and `createHttpServer(final URI uri, final GrizzlyHttpContainer, final secure, final SSLEngineConfigurator sslEngineConfigurator, final boolean start)` can't be used because there is no public API to create a `GrizzlyHttpContainer`.

`GrizzlyHttpServerFactory` being already crowded, would it be possible to mark GrizzlyHttpContainer ctors as `public` ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.