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