Deprecate support classes for Sun's JDK HTTP server
Issue: SPR-17143
This commit is contained in:
@@ -33,7 +33,6 @@ import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.beans.factory.DisposableBean;
|
||||
import org.springframework.beans.factory.FactoryBean;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.lang.UsesSunHttpServer;
|
||||
|
||||
/**
|
||||
* {@link org.springframework.beans.factory.FactoryBean} that creates a simple
|
||||
@@ -51,8 +50,10 @@ import org.springframework.lang.UsesSunHttpServer;
|
||||
* @since 2.5.1
|
||||
* @see #setPort
|
||||
* @see #setContexts
|
||||
* @deprecated as of Spring Framework 5.1, in favor of embedded Tomcat/Jetty/Undertow
|
||||
*/
|
||||
@UsesSunHttpServer
|
||||
@Deprecated
|
||||
@org.springframework.lang.UsesSunHttpServer
|
||||
public class SimpleHttpServerFactoryBean implements FactoryBean<HttpServer>, InitializingBean, DisposableBean {
|
||||
|
||||
protected final Log logger = LogFactory.getLog(getClass());
|
||||
|
||||
Reference in New Issue
Block a user