private THttpService build0(RpcService tcs) {
        final ImmutableSet.Builder<SerializationFormat> builder = ImmutableSet.builder();
        builder.add(defaultSerializationFormat);
        builder.addAll(otherSerializationFormats);

        return new THttpService(
                decorate(tcs), defaultSerializationFormat, builder.build(),
                maxRequestStringLength, maxRequestContainerLength, exceptionHandler
        );
    }
Returns a newly-created {@link THttpService} decorator with the properties of this builder.
thrift/thrift0.13/src/main/java/com/linecorp/armeria/server/thrift/THttpServiceBuilder.java