Fix JavaDoc of Http2Headers (#10711)

Motivation:
Http2Headers has JavaDoc error which says Sets the {@link PseudoHeaderName#AUTHORITY} header or {@code null} if there is no such header however it should be Sets the {@link PseudoHeaderName#AUTHORITY} header in Http2Headers#authority(CharSequence) methods because it only sets CharSequence.

This is true for all setters in Http2Headers.

Modification:
Fixed all JavaDoc errors.

Result:
Better JavaDoc.
This commit is contained in:
Aayush Atharva 2020-10-23 19:05:43 +05:30 committed by Norman Maurer
parent b8ae2a2af4
commit 9f8590e194

View File

@ -141,22 +141,22 @@ public interface Http2Headers extends Headers<CharSequence, CharSequence, Http2H
Http2Headers method(CharSequence value);
/**
* Sets the {@link PseudoHeaderName#SCHEME} header if there is no such header
* Sets the {@link PseudoHeaderName#SCHEME} header
*/
Http2Headers scheme(CharSequence value);
/**
* Sets the {@link PseudoHeaderName#AUTHORITY} header or {@code null} if there is no such header
* Sets the {@link PseudoHeaderName#AUTHORITY} header
*/
Http2Headers authority(CharSequence value);
/**
* Sets the {@link PseudoHeaderName#PATH} header or {@code null} if there is no such header
* Sets the {@link PseudoHeaderName#PATH} header
*/
Http2Headers path(CharSequence value);
/**
* Sets the {@link PseudoHeaderName#STATUS} header or {@code null} if there is no such header
* Sets the {@link PseudoHeaderName#STATUS} header
*/
Http2Headers status(CharSequence value);