diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/HttpResponse.java b/httpcore5/src/main/java/org/apache/hc/core5/http/HttpResponse.java index 9b67eee8b..80c86e496 100644 --- a/httpcore5/src/main/java/org/apache/hc/core5/http/HttpResponse.java +++ b/httpcore5/src/main/java/org/apache/hc/core5/http/HttpResponse.java @@ -41,6 +41,8 @@ public interface HttpResponse extends HttpMessage { * Obtains the code of this response message. * * @return the status code. + * + * @see HttpStatus */ int getCode(); diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/HttpStatus.java b/httpcore5/src/main/java/org/apache/hc/core5/http/HttpStatus.java index 02b448c1a..993f50425 100644 --- a/httpcore5/src/main/java/org/apache/hc/core5/http/HttpStatus.java +++ b/httpcore5/src/main/java/org/apache/hc/core5/http/HttpStatus.java @@ -45,6 +45,8 @@ * @see RFC 2817 (Upgrading to TLS Within HTTP/1.1) * @see RFC 8470 (Using Early Data in HTTP) * @since 4.0 + * @see org.apache.hc.core5.http.message.StatusLine.StatusClass + * @see org.apache.hc.core5.http.message.StatusLine.StatusClass#from(int) */ public final class HttpStatus { diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/message/StatusLine.java b/httpcore5/src/main/java/org/apache/hc/core5/http/message/StatusLine.java index 9eb52f4ba..9cc8aaea2 100644 --- a/httpcore5/src/main/java/org/apache/hc/core5/http/message/StatusLine.java +++ b/httpcore5/src/main/java/org/apache/hc/core5/http/message/StatusLine.java @@ -174,6 +174,7 @@ public String toString() { /** * Standard classes of HTTP status codes, plus {@code OTHER} for non-standard codes. + * @see org.apache.hc.core5.http.HttpStatus */ public enum StatusClass { @@ -212,6 +213,7 @@ public enum StatusClass { * * @param statusCode response status code to get the class for. * @return class of the response status code. + * @see org.apache.hc.core5.http.HttpStatus */ public static StatusClass from(final int statusCode) { final StatusClass statusClass;