public static Function<? super RpcService, THttpService> newDecorator(
            SerializationFormat defaultSerializationFormat) {
        return builder().defaultSerializationFormat(defaultSerializationFormat).newDecorator();
    }
Creates a new decorator that supports all thrift protocols and defaults to the specified
{@code defaultSerializationFormat} when the client doesn't specify one.
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()}.

@param defaultSerializationFormat the default serialization format to use when not specified by the
                                  client
thrift/thrift0.13/src/main/java/com/linecorp/armeria/server/thrift/THttpService.java