Skip to content

Commit

Permalink
Add deprecated constructor for HttpServer
Browse files Browse the repository at this point in the history
  • Loading branch information
glent committed Jan 19, 2024
1 parent a8af606 commit eff8fca
Showing 1 changed file with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,32 @@ public class HttpServer
private final Optional<ZonedDateTime> certificateExpiration;
private final HttpServerModuleOptions moduleOptions;

@Deprecated
public HttpServer(HttpServerInfo httpServerInfo,
NodeInfo nodeInfo,
HttpServerConfig config,
Servlet theServlet,
Map<String, String> parameters,
Set<Filter> filters,
Set<HttpResourceBinding> resources,
@Nullable Servlet theAdminServlet,
@Nullable Map<String, String> adminParameters,
@Nullable Set<Filter> 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,
Expand Down

0 comments on commit eff8fca

Please sign in to comment.