http-client-branch: update public API @since tags http-client-branch
authorchegar
Tue, 06 Feb 2018 19:29:33 +0000
branchhttp-client-branch
changeset 56086 ba42a59d3072
parent 56085 544869ae0b16
child 56087 e73e506a1969
http-client-branch: update public API @since tags
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpClient.java
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpHeaders.java
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpRequest.java
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpTimeoutException.java
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/WebSocket.java
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/WebSocketHandshakeException.java
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/package-info.java
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpClient.java	Tue Feb 06 19:26:38 2018 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpClient.java	Tue Feb 06 19:29:33 2018 +0000
@@ -78,7 +78,7 @@
  *
  * <p> See {@link HttpRequest} for further examples of usage of this API.
  *
- * @since 9
+ * @since 11
  */
 public abstract class HttpClient {
 
@@ -129,7 +129,7 @@
      * and returns the same instance. Builders are not thread-safe and should not be
      * used concurrently from multiple threads without external synchronization.
      *
-     * @since 9
+     * @since 11
      */
     public abstract static class Builder {
 
@@ -387,7 +387,7 @@
      * The HTTP protocol version.
      * {@Incubating}
      *
-     * @since 9
+     * @since 11
      */
     public enum Version {
 
@@ -413,7 +413,7 @@
      * <p> {@code Redirect} policy is set via the {@link
      * HttpClient.Builder#followRedirects(HttpClient.Redirect)} method.
      *
-     * @since 9
+     * @since 11
      */
     public enum Redirect {
 
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpHeaders.java	Tue Feb 06 19:26:38 2018 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpHeaders.java	Tue Feb 06 19:29:33 2018 +0000
@@ -43,7 +43,7 @@
  *
  * <p> HttpHeaders instances are immutable.
  *
- * @since 9
+ * @since 11
  */
 public abstract class HttpHeaders {
 
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpRequest.java	Tue Feb 06 19:26:38 2018 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpRequest.java	Tue Feb 06 19:29:33 2018 +0000
@@ -228,7 +228,7 @@
  *    // all elements of futures have completed and can be examined.
  *    // Use File.exists() to check whether file was successfully downloaded }</pre>
  *
- * @since 9
+ * @since 11
  */
 public abstract class HttpRequest {
 
@@ -257,7 +257,7 @@
      * <p> The {@linkplain #build() build} method returns a new {@code
      * HttpRequest} each time it is invoked.
      *
-     * @since 9
+     * @since 11
      */
     public abstract static class Builder {
 
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java	Tue Feb 06 19:26:38 2018 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java	Tue Feb 06 19:29:33 2018 +0000
@@ -89,7 +89,7 @@
  * <p> See {@link BodyHandler} for example usage.
  *
  * @param <T> the response body type
- * @since 9
+ * @since 11
  */
 public abstract class HttpResponse<T> {
 
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpTimeoutException.java	Tue Feb 06 19:26:38 2018 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpTimeoutException.java	Tue Feb 06 19:29:33 2018 +0000
@@ -30,6 +30,8 @@
 /**
  * Thrown when a response is not received within a specified time period.
  * {@Incubating}
+ *
+ * @since 11
  */
 public class HttpTimeoutException extends IOException {
 
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/WebSocket.java	Tue Feb 06 19:26:38 2018 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/WebSocket.java	Tue Feb 06 19:29:33 2018 +0000
@@ -82,7 +82,7 @@
  * listener receives Ping or Close messages, no mandatory actions from the
  * listener are required.
  *
- * @since 9
+ * @since 11
  */
 public interface WebSocket {
 
@@ -108,7 +108,7 @@
      * <p> Unless otherwise stated, {@code null} arguments will cause methods of
      * {@code Builder} to throw {@code NullPointerException}.
      *
-     * @since 9
+     * @since 11
      */
     interface Builder {
 
@@ -224,7 +224,7 @@
      * {@code CompletionStage}, {@code WebSocket} will behave as if the listener
      * returned a {@code CompletionStage} that is already completed normally.
      *
-     * @since 9
+     * @since 11
      */
     interface Listener {
 
@@ -467,7 +467,7 @@
      * messages.
      * {@Incubating}
      *
-     * @since 9
+     * @since 11
      */
     enum MessagePart {
 
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/WebSocketHandshakeException.java	Tue Feb 06 19:26:38 2018 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/WebSocketHandshakeException.java	Tue Feb 06 19:29:33 2018 +0000
@@ -31,7 +31,7 @@
  * An exception used to signal the opening handshake failed.
  * {@Incubating}
  *
- * @since 9
+ * @since 11
  */
 public final class WebSocketHandshakeException extends IOException {
 
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/package-info.java	Tue Feb 06 19:26:38 2018 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/package-info.java	Tue Feb 06 19:29:33 2018 +0000
@@ -55,6 +55,6 @@
  * <p> Unless otherwise stated, {@code null} parameter values will cause methods
  * of all classes in this package to throw {@code NullPointerException}.
  *
- * @since 9
+ * @since 11
  */
 package jdk.incubator.http;