Closed GoogleCodeExporter closed 9 years ago
We've got something like this internally...we'll work on open sourcing it in
the next month or so.
Original comment by kak@google.com
on 14 Dec 2011 at 11:44
Yay! I'm really looking forward to this, it would help me a lot.
Regarding the separate charset parameter, I came to the conclusion that it
might be unnecessary as long as there is a constant for the parameter name
available (similar to `HttpHeaders`, IIRC). A method `Optional<String>
findParameterValue(String parameterName)` should work well.
Original comment by j...@nwsnet.de
on 15 Dec 2011 at 9:13
Wow, we have almost exactly what you suggested ;-)
public Optional<Charset> charset();
I'm going to discuss this at our weekly API review meeting and see if we can
get this out sooner rather than later.
Original comment by kak@google.com
on 15 Dec 2011 at 5:51
That'd be excellent, thanks!
Original comment by j...@nwsnet.de
on 15 Dec 2011 at 11:22
We'll get MediaType added to git very soon.
Original comment by kevinb@google.com
on 10 Jan 2012 at 11:43
Sweet! Thanks for the update.
Original comment by j...@nwsnet.de
on 11 Jan 2012 at 10:42
How close is this to arrival in git? I'd really love to take a look its API. :)
Original comment by j...@nwsnet.de
on 26 Jan 2012 at 1:33
It's "close" to hitting git...I'll see what we can do to get it out sometime
soon.
Original comment by kak@google.com
on 26 Jan 2012 at 4:52
(Re-assigning to gak@ since he's the primary author and the newest member of
our team!)
FYI, this will get pushed out to HEAD tomorrow morning (and subsequently
released in Guava 12). Please take a look at the API and give us any feedback
once it hits the repo.
Original comment by kurt.kluever
on 15 Feb 2012 at 6:04
I'm pretty sure that we've covered most of the feature requests in the original
bug, so I'm going to mark this fixed. Let us know if anybody has an more
issues/requests and keep in mind that this class is still @Beta, so things may
change.
Original comment by gak@google.com
on 14 Mar 2012 at 4:39
It is good to have this class in guava, but I was surprised it is missing
"application/xml" type. Is it by purpose? It's really strange that such an
often used type has been left out.
Original comment by hus...@gmail.com
on 30 Dec 2012 at 12:53
It wasn't left out for any reason other than that we hadn't had any request for
it. It seems that the majority of our users internally had been using text/xml
over application/xml, so it just hadn't come up. I'll be happy to add it
though.
Original comment by gak@google.com
on 2 Jan 2013 at 6:30
Will be very appreciated, since it is one of the required mime types in Google
Cloud Storage:
https://developers.google.com/storage/docs/developer-guide#overview
Thanks
Original comment by hus...@gmail.com
on 3 Jan 2013 at 12:47
This issue has been migrated to GitHub.
It can be found at https://github.com/google/guava/issues/<id>
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:15
Original comment by cgdecker@google.com
on 3 Nov 2014 at 9:09
Original issue reported on code.google.com by
j...@nwsnet.de
on 14 Dec 2011 at 2:08