程序包 org.springframework.boot.web.server
Support for embedded web servers.
接口概要 接口 说明 ConfigurableWebServerFactory A configurableWebServerFactory
.ErrorPageRegistrar Interface to be implemented by types that registerErrorPages
.ErrorPageRegistry Interface for a registry that holdsErrorPages
.SslStoreProvider Interface to provide SSL key stores for anWebServer
to use.WebServer Simple interface that represents a fully configured web server (for example Tomcat, Jetty, Netty).WebServerFactory Tagging interface for factories that create aWebServer
.WebServerFactoryCustomizer<T extends WebServerFactory> Strategy interface for customizingweb server factories
.类概要 类 说明 AbstractConfigurableWebServerFactory Abstract base class forConfigurableWebServerFactory
implementations.Compression Simple server-independent abstraction for compression configuration.ErrorPage Simple server-independent abstraction for error pages.ErrorPageRegistrarBeanPostProcessor BeanPostProcessor
that applies allErrorPageRegistrar
s from the bean factory toErrorPageRegistry
beans.Http2 Simple server-independent abstraction for HTTP/2 configuration.MimeMappings Simple server-independent abstraction for mime mappings.MimeMappings.Mapping A single mime mapping.Ssl Simple server-independent abstraction for SSL configuration.WebServerFactoryCustomizerBeanPostProcessor BeanPostProcessor
that applies allWebServerFactoryCustomizer
beans from the bean factory toWebServerFactory
beans.枚举概要 枚举 说明 Ssl.ClientAuth Client authentication types.异常错误概要 异常错误 说明 PortInUseException APortInUseException
is thrown when a web server fails to start due to a port already being in use.WebServerException Exceptions thrown by an web server.注释类型概要 注释类型 说明 LocalServerPort Annotation at the field or method/constructor parameter level that injects the HTTP port that got allocated at runtime.