Skip to content

Commit f79c626

Browse files
committedFeb 25, 2021
8262296: Fix remaining doclint warnings in jdk.httpserver
Reviewed-by: dfuchs, bpb
1 parent ea48a0b commit f79c626

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed
 

‎src/jdk.httpserver/share/classes/com/sun/net/httpserver/Authenticator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public int getResponseCode() {
151151
* is required. Any response headers needing to be sent back to the client are set
152152
* in the given {@code HttpExchange}. The response code to be returned must be
153153
* provided in the {@code Retry} object. {@code Retry} may occur multiple times.
154-
* <ul/>
154+
* </ul>
155155
*
156156
* @param exch the {@code HttpExchange} upon which authenticate is called
157157
* @return the result

‎src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpHandler.java

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public interface HttpHandler {
4242
* @param exchange the exchange containing the request from the
4343
* client and used to send the response
4444
* @throws NullPointerException if exchange is {@code null}
45+
* @throws IOException if an I/O error occurs
4546
*/
4647
public abstract void handle (HttpExchange exchange) throws IOException;
4748
}

‎src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpsParameters.java

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
package com.sun.net.httpserver;
2727

2828
import java.net.InetSocketAddress;
29+
import javax.net.ssl.SSLContext;
2930
import javax.net.ssl.SSLParameters;
3031

3132
/**

‎src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpsServer.java

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ protected HttpsServer() {
5858
* must also have a {@code HttpsConfigurator} established with
5959
* {@link #setHttpsConfigurator(HttpsConfigurator)}.
6060
*
61+
* @return an instance of {@code HttpsServer}
6162
* @throws IOException if an I/O error occurs
6263
*/
6364
public static HttpsServer create() throws IOException {
@@ -80,6 +81,7 @@ public static HttpsServer create() throws IOException {
8081
* the address
8182
* @param backlog the socket backlog. If this value is less than or equal to
8283
* zero, then a system default value is used.
84+
* @return an instance of {@code HttpsServer}
8385
* @throws BindException if the server cannot bind to the requested address,
8486
* or if the server is already bound
8587
* @throws IOException if an I/O error occurs

‎src/jdk.httpserver/share/classes/com/sun/net/httpserver/package-info.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
/**
2727
Provides a simple high-level Http server API, which can be used to build
2828
embedded HTTP servers. Both "http" and "https" are supported. The API provides
29-
a partial implementation of RFC <a href="http://www.ietf.org/rfc/rfc2616.txt">2616</a> (HTTP 1.1)
30-
and RFC <a href="http://www.ietf.org/rfc/rfc2818.txt">2818</a> (HTTP over TLS).
29+
a partial implementation of RFC <a href="https://www.ietf.org/rfc/rfc2616.txt">2616</a> (HTTP 1.1)
30+
and RFC <a href="https://www.ietf.org/rfc/rfc2818.txt">2818</a> (HTTP over TLS).
3131
Any HTTP functionality not provided by this API can be implemented by application code
3232
using the API.
3333
<p>

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Feb 25, 2021

@openjdk-notifier[bot]
Please sign in to comment.