Skip to content

Instantly share code, notes, and snippets.

@linhvovn
Created December 29, 2018 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linhvovn/5ef19bc10ccc91c865ee9a6f68918122 to your computer and use it in GitHub Desktop.
Save linhvovn/5ef19bc10ccc91c865ee9a6f68918122 to your computer and use it in GitHub Desktop.
@Configuration
@EnableWebFlux
public class WebConfig implements ApplicationContextAware, WebFluxConfigurer {
ApplicationContext context;
@Override
public void setApplicationContext(ApplicationContext context) {
this.context = context;
}
//...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment