jakartaee / jakartaee/websocket

Add @ServerEndpoint#extensions

Open
#327 2 comments 0 reactions 0 assignees View on GitHub
API (Both) enhancement
Dominant language
Java
Stars
78
Forks
47
Avg merge
1h 32m
Merged PRs (30d)
1

Description

To mirror the facility in `ServerEndpointConfig.Builder#extensions` add ability to define an array of Extensions (via class) which will be created and managed just for this endpoint. e.g.

```
public @interface ServerEndpoint {
...
public Class[] extensions() default {};
```

Contributor guide

Open the contributing guide

Research direction

Start with the ServerEndpoint annotation and compare its extension support with ServerEndpointConfig.Builder#extensions. Confirm how endpoint annotations are processed and managed; done when the annotation accepts extension classes and those extensions are created and managed only for that endpoint.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.