public class ReactiveWebServerApplicationContext extends GenericReactiveWebApplicationContext implements ConfigurableWebServerApplicationContext
GenericReactiveWebApplicationContext that can be used to bootstrap itself
 from a contained ReactiveWebServerFactory bean.DefaultResourceLoader.ClassPathContextResourceAPPLICATION_EVENT_MULTICASTER_BEAN_NAME, LIFECYCLE_PROCESSOR_BEAN_NAME, logger, MESSAGE_SOURCE_BEAN_NAMEAPPLICATION_STARTUP_BEAN_NAME, CONFIG_LOCATION_DELIMITERS, CONVERSION_SERVICE_BEAN_NAME, ENVIRONMENT_BEAN_NAME, LOAD_TIME_WEAVER_BEAN_NAME, SHUTDOWN_HOOK_THREAD_NAME, SYSTEM_ENVIRONMENT_BEAN_NAME, SYSTEM_PROPERTIES_BEAN_NAMEFACTORY_BEAN_PREFIXCLASSPATH_ALL_URL_PREFIXCLASSPATH_URL_PREFIX| Constructor and Description | 
|---|
| ReactiveWebServerApplicationContext()Create a new  ReactiveWebServerApplicationContext. | 
| ReactiveWebServerApplicationContext(DefaultListableBeanFactory beanFactory)Create a new  ReactiveWebServerApplicationContextwith the givenDefaultListableBeanFactory. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | doClose() | 
| protected HttpHandler | getHttpHandler()Return the  HttpHandlerthat should be used to process the reactive web
 server. | 
| String | getServerNamespace()Returns the namespace of the web server application context or  nullif no
 namespace has been set. | 
| WebServer | getWebServer()Returns the  WebServerthat was created by the context ornullif
 the server has not yet been created. | 
| protected ReactiveWebServerFactory | getWebServerFactory(String factoryBeanName) | 
| protected String | getWebServerFactoryBeanName() | 
| protected void | onRefresh() | 
| void | refresh() | 
| void | setServerNamespace(String serverNamespace)Set the server namespace of the context. | 
createEnvironment, getResourceByPathcancelRefresh, closeBeanFactory, getAutowireCapableBeanFactory, getBeanDefinition, getBeanFactory, getClassLoader, getDefaultListableBeanFactory, getResource, getResources, isAlias, isBeanNameInUse, refreshBeanFactory, registerAlias, registerBean, registerBean, registerBean, registerBean, registerBean, registerBean, registerBeanDefinition, removeAlias, removeBeanDefinition, setAllowBeanDefinitionOverriding, setAllowCircularReferences, setApplicationStartup, setClassLoader, setParent, setResourceLoaderaddApplicationListener, addBeanFactoryPostProcessor, assertBeanFactoryActive, close, containsBean, containsBeanDefinition, containsLocalBean, destroy, destroyBeans, findAnnotationOnBean, finishBeanFactoryInitialization, finishRefresh, getAliases, getApplicationListeners, getApplicationName, getApplicationStartup, getBean, getBean, getBean, getBean, getBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanFactoryPostProcessors, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeanProvider, getBeanProvider, getBeanProvider, getBeanProvider, getBeansOfType, getBeansOfType, getBeansWithAnnotation, getDisplayName, getEnvironment, getId, getInternalParentBeanFactory, getInternalParentMessageSource, getMessage, getMessage, getMessage, getParent, getParentBeanFactory, getResourcePatternResolver, getStartupDate, getType, getType, initApplicationEventMulticaster, initLifecycleProcessor, initMessageSource, initPropertySources, invokeBeanFactoryPostProcessors, isActive, isPrototype, isRunning, isSingleton, isTypeMatch, isTypeMatch, obtainFreshBeanFactory, onClose, postProcessBeanFactory, prepareBeanFactory, prepareRefresh, publishEvent, publishEvent, publishEvent, registerBeanPostProcessors, registerListeners, registerShutdownHook, resetCommonCaches, setDisplayName, setEnvironment, setId, start, stop, toStringaddProtocolResolver, clearResourceCaches, getProtocolResolvers, getResourceCacheclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddApplicationListener, addBeanFactoryPostProcessor, addProtocolResolver, close, getApplicationStartup, getBeanFactory, getEnvironment, isActive, registerShutdownHook, setApplicationStartup, setClassLoader, setEnvironment, setId, setParenthasServerNamespacegetApplicationName, getAutowireCapableBeanFactory, getDisplayName, getId, getParent, getStartupDatecontainsBeanDefinition, findAnnotationOnBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeanProvider, getBeanProvider, getBeansOfType, getBeansOfType, getBeansWithAnnotationcontainsLocalBean, getParentBeanFactorycontainsBean, getAliases, getBean, getBean, getBean, getBean, getBean, getBeanProvider, getBeanProvider, getType, getType, isPrototype, isSingleton, isTypeMatch, isTypeMatchgetMessage, getMessage, getMessagepublishEvent, publishEventgetResourcesgetClassLoader, getResourcecontainsBeanDefinition, getBeanDefinitionCount, getBeanDefinitionNamesgetAliasespublic ReactiveWebServerApplicationContext()
ReactiveWebServerApplicationContext.public ReactiveWebServerApplicationContext(DefaultListableBeanFactory beanFactory)
ReactiveWebServerApplicationContext with the given
 DefaultListableBeanFactory.beanFactory - the DefaultListableBeanFactory instance to use for this contextpublic final void refresh()
                   throws BeansException,
                          IllegalStateException
refresh in interface ConfigurableApplicationContextrefresh in class AbstractApplicationContextBeansExceptionIllegalStateExceptionprotected void onRefresh()
onRefresh in class AbstractApplicationContextprotected String getWebServerFactoryBeanName()
protected ReactiveWebServerFactory getWebServerFactory(String factoryBeanName)
protected HttpHandler getHttpHandler()
HttpHandler that should be used to process the reactive web
 server. By default this method searches for a suitable bean in the context itself.HttpHandler (never nullprotected void doClose()
doClose in class AbstractApplicationContextpublic WebServer getWebServer()
WebServer that was created by the context or null if
 the server has not yet been created.getWebServer in interface WebServerApplicationContextpublic String getServerNamespace()
WebServerApplicationContextnull if no
 namespace has been set. Used for disambiguation when multiple web servers are
 running in the same application (for example a management context running on a
 different port).getServerNamespace in interface WebServerApplicationContextpublic void setServerNamespace(String serverNamespace)
ConfigurableWebServerApplicationContextsetServerNamespace in interface ConfigurableWebServerApplicationContextserverNamespace - the server namespaceWebServerApplicationContext.getServerNamespace()