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

Jakarta Servlet GenericServlet and HttpServlet snippets #9

Closed
kathrynkodama opened this issue Sep 29, 2020 · 1 comment · Fixed by #21
Closed

Jakarta Servlet GenericServlet and HttpServlet snippets #9

kathrynkodama opened this issue Sep 29, 2020 · 1 comment · Fixed by #21
Assignees
Labels
snippet Snippet item

Comments

@kathrynkodama
Copy link
Contributor

kathrynkodama commented Sep 29, 2020

Add the following Jakarta Servlet snippets for Java files:

  • extending GenericServlet
  • extending HttpServlet

The snippet should provide the corresponding imports and methods that are used in best practice.

https://jakarta.ee/specifications/servlet/5.0/apidocs/jakarta/servlet/GenericServlet.html
https://jakarta.ee/specifications/servlet/5.0/apidocs/jakarta/servlet/http/HttpServlet.html

See https://eclipse-ee4j.github.io/jakartaee-tutorial/servlets001.html#BNAFE and https://github.com/eclipse-ee4j/jakartaee-tutorial-examples/tree/master/web/servlet for examples.

*note the tutorial is referring to Jakarta EE 8, with Jakarta EE 9 the package names will change to jakarta... which is why they are slightly different in the apidocs.

@kathrynkodama kathrynkodama changed the title Jakarta Servlet 4.0 snippets Jakarta Servlet 4.0 GenericServlet and HttpServlet snippets Sep 29, 2020
@kathrynkodama kathrynkodama added the snippet Snippet item label Sep 29, 2020
@kathrynkodama kathrynkodama changed the title Jakarta Servlet 4.0 GenericServlet and HttpServlet snippets Jakarta Servlet GenericServlet and HttpServlet snippets Oct 1, 2020
@kathrynkodama
Copy link
Contributor Author

@AnkushSharma2698 AnkushSharma2698 self-assigned this Oct 5, 2020
@AnkushSharma2698 AnkushSharma2698 linked a pull request Oct 8, 2020 that will close this issue
kathrynkodama added a commit to kathrynkodama/lsp4jakarta that referenced this issue Nov 8, 2022
* warning messages if stop or run tests selected before start

Signed-off-by: Kathryn Kodama <kathryn.s.kodama@gmail.com>

* fixed capitalization

Signed-off-by: Kathryn Kodama <kathryn.s.kodama@gmail.com>
mezarin pushed a commit to mezarin/lsp4jakarta that referenced this issue Oct 9, 2023
move lsp4jakarta to 0.2.0 version number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
snippet Snippet item
Projects
None yet
2 participants