From 9f0fa86f817b11899fc4dccf13315d62ab0d0277 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Fri, 17 Aug 2018 13:59:07 +0200 Subject: [PATCH] Add MediaType for "application/geo+json". --- guava/src/com/google/common/net/MediaType.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/guava/src/com/google/common/net/MediaType.java b/guava/src/com/google/common/net/MediaType.java index fd3ae3a0e3a9..44561233c999 100644 --- a/guava/src/com/google/common/net/MediaType.java +++ b/guava/src/com/google/common/net/MediaType.java @@ -412,6 +412,12 @@ private static MediaType addKnownType(MediaType mediaType) { public static final MediaType GZIP = createConstant(APPLICATION_TYPE, "x-gzip"); + /** + * Media type for the GeoJSON Format, + * a geospatial data interchange format based on JSON. + */ + public static final MediaType GEO_JSON = createConstant(APPLICATION_TYPE, "geo+json"); + /** * Media type for the JSON * Hypertext Application Language (HAL) documents.