From aa70f0ae8be0bbc80e9d002bf02d0278c8e31bf8 Mon Sep 17 00:00:00 2001 From: Jaikiran Pai Date: Tue, 25 Feb 2025 10:57:22 +0000 Subject: [PATCH] 8347348: Clarify that the HTTP server in jdk.httpserver module is not a full featured server Reviewed-by: michaelm, dfuchs --- src/jdk.httpserver/share/classes/module-info.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/jdk.httpserver/share/classes/module-info.java b/src/jdk.httpserver/share/classes/module-info.java index 23e04405ee8..15e9e2cc36d 100644 --- a/src/jdk.httpserver/share/classes/module-info.java +++ b/src/jdk.httpserver/share/classes/module-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2025, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -101,6 +101,14 @@ * socket option on all incoming connections. * * + * @apiNote The API and SPI in this module are designed and implemented to support a minimal + * HTTP server and simple HTTP semantics primarily. + * + * @implNote The default implementation of the HTTP server provided in this module is intended + * for simple usages like local testing, development, and debugging. Accordingly, the design + * and implementation of the server does not intend to be a full-featured, high performance + * HTTP server. + * * @toolGuide jwebserver * * @uses com.sun.net.httpserver.spi.HttpServerProvider