Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8262296 Fix remaining doclint warnings in jdk.httpserver #2706

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -151,7 +151,7 @@ public int getResponseCode() {
* is required. Any response headers needing to be sent back to the client are set
* in the given {@code HttpExchange}. The response code to be returned must be
* provided in the {@code Retry} object. {@code Retry} may occur multiple times.
* <ul/>
* </ul>
*
* @param exch the {@code HttpExchange} upon which authenticate is called
* @return the result
Original file line number Diff line number Diff line change
@@ -42,6 +42,7 @@ public interface HttpHandler {
* @param exchange the exchange containing the request from the
* client and used to send the response
* @throws NullPointerException if exchange is {@code null}
* @throws IOException if an I/O error occurs
*/
public abstract void handle (HttpExchange exchange) throws IOException;
}
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@
package com.sun.net.httpserver;

import java.net.InetSocketAddress;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLParameters;

/**
Original file line number Diff line number Diff line change
@@ -58,6 +58,7 @@ protected HttpsServer() {
* must also have a {@code HttpsConfigurator} established with
* {@link #setHttpsConfigurator(HttpsConfigurator)}.
*
* @return an instance of {@code HttpsServer}
* @throws IOException if an I/O error occurs
*/
public static HttpsServer create() throws IOException {
@@ -80,6 +81,7 @@ public static HttpsServer create() throws IOException {
* the address
* @param backlog the socket backlog. If this value is less than or equal to
* zero, then a system default value is used.
* @return an instance of {@code HttpsServer}
* @throws BindException if the server cannot bind to the requested address,
* or if the server is already bound
* @throws IOException if an I/O error occurs
Original file line number Diff line number Diff line change
@@ -26,8 +26,8 @@
/**
Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers. Both "http" and "https" are supported. The API provides
a partial implementation of RFC <a href="http://www.ietf.org/rfc/rfc2616.txt">2616</a> (HTTP 1.1)
and RFC <a href="http://www.ietf.org/rfc/rfc2818.txt">2818</a> (HTTP over TLS).
a partial implementation of RFC <a href="https://www.ietf.org/rfc/rfc2616.txt">2616</a> (HTTP 1.1)
and RFC <a href="https://www.ietf.org/rfc/rfc2818.txt">2818</a> (HTTP over TLS).
Any HTTP functionality not provided by this API can be implemented by application code
using the API.
<p>