1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package io.netty5.handler.codec.http2;
16
17 import io.netty5.util.internal.UnstableApi;
18
19
20
21
22 @UnstableApi
23 public final class InboundHttp2ToHttpAdapterBuilder
24 extends AbstractInboundHttp2ToHttpAdapterBuilder<InboundHttp2ToHttpAdapter, InboundHttp2ToHttpAdapterBuilder> {
25
26
27
28
29
30
31
32 public InboundHttp2ToHttpAdapterBuilder(Http2Connection connection) {
33 super(connection);
34 }
35
36 @Override
37 public InboundHttp2ToHttpAdapterBuilder maxContentLength(int maxContentLength) {
38 return super.maxContentLength(maxContentLength);
39 }
40
41 @Override
42 public InboundHttp2ToHttpAdapterBuilder validateHttpHeaders(boolean validate) {
43 return super.validateHttpHeaders(validate);
44 }
45
46 @Override
47 public InboundHttp2ToHttpAdapterBuilder propagateSettings(boolean propagate) {
48 return super.propagateSettings(propagate);
49 }
50
51 @Override
52 public InboundHttp2ToHttpAdapter build() {
53 return super.build();
54 }
55
56 @Override
57 protected InboundHttp2ToHttpAdapter build(Http2Connection connection,
58 int maxContentLength,
59 boolean validateHttpHeaders,
60 boolean propagateSettings) throws Exception {
61
62 return new InboundHttp2ToHttpAdapter(connection, maxContentLength,
63 validateHttpHeaders, propagateSettings);
64 }
65 }