Fix Http2Headers.method(...) javadocs (#9718)

Motivation:

The javadocs of Http2Headers.method(...) are incorrect, we should fix these.

Modifications:

Correct javadocs

Result:

Fixes https://github.com/netty/netty/issues/8068.
This commit is contained in:
Norman Maurer 2019-10-29 19:51:28 +01:00
parent 6667b590c4
commit 63729a310f

View File

@ -136,7 +136,7 @@ public interface Http2Headers extends Headers<CharSequence, CharSequence, Http2H
Iterator<CharSequence> valueIterator(CharSequence name);
/**
* Sets the {@link PseudoHeaderName#METHOD} header or {@code null} if there is no such header
* Sets the {@link PseudoHeaderName#METHOD} header
*/
Http2Headers method(CharSequence value);