Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @ServerEndpoint#extensions #327

Open
dansiviter opened this issue Apr 2, 2020 · 2 comments
Open

Add @ServerEndpoint#extensions #327

dansiviter opened this issue Apr 2, 2020 · 2 comments
Labels
API (Both) Impacts the client and server API enhancement Adding a new feature or improving an existing one
Milestone

Comments

@dansiviter
Copy link

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<? extends Extension>[] extensions() default {};
@joakime
Copy link
Contributor

joakime commented Apr 2, 2020

This is something we can look into for version 5.1 (or whatever the next post Jakarta EE9 version is going to be called).

I feel we need to take a holistic approach to Extensions, as there's competing demands and usages for them (depending on the audience).

@markt-asf
Copy link
Contributor

There should be an equivalent for ClientEndpoint as well.

@markt-asf markt-asf added API (Both) Impacts the client and server API Jakarta EE 10 enhancement Adding a new feature or improving an existing one labels Apr 16, 2020
@markt-asf markt-asf added this to the backlog milestone May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API (Both) Impacts the client and server API enhancement Adding a new feature or improving an existing one
Projects
None yet
Development

No branches or pull requests

3 participants