{"id":82038,"date":"2026-07-25T06:11:28","date_gmt":"2026-07-24T22:11:28","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/82038.html"},"modified":"2026-07-25T06:11:28","modified_gmt":"2026-07-24T22:11:28","slug":"spring-boot-starter-web-%e5%8e%9f%e7%90%86%e5%88%86%e6%9e%90%ef%bc%9a%e4%bb%8e%e4%be%9d%e8%b5%96%e5%88%b0%e5%86%85%e5%b5%8c%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%9a%84%e5%ae%8c%e6%95%b4%e5%90%af%e5%8a%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/82038.html","title":{"rendered":"Spring Boot Starter Web \u539f\u7406\u5206\u6790\uff1a\u4ece\u4f9d\u8d56\u5230\u5185\u5d4c\u670d\u52a1\u5668\u7684\u5b8c\u6574\u542f\u52a8\u6d41\u7a0b"},"content":{"rendered":"<p>Spring Boot \u7684\u00a0spring-boot-starter-web\u00a0\u662f\u7edd\u5927\u591a\u6570 Java Web \u5f00\u53d1\u8005\u63a5\u89e6\u7684\u7b2c\u4e00\u4e2a Starter\u3002\u4e00\u4e2a\u6ce8\u89e3\u3001\u4e00\u4e2a main \u65b9\u6cd5&#xff0c;\u4e00\u4e2a\u5b8c\u6574\u7684 Web \u670d\u52a1\u5668\u5c31\u8dd1\u8d77\u6765\u4e86\u2014\u2014DispatcherServlet \u81ea\u52a8\u6ce8\u518c\u597d\u4e86&#xff0c;Tomcat \u5185\u5d4c\u542f\u52a8\u597d\u4e86&#xff0c;\u8fde JSON \u8f6c\u6362\u5668\u90fd\u51c6\u5907\u5c31\u7eea\u3002<\/p>\n<p>\u8fd9\u7bc7\u6587\u7ae0\u5c06\u4ece\u6e90\u7801\u5c42\u9762\u5256\u6790\u8fd9\u4e00\u5207\u662f\u5982\u4f55\u53d1\u751f\u7684\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u6574\u4f53\u67b6\u6784&#xff1a;starter-web \u7684\u6838\u5fc3\u56db\u5c42<\/h3>\n<p>spring-boot-starter-web\u00a0\u7684\u8bbe\u8ba1\u9075\u5faa&#034;\u5f00\u7bb1\u5373\u7528&#034;\u7684\u7406\u5ff5&#xff0c;\u5176\u6838\u5fc3\u80fd\u529b\u5206\u5e03\u5728\u56db\u4e2a\u5c42\u6b21&#xff1a;<\/p>\n<table>\n<tr>\u5c42\u6b21\u8f7d\u4f53\u804c\u8d23<\/tr>\n<tbody>\n<tr>\n<td>\u4f9d\u8d56\u7ba1\u7406\u5c42<\/td>\n<td>spring-boot-starter-web\u00a0pom<\/td>\n<td>\u805a\u5408\u6240\u6709\u5fc5\u9700\u4f9d\u8d56&#xff0c;\u7edf\u4e00\u7248\u672c<\/td>\n<\/tr>\n<tr>\n<td>\u81ea\u52a8\u914d\u7f6e\u5c42<\/td>\n<td>spring-boot-autoconfigure<\/td>\n<td>\u63d0\u4f9b\u6761\u4ef6\u5316\u7684\u914d\u7f6e\u7c7b<\/td>\n<\/tr>\n<tr>\n<td>\u5bb9\u5668\u62bd\u8c61\u5c42<\/td>\n<td>spring-boot\u00a0\u4e2d\u7684 WebServer \u63a5\u53e3<\/td>\n<td>\u62bd\u8c61 Tomcat\/Jetty\/Undertow<\/td>\n<\/tr>\n<tr>\n<td>\u8fd0\u884c\u65f6\u5c42<\/td>\n<td>\u5b9e\u9645\u521b\u5efa\u7684\u5185\u5d4c\u5bb9\u5668\u5b9e\u4f8b<\/td>\n<td>\u76d1\u542c\u7aef\u53e3\u3001\u5904\u7406\u8bf7\u6c42<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e0b\u9762\u4ece\u6700\u5916\u5c42\u7684\u4f9d\u8d56\u5f00\u59cb&#xff0c;\u9010\u5c42\u6df1\u5165\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u7b2c\u4e00\u5c42&#xff1a;\u8d77\u6b65\u4f9d\u8d56\u2014\u2014Starter \u5982\u4f55&#034;\u805a\u5408&#034;\u4e00\u5207<\/h3>\n<h4>2.1 \u4e00\u4e2a\u4f9d\u8d56&#xff0c;\u5168\u5bb6\u6876\u5230\u4f4d<\/h4>\n<p>\u5728\u00a0pom.xml\u00a0\u4e2d\u53ea\u9700\u6dfb\u52a0&#xff1a;<\/p>\n<p>xml<\/p>\n<p>&lt;dependency&gt;<br \/>\n    &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;<br \/>\n    &lt;artifactId&gt;spring-boot-starter-web&lt;\/artifactId&gt;<br \/>\n&lt;\/dependency&gt;<\/p>\n<p>\u8fd9\u4e2a\u4f9d\u8d56\u672c\u8eab\u6ca1\u6709\u4e00\u884c Java \u4ee3\u7801&#xff0c;\u5b83\u662f\u4e00\u4e2a\u7eaf\u7cb9\u7684\u4f9d\u8d56\u805a\u5408\u5668\u3002\u6253\u5f00\u5b83\u7684 pom \u6587\u4ef6&#xff0c;\u4f1a\u53d1\u73b0\u5b83\u5f15\u5165\u4e86&#xff1a;<\/p>\n<ul>\n<li>\n<p>spring-boot-starter\u2014\u2014\u6838\u5fc3\u573a\u666f\u542f\u52a8\u5668&#xff08;\u5305\u542b\u81ea\u52a8\u914d\u7f6e\u57fa\u7840&#xff09;<\/p>\n<\/li>\n<li>\n<p>spring-boot-starter-tomcat\u2014\u2014\u9ed8\u8ba4\u5185\u5d4c\u5bb9\u5668<\/p>\n<\/li>\n<li>\n<p>spring-web\u00a0\u548c\u00a0spring-webmvc\u2014\u2014Spring MVC \u6846\u67b6<\/p>\n<\/li>\n<li>\n<p>spring-boot-starter-json\u2014\u2014Jackson JSON \u5904\u7406<\/p>\n<\/li>\n<\/ul>\n<p>\u8fd9\u79cd\u8bbe\u8ba1\u5e26\u6765\u7684\u597d\u5904\u662f&#xff1a;\u7248\u672c\u7531 Spring Boot \u7236\u9879\u76ee\u7edf\u4e00\u4ef2\u88c1&#xff0c;\u5f00\u53d1\u8005\u65e0\u9700\u5173\u5fc3\u7248\u672c\u517c\u5bb9\u6027\u3002<\/p>\n<h4>2.2 \u6838\u5fc3\u94fe\u8def\u7684\u4f9d\u8d56\u4f20\u9012<\/h4>\n<p>text<\/p>\n<p>spring-boot-starter-web<br \/>\n    \u251c\u2500\u2500 spring-boot-starter<br \/>\n    \u2502       \u2514\u2500\u2500 spring-boot-autoconfigure  \u2190 \u81ea\u52a8\u914d\u7f6e\u6838\u5fc3\u5305<br \/>\n    \u251c\u2500\u2500 spring-boot-starter-tomcat<br \/>\n    \u2502       \u2514\u2500\u2500 tomcat-embed-core          \u2190 \u5185\u5d4c Tomcat<br \/>\n    \u251c\u2500\u2500 spring-webmvc                       \u2190 Spring MVC<br \/>\n    \u2514\u2500\u2500 spring-boot-starter-json<br \/>\n            \u2514\u2500\u2500 jackson-databind            \u2190 JSON \u652f\u6301<\/p>\n<p>\u5173\u952e\u5728\u4e8e\u00a0spring-boot-autoconfigure\u2014\u2014\u5b83\u5305\u542b\u4e86 Spring Boot \u5b98\u65b9\u63d0\u4f9b\u7684\u6240\u6709\u81ea\u52a8\u914d\u7f6e\u7c7b&#xff08;\u7ea6 100&#043; \u4e2a&#xff09;&#xff0c;\u5176\u4e2d\u5c31\u5305\u62ec Web MVC \u548c\u5d4c\u5165\u5f0f\u5bb9\u5668\u7684\u914d\u7f6e\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u7b2c\u4e8c\u5c42&#xff1a;\u81ea\u52a8\u914d\u7f6e\u2014\u2014\u6761\u4ef6\u5316\u88c5\u914d\u7684\u6838\u5fc3\u673a\u5236<\/h3>\n<h4>3.1 &#064;SpringBootApplication \u7684&#034;\u4e09\u5408\u4e00&#034;\u8eab\u4efd<\/h4>\n<p>\u4e3b\u7a0b\u5e8f\u7c7b\u7684\u00a0&#064;SpringBootApplication\u00a0\u662f\u4e00\u4e2a\u7ec4\u5408\u6ce8\u89e3&#xff1a;<\/p>\n<p>java<\/p>\n<p>&#064;SpringBootConfiguration  \/\/ \u672c\u8d28\u662f &#064;Configuration<br \/>\n&#064;EnableAutoConfiguration  \/\/ \u5f00\u542f\u81ea\u52a8\u914d\u7f6e \u2190 \u6838\u5fc3<br \/>\n&#064;ComponentScan           \/\/ \u7ec4\u4ef6\u626b\u63cf<br \/>\npublic &#064;interface SpringBootApplication {}<\/p>\n<p>\u5176\u4e2d\u6700\u5173\u952e\u7684\u662f\u00a0&#064;EnableAutoConfiguration\u3002\u5b83\u901a\u8fc7\u00a0&#064;Import(AutoConfigurationImportSelector.class)&#xff0c;\u5728\u542f\u52a8\u65f6\u4f1a\u6279\u91cf\u5bfc\u5165\u81ea\u52a8\u914d\u7f6e\u7c7b\u3002<\/p>\n<h4>3.2 spring.factories \u4e0e AutoConfiguration.imports<\/h4>\n<p>Spring Boot 2.7 \u4e4b\u540e&#xff0c;\u81ea\u52a8\u914d\u7f6e\u7c7b\u7684\u58f0\u660e\u4ece\u00a0META-INF\/spring.factories\u00a0\u8fc1\u79fb\u5230\u4e86\u00a0META-INF\/spring\/org.springframework.boot.autoconfigure.AutoConfiguration.imports\u3002<\/p>\n<p>\u8fd9\u4e2a\u6587\u4ef6\u91cc\u5217\u51fa\u4e86\u6240\u6709\u5019\u9009\u914d\u7f6e\u7c7b\u7684\u5168\u9650\u5b9a\u540d&#xff1a;<\/p>\n<p>text<\/p>\n<p>org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration<br \/>\norg.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration<br \/>\norg.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryAutoConfiguration<br \/>\n&#8230;<\/p>\n<p>Spring Boot \u542f\u52a8\u65f6\u4f1a\u8bfb\u53d6\u8fd9\u4e2a\u6587\u4ef6&#xff0c;\u5c06\u5217\u51fa\u7684\u7c7b\u5168\u90e8\u52a0\u8f7d\u2014\u2014\u6ce8\u610f\u662f&#034;\u52a0\u8f7d\u5230\u5185\u5b58&#034;&#xff0c;\u800c\u975e&#034;\u76f4\u63a5\u751f\u6548&#034;\u3002\u662f\u5426\u771f\u6b63\u751f\u6548&#xff0c;\u53d6\u51b3\u4e8e\u7c7b\u4e0a\u7684\u6761\u4ef6\u6ce8\u89e3\u3002<\/p>\n<h4>3.3 \u6761\u4ef6\u6ce8\u89e3&#xff1a;\u6309\u9700\u751f\u6548\u7684&#034;\u5f00\u5173&#034;<\/h4>\n<p>\u4ee5\u00a0WebMvcAutoConfiguration\u00a0\u4e3a\u4f8b&#xff1a;<\/p>\n<p>java<\/p>\n<p>&#064;Configuration(proxyBeanMethods &#061; false)<br \/>\n&#064;ConditionalOnClass({ Servlet.class, DispatcherServlet.class })<br \/>\n&#064;ConditionalOnWebApplication(type &#061; Type.SERVLET)<br \/>\n&#064;AutoConfigureAfter(DispatcherServletAutoConfiguration.class)<br \/>\npublic class WebMvcAutoConfiguration {<br \/>\n    \/\/ \u914d\u7f6e RequestMappingHandlerMapping\u3001RequestMappingHandlerAdapter \u7b49<br \/>\n}<\/p>\n<p>\u8fd9\u4e9b\u6761\u4ef6\u6ce8\u89e3\u7684\u542b\u4e49&#xff1a;<\/p>\n<ul>\n<li>\n<p>&#064;ConditionalOnClass(Servlet.class)&#xff1a;\u7c7b\u8def\u5f84\u4e0b\u5fc5\u987b\u6709\u00a0Servlet.class&#xff08;web \u9879\u76ee\u5929\u7136\u6ee1\u8db3&#xff09;<\/p>\n<\/li>\n<li>\n<p>&#064;ConditionalOnWebApplication&#xff1a;\u5fc5\u987b\u662f Servlet \u7c7b\u578b\u7684 Web \u5e94\u7528<\/p>\n<\/li>\n<li>\n<p>&#064;AutoConfigureAfter&#xff1a;\u5728\u00a0DispatcherServletAutoConfiguration\u00a0\u4e4b\u540e\u6267\u884c&#xff0c;\u4fdd\u8bc1\u6267\u884c\u987a\u5e8f<\/p>\n<\/li>\n<\/ul>\n<p>\u518d\u770b\u00a0DispatcherServletAutoConfiguration\u00a0\u5185\u90e8&#xff1a;<\/p>\n<p>java<\/p>\n<p>&#064;Configuration(proxyBeanMethods &#061; false)<br \/>\n&#064;ConditionalOnClass({ Servlet.class, DispatcherServlet.class })<br \/>\n&#064;EnableConfigurationProperties(WebMvcProperties.class)<br \/>\npublic class DispatcherServletAutoConfiguration {<\/p>\n<p>    &#064;Configuration<br \/>\n    &#064;Conditional(DefaultDispatcherServletCondition.class)<br \/>\n    &#064;EnableConfigurationProperties(WebMvcProperties.class)<br \/>\n    protected static class DispatcherServletConfiguration {<br \/>\n        &#064;Bean<br \/>\n        public DispatcherServlet dispatcherServlet() {<br \/>\n            return new DispatcherServlet();<br \/>\n        }<br \/>\n    }<br \/>\n}<\/p>\n<p>\u53ea\u8981\u6761\u4ef6\u6ee1\u8db3&#xff0c;Spring Boot \u5c31\u4f1a\u81ea\u52a8\u5c06 DispatcherServlet \u6ce8\u518c\u5230\u5bb9\u5668\u4e2d&#xff0c;\u5f00\u53d1\u8005\u65e0\u9700\u518d\u5199 web.xml \u6216 &#064;Bean \u914d\u7f6e\u3002<\/p>\n<h4>3.4 \u5c5e\u6027\u7ed1\u5b9a&#xff1a;\u914d\u7f6e\u6587\u4ef6\u5982\u4f55\u6ce8\u5165<\/h4>\n<p>\u81ea\u52a8\u914d\u7f6e\u7c7b\u901a\u5e38\u914d\u5408\u00a0&#064;EnableConfigurationProperties\u00a0\u4f7f\u7528&#xff0c;\u5c06\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u5c5e\u6027\u7ed1\u5b9a\u5230 POJO&#xff1a;<\/p>\n<p>java<\/p>\n<p>&#064;ConfigurationProperties(prefix &#061; &#034;server&#034;)<br \/>\npublic class ServerProperties {<br \/>\n    private Integer port &#061; 8080;  \/\/ \u9ed8\u8ba4\u7aef\u53e3<br \/>\n    \/\/ getter\/setter<br \/>\n}<\/p>\n<p>\u8fd9\u6837&#xff0c;application.yml\u00a0\u4e2d\u7684\u00a0server.port&#061;9090\u00a0\u5c31\u80fd\u88ab\u81ea\u52a8\u8bfb\u53d6\u5e76\u5e94\u7528\u3002<\/p>\n<hr \/>\n<h3>\u56db\u3001\u7b2c\u4e09\u5c42&#xff1a;\u5185\u5d4c\u5bb9\u5668\u7684\u88c5\u914d\u4e0e\u542f\u52a8<\/h3>\n<h4>4.1 \u5bb9\u5668\u5de5\u5382\u7684\u81ea\u52a8\u914d\u7f6e<\/h4>\n<p>\u5d4c\u5165\u5f0f Web \u5bb9\u5668\u7684\u88c5\u914d\u7531\u00a0ServletWebServerFactoryAutoConfiguration\u00a0\u8d1f\u8d23\u3002\u5b83\u4f1a\u6839\u636e classpath \u4e2d\u7684\u4f9d\u8d56&#xff0c;\u521b\u5efa\u5bf9\u5e94\u7684\u5de5\u5382 bean&#xff1a;<\/p>\n<p>java<\/p>\n<p>&#064;Configuration(proxyBeanMethods &#061; false)<br \/>\n&#064;AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE)<br \/>\n&#064;ConditionalOnClass(ServletRequest.class)<br \/>\n&#064;EnableConfigurationProperties(ServerProperties.class)<br \/>\npublic class ServletWebServerFactoryAutoConfiguration {<br \/>\n    \/\/ \u5bfc\u5165\u5177\u4f53\u7684\u5bb9\u5668\u914d\u7f6e<br \/>\n}<\/p>\n<p>\u8fd9\u4e2a\u914d\u7f6e\u7c7b\u901a\u8fc7\u5185\u90e8\u00a0&#064;Import\u00a0\u5bfc\u5165\u4e86\u4e09\u79cd\u5bb9\u5668\u7684\u914d\u7f6e\u7c7b&#xff1a;<\/p>\n<p>text<\/p>\n<p>&#064;Import({<br \/>\n    ServletWebServerFactoryAutoConfiguration.BeanPostProcessorsRegistrar.class,<br \/>\n    ServletWebServerFactoryConfiguration.EmbeddedTomcat.class,   \/\/ Tomcat<br \/>\n    ServletWebServerFactoryConfiguration.EmbeddedJetty.class,   \/\/ Jetty<br \/>\n    ServletWebServerFactoryConfiguration.EmbeddedUndertow.class \/\/ Undertow<br \/>\n})<\/p>\n<p>Tomcat \u662f\u9ed8\u8ba4\u7684&#xff0c;\u56e0\u4e3a\u00a0spring-boot-starter-web\u00a0\u4e2d\u5f15\u5165\u4e86\u00a0spring-boot-starter-tomcat\u3002\u5982\u679c\u5e0c\u671b\u5207\u6362\u5230 Jetty&#xff0c;\u53ea\u9700\u6392\u9664 Tomcat \u5e76\u5f15\u5165 Jetty \u4f9d\u8d56\u5373\u53ef&#xff1a;<\/p>\n<p>xml<\/p>\n<p>&lt;dependency&gt;<br \/>\n    &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;<br \/>\n    &lt;artifactId&gt;spring-boot-starter-web&lt;\/artifactId&gt;<br \/>\n    &lt;exclusions&gt;<br \/>\n        &lt;exclusion&gt;<br \/>\n            &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;<br \/>\n            &lt;artifactId&gt;spring-boot-starter-tomcat&lt;\/artifactId&gt;<br \/>\n        &lt;\/exclusion&gt;<br \/>\n    &lt;\/exclusions&gt;<br \/>\n&lt;\/dependency&gt;<br \/>\n&lt;dependency&gt;<br \/>\n    &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;<br \/>\n    &lt;artifactId&gt;spring-boot-starter-jetty&lt;\/artifactId&gt;<br \/>\n&lt;\/dependency&gt;<\/p>\n<h4>4.2 \u5bb9\u5668\u7684\u521b\u5efa\u65f6\u673a&#xff1a;onRefresh()<\/h4>\n<p>\u5185\u5d4c\u5bb9\u5668\u7684\u521b\u5efa\u53d1\u751f\u5728 Spring \u5bb9\u5668\u7684\u00a0refresh()\u00a0\u8fc7\u7a0b\u4e2d\u3002AnnotationConfigServletWebServerApplicationContext&#xff08;\u5b9e\u9645\u4f7f\u7528\u7684\u4e0a\u4e0b\u6587\u7c7b&#xff09;\u7ee7\u627f\u81ea\u00a0ServletWebServerApplicationContext&#xff0c;\u540e\u8005\u91cd\u5199\u4e86\u00a0onRefresh()\u00a0\u65b9\u6cd5&#xff1a;<\/p>\n<p>java<\/p>\n<p>\/\/ ServletWebServerApplicationContext.java<br \/>\n&#064;Override<br \/>\nprotected void onRefresh() {<br \/>\n    super.onRefresh();<br \/>\n    try {<br \/>\n        createWebServer();  \/\/ \u5173\u952e&#xff1a;\u521b\u5efa Web \u670d\u52a1\u5668<br \/>\n    } catch (Throwable ex) {<br \/>\n        throw new ApplicationContextException(&#034;Unable to start web server&#034;, ex);<br \/>\n    }<br \/>\n}<\/p>\n<p>private void createWebServer() {<br \/>\n    \/\/ \u4ece\u5bb9\u5668\u4e2d\u83b7\u53d6 ServletWebServerFactory&#xff08;\u5373 TomcatServletWebServerFactory&#xff09;<br \/>\n    ServletWebServerFactory factory &#061; getWebServerFactory();<br \/>\n    \/\/ \u521b\u5efa WebServer \u5b9e\u4f8b<br \/>\n    this.webServer &#061; factory.getWebServer(getSelfInitializer());<br \/>\n    \/\/ \u89e6\u53d1 ServletContext \u521d\u59cb\u5316\u4e8b\u4ef6<br \/>\n    getSelfInitializer().onStartup(this.webServer.getServletContext());<br \/>\n}<\/p>\n<p>factory.getWebServer()\u00a0\u65b9\u6cd5\u7684\u6267\u884c\u6d41\u7a0b&#xff1a;<\/p>\n<li>\n<p>\u521b\u5efa Tomcat \u5b9e\u4f8b<\/p>\n<\/li>\n<li>\n<p>\u521b\u5efa Connector&#xff08;\u9ed8\u8ba4\u7aef\u53e3 8080&#xff0c;\u53ef\u901aServerProperties\u914d\u7f6e\u8986\u76d6&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u914d\u7f6e Engine\u3001Host\u3001Context<\/p>\n<\/li>\n<li>\n<p>\u8fd4\u56de\u00a0TomcatWebServer\u00a0\u5bf9\u8c61&#xff08;\u6b64\u65f6\u5bb9\u5668\u5c1a\u672a\u542f\u52a8&#xff0c;\u53ea\u5b8c\u6210\u4e86\u521d\u59cb\u5316&#xff09;<\/p>\n<\/li>\n<h4>4.3 \u5bb9\u5668\u7684\u542f\u52a8\u65f6\u673a&#xff1a;finishRefresh()<\/h4>\n<p>\u5bb9\u5668\u5728\u00a0onRefresh()\u00a0\u4e2d\u521b\u5efa\u5b8c\u6210&#xff0c;\u4f46\u771f\u6b63\u542f\u52a8\u662f\u5728\u00a0finishRefresh()\u00a0\u9636\u6bb5&#xff1a;<\/p>\n<p>java<\/p>\n<p>\/\/ ServletWebServerApplicationContext.java<br \/>\n&#064;Override<br \/>\nprotected void finishRefresh() {<br \/>\n    super.finishRefresh();<br \/>\n    startWebServer();      \/\/ \u542f\u52a8 Web \u670d\u52a1\u5668<br \/>\n    publishEvent(new ServletWebServerInitializedEvent(this.webServer, this));<br \/>\n}<\/p>\n<p>private void startWebServer() {<br \/>\n    WebServer webServer &#061; getWebServer();<br \/>\n    if (webServer !&#061; null) {<br \/>\n        webServer.start();  \/\/ \u542f\u52a8 Tomcat<br \/>\n    }<br \/>\n}<\/p>\n<p>\u8fdb\u5165\u00a0TomcatWebServer.start()\u00a0\u5185\u90e8&#xff1a;<\/p>\n<p>java<\/p>\n<p>\/\/ TomcatWebServer.java<br \/>\npublic void start() throws WebServerException {<br \/>\n    synchronized (this.monitor) {<br \/>\n        if (this.started) {<br \/>\n            return;<br \/>\n        }<br \/>\n        try {<br \/>\n            addPreviouslyRemovedConnectors();<br \/>\n            \/\/ \u542f\u52a8 Tomcat \u7684\u6838\u5fc3\u65b9\u6cd5<br \/>\n            Tomcat tomcat &#061; getTomcat();<br \/>\n            tomcat.start();<br \/>\n            \/\/ \u68c0\u67e5 Connector \u662f\u5426\u542f\u52a8\u6210\u529f<br \/>\n            rethrowDeferredStartupExceptions();<br \/>\n            \/\/ \u542f\u52a8\u4e00\u4e2a\u540e\u53f0\u7ebf\u7a0b\u7b49\u5f85 Connector \u521d\u59cb\u5316\u5b8c\u6210<br \/>\n            startDaemonAwaitThread();<br \/>\n            this.started &#061; true;<br \/>\n        } catch (Exception ex) {<br \/>\n            \/\/ \u5f02\u5e38\u5904\u7406<br \/>\n        }<br \/>\n    }<br \/>\n}<\/p>\n<p>\u6b64\u65f6\u63a7\u5236\u53f0\u4f1a\u8f93\u51fa\u7ecf\u5178\u7684\u65e5\u5fd7&#xff1a;<\/p>\n<p>text<\/p>\n<p>Tomcat started on port(s): 8080 (http) with context path &#039;&#039;<br \/>\nStarted Application in 2.345 seconds (JVM running for 2.678)<\/p>\n<p>\u81f3\u6b64&#xff0c;\u5b8c\u6574\u7684 Web \u670d\u52a1\u5668\u542f\u52a8\u5b8c\u6bd5\u3002<\/p>\n<hr \/>\n<h3>\u4e94\u3001\u5b8c\u6574\u65f6\u5e8f\u56fe<\/h3>\n<p>\u4e3a\u4e86\u66f4\u76f4\u89c2\u5730\u7406\u89e3\u6574\u4e2a\u8fc7\u7a0b&#xff0c;\u4ee5\u4e0b\u662f\u5173\u952e\u6b65\u9aa4\u7684\u65f6\u5e8f&#xff1a;<\/p>\n<p>\u8bf4\u660e&#xff1a;\u8be5\u56fe\u5c55\u793a\u7684\u662f Spring Boot \u542f\u52a8\u8fc7\u7a0b\u4e2d&#xff0c;\u4ece main \u65b9\u6cd5\u5f00\u59cb&#xff0c;\u5230\u81ea\u52a8\u914d\u7f6e\u7c7b\u52a0\u8f7d\u3001\u5bb9\u5668\u521b\u5efa\u3001Tomcat \u542f\u52a8\u7684\u5b8c\u6574\u8c03\u7528\u94fe\u8def\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001\u5207\u6362\u5230 Jetty\/Undertow \u7684\u539f\u7406<\/h3>\n<p>\u7406\u89e3\u4e86\u9ed8\u8ba4\u6d41\u7a0b\u540e&#xff0c;\u5207\u6362\u5bb9\u5668\u7684\u539f\u7406\u5c31\u5f88\u6e05\u6670\u4e86&#xff1a;<\/p>\n<li>\n<p>ServletWebServerFactoryAutoConfiguration\u00a0\u5bfc\u5165\u4e86\u4e09\u79cd\u5bb9\u5668\u7684\u914d\u7f6e\u7c7b<\/p>\n<\/li>\n<li>\n<p>\u6bcf\u79cd\u5bb9\u5668\u7684\u914d\u7f6e\u7c7b\u4e0a\u90fd\u5e26\u6709\u00a0&#064;ConditionalOnClass\u00a0\u6ce8\u89e3<\/p>\n<\/li>\n<li>\n<p>\u5f53\u6392\u9664\u4e86\u00a0spring-boot-starter-tomcat\u00a0\u540e&#xff0c;Tomcat \u76f8\u5173\u7684\u7c7b&#xff08;\u5982\u00a0Tomcat\u3001TomcatServletWebServerFactory&#xff09;\u4e0d\u518d\u5b58\u5728\u4e8e classpath \u4e2d<\/p>\n<\/li>\n<li>\n<p>\u56e0\u6b64\u00a0EmbeddedTomcat\u00a0\u914d\u7f6e\u7c7b\u4e0d\u751f\u6548&#xff0c;\u800c Jetty \u7684\u914d\u7f6e\u7c7b\u56e0\u5f15\u5165\u4e86\u00a0spring-boot-starter-jetty\u00a0\u800c\u751f\u6548<\/p>\n<\/li>\n<p>\u672c\u8d28\u662f\u57fa\u4e8e classpath \u7684\u6761\u4ef6\u5316\u914d\u7f6e\u5728\u53d1\u6325\u4f5c\u7528\u3002<\/p>\n<hr \/>\n<h3>\u4e03\u3001\u603b\u7ed3<\/h3>\n<p>spring-boot-starter-web\u00a0\u7684\u8bbe\u8ba1\u4f53\u73b0\u4e86 Spring Boot \u7684\u6838\u5fc3\u54f2\u5b66&#xff1a;<\/p>\n<li>\n<p>\u4f9d\u8d56\u805a\u5408&#xff1a;\u4e00\u4e2a Starter \u805a\u5408\u4e86 Web \u5f00\u53d1\u6240\u9700\u7684\u6240\u6709\u4f9d\u8d56&#xff0c;\u7248\u672c\u7531\u7236\u9879\u76ee\u7edf\u4e00\u4ef2\u88c1<\/p>\n<\/li>\n<li>\n<p>\u6761\u4ef6\u88c5\u914d&#xff1a;\u81ea\u52a8\u914d\u7f6e\u7c7b\u901a\u8fc7\u00a0&#064;ConditionalOnXxx\u00a0\u5b9e\u73b0\u6309\u9700\u751f\u6548&#xff0c;\u907f\u514d\u8fc7\u5ea6\u52a0\u8f7d<\/p>\n<\/li>\n<li>\n<p>\u751f\u547d\u5468\u671f\u94a9\u5b50&#xff1a;\u5229\u7528 Spring \u5bb9\u5668\u7684\u00a0onRefresh()\u00a0\u548c\u00a0finishRefresh()\u00a0\u6a21\u677f\u65b9\u6cd5&#xff0c;\u5728\u6070\u5f53\u7684\u65f6\u673a\u521b\u5efa\u548c\u542f\u52a8\u5185\u5d4c\u5bb9\u5668<\/p>\n<\/li>\n<li>\n<p>\u5de5\u5382\u62bd\u8c61&#xff1a;\u901a\u8fc7\u00a0ServletWebServerFactory\u00a0\u63a5\u53e3\u7edf\u4e00\u4e0d\u540c\u5bb9\u5668\u7684\u521b\u5efa\u903b\u8f91&#xff0c;\u5207\u6362\u53ea\u9700\u6539\u4f9d\u8d56<\/p>\n<\/li>\n<p>\u7406\u89e3\u8fd9\u56db\u5c42\u8bbe\u8ba1&#xff0c;\u4e0d\u4ec5\u80fd\u7528\u597d Web Starter&#xff0c;\u4e5f\u80fd\u4e3a\u81ea\u5b9a\u4e49 Starter\u00a0\u63d0\u4f9b\u6e05\u6670\u7684\u53c2\u8003\u6a21\u5f0f\u2014\u2014\u8fd9\u6b63\u662f Spring Boot \u80fd\u591f\u6210\u4e3a Java \u751f\u6001\u57fa\u77f3\u7684\u5e95\u5c42\u903b\u8f91\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spring Boot \u7684\u00a0spring-boot-starter-web\u00a0\u662f\u7edd\u5927\u591a\u6570 Java Web \u5f00\u53d1\u8005\u63a5\u89e6\u7684\u7b2c\u4e00\u4e2a Starter\u3002\u4e00\u4e2a\u6ce8\u89e3\u3001\u4e00\u4e2a main \u65b9\u6cd5&#xff0c;\u4e00\u4e2a\u5b8c\u6574\u7684 Web \u670d\u52a1\u5668\u5c31\u8dd1\u8d77\u6765\u4e86\u2014\u2014DispatcherServlet \u81ea\u52a8\u6ce8\u518c\u597d\u4e86&#xff0c;Tomcat \u5185\u5d4c\u542f\u52a8\u597d\u4e86&#xff0c;\u8fde JSON \u8f6c\u6362\u5668\u90fd\u51c6\u5907\u5c31\u7eea\u3002\u8fd9\u7bc7\u6587\u7ae0\u5c06\u4ece\u6e90\u7801\u5c42\u9762\u5256\u6790\u8fd9\u4e00\u5207\u662f\u5982\u4f55\u53d1\u751f\u7684\u3002\u4e00\u3001\u6574\u4f53\u67b6\u6784&#xff1a;starter-web \u7684\u6838\u5fc3\u56db\u5c42spri<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[98,87,43],"topic":[],"class_list":["post-82038","post","type-post","status-publish","format-standard","hentry","category-server","tag-spring-boot","tag-87","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Spring Boot Starter Web \u539f\u7406\u5206\u6790\uff1a\u4ece\u4f9d\u8d56\u5230\u5185\u5d4c\u670d\u52a1\u5668\u7684\u5b8c\u6574\u542f\u52a8\u6d41\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/82038.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spring Boot Starter Web \u539f\u7406\u5206\u6790\uff1a\u4ece\u4f9d\u8d56\u5230\u5185\u5d4c\u670d\u52a1\u5668\u7684\u5b8c\u6574\u542f\u52a8\u6d41\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Spring Boot \u7684\u00a0spring-boot-starter-web\u00a0\u662f\u7edd\u5927\u591a\u6570 Java Web \u5f00\u53d1\u8005\u63a5\u89e6\u7684\u7b2c\u4e00\u4e2a Starter\u3002\u4e00\u4e2a\u6ce8\u89e3\u3001\u4e00\u4e2a main \u65b9\u6cd5&#xff0c;\u4e00\u4e2a\u5b8c\u6574\u7684 Web \u670d\u52a1\u5668\u5c31\u8dd1\u8d77\u6765\u4e86\u2014\u2014DispatcherServlet \u81ea\u52a8\u6ce8\u518c\u597d\u4e86&#xff0c;Tomcat \u5185\u5d4c\u542f\u52a8\u597d\u4e86&#xff0c;\u8fde JSON \u8f6c\u6362\u5668\u90fd\u51c6\u5907\u5c31\u7eea\u3002\u8fd9\u7bc7\u6587\u7ae0\u5c06\u4ece\u6e90\u7801\u5c42\u9762\u5256\u6790\u8fd9\u4e00\u5207\u662f\u5982\u4f55\u53d1\u751f\u7684\u3002\u4e00\u3001\u6574\u4f53\u67b6\u6784&#xff1a;starter-web \u7684\u6838\u5fc3\u56db\u5c42spri\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/82038.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-24T22:11:28+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/82038.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/82038.html\",\"name\":\"Spring Boot Starter Web \u539f\u7406\u5206\u6790\uff1a\u4ece\u4f9d\u8d56\u5230\u5185\u5d4c\u670d\u52a1\u5668\u7684\u5b8c\u6574\u542f\u52a8\u6d41\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-24T22:11:28+00:00\",\"dateModified\":\"2026-07-24T22:11:28+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/82038.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/82038.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/82038.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Spring Boot Starter Web \u539f\u7406\u5206\u6790\uff1a\u4ece\u4f9d\u8d56\u5230\u5185\u5d4c\u670d\u52a1\u5668\u7684\u5b8c\u6574\u542f\u52a8\u6d41\u7a0b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Spring Boot Starter Web \u539f\u7406\u5206\u6790\uff1a\u4ece\u4f9d\u8d56\u5230\u5185\u5d4c\u670d\u52a1\u5668\u7684\u5b8c\u6574\u542f\u52a8\u6d41\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/82038.html","og_locale":"zh_CN","og_type":"article","og_title":"Spring Boot Starter Web \u539f\u7406\u5206\u6790\uff1a\u4ece\u4f9d\u8d56\u5230\u5185\u5d4c\u670d\u52a1\u5668\u7684\u5b8c\u6574\u542f\u52a8\u6d41\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Spring Boot \u7684\u00a0spring-boot-starter-web\u00a0\u662f\u7edd\u5927\u591a\u6570 Java Web \u5f00\u53d1\u8005\u63a5\u89e6\u7684\u7b2c\u4e00\u4e2a Starter\u3002\u4e00\u4e2a\u6ce8\u89e3\u3001\u4e00\u4e2a main \u65b9\u6cd5&#xff0c;\u4e00\u4e2a\u5b8c\u6574\u7684 Web \u670d\u52a1\u5668\u5c31\u8dd1\u8d77\u6765\u4e86\u2014\u2014DispatcherServlet \u81ea\u52a8\u6ce8\u518c\u597d\u4e86&#xff0c;Tomcat \u5185\u5d4c\u542f\u52a8\u597d\u4e86&#xff0c;\u8fde JSON \u8f6c\u6362\u5668\u90fd\u51c6\u5907\u5c31\u7eea\u3002\u8fd9\u7bc7\u6587\u7ae0\u5c06\u4ece\u6e90\u7801\u5c42\u9762\u5256\u6790\u8fd9\u4e00\u5207\u662f\u5982\u4f55\u53d1\u751f\u7684\u3002\u4e00\u3001\u6574\u4f53\u67b6\u6784&#xff1a;starter-web \u7684\u6838\u5fc3\u56db\u5c42spri","og_url":"https:\/\/www.wsisp.com\/helps\/82038.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-24T22:11:28+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/82038.html","url":"https:\/\/www.wsisp.com\/helps\/82038.html","name":"Spring Boot Starter Web \u539f\u7406\u5206\u6790\uff1a\u4ece\u4f9d\u8d56\u5230\u5185\u5d4c\u670d\u52a1\u5668\u7684\u5b8c\u6574\u542f\u52a8\u6d41\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-24T22:11:28+00:00","dateModified":"2026-07-24T22:11:28+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/82038.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/82038.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/82038.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Spring Boot Starter Web \u539f\u7406\u5206\u6790\uff1a\u4ece\u4f9d\u8d56\u5230\u5185\u5d4c\u670d\u52a1\u5668\u7684\u5b8c\u6574\u542f\u52a8\u6d41\u7a0b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/82038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=82038"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/82038\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=82038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=82038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=82038"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=82038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}