Skip to content
Permalink
Browse files

Add MediaType for "application/geo+json".

via #3243

RELNOTES=Add MediaType for "application/geo+json".

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=249531547
  • Loading branch information...
kluever authored and ronshapiro committed May 22, 2019
1 parent 1ddcd27 commit 36cd5cfc5c727e4408758ef78e5b05a15ca027c9
@@ -426,6 +426,14 @@ private static MediaType addKnownType(MediaType mediaType) {
*/
public static final MediaType APPLICATION_BINARY = createConstant(APPLICATION_TYPE, "binary");

/**
* Media type for the <a href="https://tools.ietf.org/html/rfc7946">GeoJSON Format</a>, a
* geospatial data interchange format based on JSON.
*
* @since NEXT
*/
public static final MediaType GEO_JSON = createConstant(APPLICATION_TYPE, "geo+json");

public static final MediaType GZIP = createConstant(APPLICATION_TYPE, "x-gzip");

/**
@@ -426,6 +426,14 @@ private static MediaType addKnownType(MediaType mediaType) {
*/
public static final MediaType APPLICATION_BINARY = createConstant(APPLICATION_TYPE, "binary");

/**
* Media type for the <a href="https://tools.ietf.org/html/rfc7946">GeoJSON Format</a>, a
* geospatial data interchange format based on JSON.
*
* @since NEXT
*/
public static final MediaType GEO_JSON = createConstant(APPLICATION_TYPE, "geo+json");

public static final MediaType GZIP = createConstant(APPLICATION_TYPE, "x-gzip");

/**

0 comments on commit 36cd5cf

Please sign in to comment.
You can’t perform that action at this time.