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:
parent
e5951d46fc
commit
6ae7f9e1a8
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user