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 new handler types to better support spring and spring boot #287

Open
xfeep opened this issue May 14, 2023 · 0 comments
Open

Add new handler types to better support spring and spring boot #287

xfeep opened this issue May 14, 2023 · 0 comments
Labels

Comments

@xfeep
Copy link
Member

xfeep commented May 14, 2023

Related to #274 . This feature has these goals.

  1. Support spring framework powered nginx clojure/java/groovy handlers
  2. Add nginx spring auto starter project to be more friendly to spring boot web projects.
  3. Better unit testing experience when using spring boot and nginx-clojure-embed

e.g.

  location /myapi {
     rewrite_handler_type spring;
     ## MySpringPoweredRewriteHandler is an rewrite handler powered by spring framework, e.g. by dependency injection
     rewrite_handler_name example.MySpringPoweredRewriteHandler;
  }
  location /spring-boot-web-app {
      content_handler_type spring-boot-web-app;
      ## example.MySpringBootApplication is a standard spring boot web application.
      content_handler_name example.MySpringBootApplication;
  }
  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant