public THttpServiceBuilder otherSerializationFormats(SerializationFormat otherSerializationFormat) {
        requireNonNull(otherSerializationFormat, "otherSerializationFormat");
        return otherSerializationFormats(ImmutableList.of(otherSerializationFormat));
    }
Adds other {@link SerializationFormat} to the builder. By default, all {@link SerializationFormat}s in
{@link ThriftSerializationFormats} are supported. If nothing is specified then they are added.
To add a new custom Thrift serialization format,
define a new SPI {@link ThriftProtocolFactoryProvider}.

<p>Currently, the only way to specify a serialization format at request time is by using the HTTP session
protocol and setting the {@code "Content-Type"} header to the appropriate
{@link SerializationFormat#mediaType()}.
thrift/thrift0.13/src/main/java/com/linecorp/armeria/server/thrift/THttpServiceBuilder.java