eclipse-ee4j / eclipse-ee4j/tyrus

Hostname variable is not used

Open
#593 3 comments 0 reactions 0 assignees View on GitHub
Component: server Priority: Major Type: Improvement
Dominant language
Java
Stars
128
Forks
49
PR merge metrics
No merged PRs in 30d

Description

When using Tyrus in standalone mode the provided hostname in the constructor is not passed to the created container.

-> constructior
new Server(ip, port, "/ws", properties, EndpointCom.class, EndpointData.class);

The container is created in the start() method:
server = ServerContainerFactory.createServerContainer(properties);

for (Class clazz : configuration)

{ server.addEndpoint(clazz); }

server.start(contextPath, port);

And there, the IP/Hostname is not passed to the created Container.
#### Affected Versions
[1.12]

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.