-
```
While the Java Mail API provides a content type class, it still has some
drawbacks. Some are that it's not immutable (think constants) and it lacks a
(static) constructor to create one just from…
-
```
The media type for JSON is defined like this:
public static final MediaType JSON_UTF_8 = new MediaType(APPLICATION_TYPE, "json")
.withCharset(UTF_8);
I.e. "application/json; charset=…
-
```
While the Java Mail API provides a content type class, it still has some
drawbacks. Some are that it's not immutable (think constants) and it lacks a
(static) constructor to create one just from…
-
```
While the Java Mail API provides a content type class, it still has some
drawbacks. Some are that it's not immutable (think constants) and it lacks a
(static) constructor to create one just from…
-
Comment by Chris Lilley on IRC
```
[13:58] ivan, "When JSON is written in UTF-8, JSON is 8bit
[13:58] compatible ([RFC2045])"
[13:58] so, 8bit not binary, since utf-8 is the default encod…
-
```
The media type for JSON is defined like this:
public static final MediaType JSON_UTF_8 = new MediaType(APPLICATION_TYPE, "json")
.withCharset(UTF_8);
I.e. "application/json; charset=…
-
```
The media type for JSON is defined like this:
public static final MediaType JSON_UTF_8 = new MediaType(APPLICATION_TYPE, "json")
.withCharset(UTF_8);
I.e. "application/json; charset=…
-
```
While the Java Mail API provides a content type class, it still has some
drawbacks. Some are that it's not immutable (think constants) and it lacks a
(static) constructor to create one just from…
-
```
The media type for JSON is defined like this:
public static final MediaType JSON_UTF_8 = new MediaType(APPLICATION_TYPE, "json")
.withCharset(UTF_8);
I.e. "application/json; charset=…
-
The `mime` type currently is a variant with a bunch of tuples as the arguments. It would be very helpful to have a little bit documentation as to what the fields are. In particular for `Basic and `Mes…