From eff8fcae1c4139a1c0f04c92a7c341a0fadc9751 Mon Sep 17 00:00:00 2001 From: Gary Lent Date: Fri, 19 Jan 2024 14:46:02 -0800 Subject: [PATCH] Add deprecated constructor for HttpServer --- .../proofpoint/http/server/HttpServer.java | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/http-server/src/main/java/com/proofpoint/http/server/HttpServer.java b/http-server/src/main/java/com/proofpoint/http/server/HttpServer.java index 9f46f10cd..fb7e300b9 100644 --- a/http-server/src/main/java/com/proofpoint/http/server/HttpServer.java +++ b/http-server/src/main/java/com/proofpoint/http/server/HttpServer.java @@ -113,6 +113,32 @@ public class HttpServer private final Optional certificateExpiration; private final HttpServerModuleOptions moduleOptions; + @Deprecated + public HttpServer(HttpServerInfo httpServerInfo, + NodeInfo nodeInfo, + HttpServerConfig config, + Servlet theServlet, + Map parameters, + Set filters, + Set resources, + @Nullable Servlet theAdminServlet, + @Nullable Map adminParameters, + @Nullable Set adminFilters, + @Nullable MBeanServer mbeanServer, + @Nullable LoginService loginService, + @Nullable SessionHandler sessionHandler, + QueryStringFilter queryStringFilter, + RequestStats stats, + DetailedRequestStats detailedRequestStats, + @Nullable RequestLog requestLog, + ClientAddressExtractor clientAddressExtractor) + { + this(httpServerInfo, nodeInfo, config, theServlet, parameters, + filters, resources, theAdminServlet, adminParameters, adminFilters, mbeanServer, + loginService, sessionHandler, queryStringFilter, stats, detailedRequestStats, + requestLog, clientAddressExtractor, new HttpServerModuleOptions()); + } + public HttpServer(HttpServerInfo httpServerInfo, NodeInfo nodeInfo, HttpServerConfig config,