Annotate Http2ServerDowngrader with @UnstableApi
Motivation: Everything in the http2 package should be considered unstable for now Modifications: Add missing annotation on Http2ServerDowngrader Result: Clearly mark class as unstable.
This commit is contained in:
parent
b225144a57
commit
4b24b0aac8
@ -29,6 +29,7 @@ import io.netty.handler.codec.http.HttpResponse;
|
|||||||
import io.netty.handler.codec.http.HttpVersion;
|
import io.netty.handler.codec.http.HttpVersion;
|
||||||
import io.netty.handler.codec.http.LastHttpContent;
|
import io.netty.handler.codec.http.LastHttpContent;
|
||||||
import io.netty.util.ReferenceCountUtil;
|
import io.netty.util.ReferenceCountUtil;
|
||||||
|
import io.netty.util.internal.UnstableApi;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -40,6 +41,7 @@ import java.util.List;
|
|||||||
* HttpObject}, and back. For simplicity, it converts to chunked encoding
|
* HttpObject}, and back. For simplicity, it converts to chunked encoding
|
||||||
* unless the entire stream is a single header.
|
* unless the entire stream is a single header.
|
||||||
*/
|
*/
|
||||||
|
@UnstableApi
|
||||||
public class Http2ServerDowngrader extends MessageToMessageCodec<Http2StreamFrame, HttpObject> {
|
public class Http2ServerDowngrader extends MessageToMessageCodec<Http2StreamFrame, HttpObject> {
|
||||||
|
|
||||||
private final boolean validateHeaders;
|
private final boolean validateHeaders;
|
||||||
|
Loading…
Reference in New Issue
Block a user