Move web server specific classes into .*.server.* packages
This commit is contained in:
committed by
Phillip Webb
parent
8efc8baf45
commit
0cf76bf43b
@@ -31,7 +31,7 @@ import org.apache.catalina.core.StandardContext;
|
||||
import org.apache.catalina.startup.Tomcat;
|
||||
|
||||
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory;
|
||||
import org.springframework.boot.web.server.servlet.ServletContextInitializer;
|
||||
import org.springframework.boot.web.servlet.ServletContextInitializer;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2021 the original author or authors.
|
||||
* Copyright 2012-2025 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -16,9 +16,9 @@
|
||||
|
||||
package org.springframework.boot.docs.web.servlet.springmvc.errorhandling.errorpageswithoutspringmvc;
|
||||
|
||||
import org.springframework.boot.web.server.ErrorPage;
|
||||
import org.springframework.boot.web.server.ErrorPageRegistrar;
|
||||
import org.springframework.boot.web.server.ErrorPageRegistry;
|
||||
import org.springframework.boot.web.error.ErrorPage;
|
||||
import org.springframework.boot.web.error.ErrorPageRegistrar;
|
||||
import org.springframework.boot.web.error.ErrorPageRegistry;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
@@ -26,8 +26,8 @@ import jakarta.servlet.ServletResponse
|
||||
import org.apache.catalina.Host
|
||||
import org.apache.catalina.core.StandardContext
|
||||
import org.apache.catalina.startup.Tomcat.FixContextListener
|
||||
import org.springframework.boot.web.server.servlet.ServletContextInitializer
|
||||
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory
|
||||
import org.springframework.boot.web.servlet.ServletContextInitializer
|
||||
import org.springframework.context.annotation.Bean
|
||||
import org.springframework.context.annotation.Configuration
|
||||
import java.io.IOException
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
|
||||
package org.springframework.boot.docs.web.servlet.springmvc.errorhandling.errorpageswithoutspringmvc
|
||||
|
||||
import org.springframework.boot.web.server.ErrorPage
|
||||
import org.springframework.boot.web.server.ErrorPageRegistrar
|
||||
import org.springframework.boot.web.server.ErrorPageRegistry
|
||||
import org.springframework.boot.web.error.ErrorPage
|
||||
import org.springframework.boot.web.error.ErrorPageRegistrar
|
||||
import org.springframework.boot.web.error.ErrorPageRegistry
|
||||
import org.springframework.context.annotation.Bean
|
||||
import org.springframework.context.annotation.Configuration
|
||||
import org.springframework.http.HttpStatus
|
||||
|
||||
Reference in New Issue
Block a user