public static Function<? super RpcService, THttpService> newDecorator() {
        return newDecorator(ThriftSerializationFormats.BINARY);
    }
Creates a new decorator that supports all thrift protocols and defaults to
{@link ThriftSerializationFormats#BINARY TBinary} protocol when the client doesn't specify one.

<p>Currently, the only way to specify a serialization format 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/THttpService.java