From 784448723663b6ecf7bfa041245694b07c83655e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20L=C3=A4ubrich?= Date: Fri, 15 Dec 2023 09:03:14 +0100 Subject: [PATCH] Deprecate (and mark for removal) ExtendedHttpService The ExtendedHttpService is effectively unused in platform and uses the abandoned HttpService it is API. We therefore should deprecate and remove that to get rid of the dependency here a more modern replacement for the purpose of this extended form (registering filters) is today the [Http Whiteboard Specification](https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.http.whiteboard.html) --- .../org/eclipse/equinox/http/servlet/ExtendedHttpService.java | 1 + .../equinox/http/servlet/HttpServiceMultipartServlet.java | 1 + 2 files changed, 2 insertions(+) diff --git a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/ExtendedHttpService.java b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/ExtendedHttpService.java index a9a7105ea58..7ea040a8142 100644 --- a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/ExtendedHttpService.java +++ b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/ExtendedHttpService.java @@ -25,6 +25,7 @@ * @noimplement This interface is not intended to be implemented by clients. */ @ProviderType +@Deprecated(forRemoval = true) public interface ExtendedHttpService extends HttpService { /** diff --git a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/HttpServiceMultipartServlet.java b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/HttpServiceMultipartServlet.java index c7ee1e86fc7..a18da25e790 100644 --- a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/HttpServiceMultipartServlet.java +++ b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/HttpServiceMultipartServlet.java @@ -20,6 +20,7 @@ * @deprecated No longer required. * @since 1.3 */ +@Deprecated(forRemoval = true) public class HttpServiceMultipartServlet extends HttpServlet { private static final long serialVersionUID = 2281118780429323631L; }