jclouds-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Daggett <jeremy.dagg...@RACKSPACE.COM>
Subject Re: Which MediaType?
Date Tue, 22 Apr 2014 14:54:19 GMT
Yes, indeed! We have also discussed it here:

Using MediaType in BlobStore is just a first step, since it has to deal
with content types quite a bit. IMHO, all String representations of MIME
types should use this class. Tests, annotations, you name it.

I thought we had a coding best practices doc somewhere, but I canĀ¹t seem
to locate it. Any pointers? It would be good to capture any best practices
like this for community members to reference.


On 4/22/14, 12:45 AM, "Andrew Phillips" <aphillips@qrmedia.com> wrote:

>> How do others feel about using the Guava MediaType [1] class for
>> MIME types instead of the (less robust) JAX-RS MediaType [2]
>> throughout the codebase going forward?  We have discussed leveraging
>>  more of the Guava libraries, and I figured I would throw it out
>> there. :)
>See https://github.com/jclouds/jclouds/pull/44 - I believe gaul was
>thinking along your lines. Yes, definitely all for using MediaType in
>future, if we can figure out how to sensibly handle places where it's

View raw message