<commit_before>/*******************************************************************************
 * Copyright (c) 2018 Pivotal, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Pivotal, Inc. - initial API and implementation
 *******************************************************************************/
package org.springframework.ide.vscode.boot.java.requestmapping;

/**
 * @author <NAME>
 */
public enum MediaTypeMapping {
	
	TEXT_PLAIN("text/plain"),
	APPLICATION_JSON("application/json"),
	APPLICATION_STREAM_JSON("application/stream+json");

	
	private String mediaType;

	private MediaTypeMapping(String mediaType) {
		this.mediaType = mediaType;
	}
	
	public String getMediaType() {
		return mediaType;
	}

}<commit_msg>added additional media types, taken from spring 5 MediaType constants<commit_after>/*******************************************************************************
 * Copyright (c) 2018 Pivotal, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Pivotal, Inc. - initial API and implementation
 *******************************************************************************/
package org.springframework.ide.vscode.boot.java.requestmapping;

/**
 * @author <NAME>
 */
public enum MediaTypeMapping {
	
	ALL("*/*"),
	APPLICATION_ATOM_XML("application/atom+xml"),
	APPLICATION_FORM_URLENCODED("application/x-www-form-urlencoded"),
	APPLICATION_JSON("application/json"),
	APPLICATION_JSON_UTF8("application/json;charset=UTF-8"),
	APPLICATION_OCTET_STREAM("application/octet-stream"),
	APPLICATION_PDF("application/pdf"),
	APPLICATION_PROBLEM_JSON("application/problem+json"),
	APPLICATION_PROBLEM_JSON_UTF8("application/problem+json;charset=UTF-8"),
	APPLICATION_PROBLEM_XML("application/problem+xml"),
	APPLICATION_RSS_XML("application/rss+xml"),
	APPLICATION_STREAM_JSON("application/stream+json"),
	APPLICATION_XHTML_XML("application/xhtml+xml"),
	APPLICATION_XML("application/xml"),
	IMAGE_GIF("image/gif"),
	IMAGE_JPEG("image/jpeg"),
	IMAGE_PNG("image/png"),
	MULTIPART_FORM_DATA("multipart/form-data"),
	TEXT_EVENT_STREAM("text/event-stream"),
	TEXT_HTML("text/html"),
	TEXT_MARKDOWN("text/markdown"),
	TEXT_PLAIN("text/plain"),
	TEXT_XML("text/xml");

	private String mediaType;

	private MediaTypeMapping(String mediaType) {
		this.mediaType = mediaType;
	}
	
	public String getMediaType() {
		return mediaType;
	}

}
{'fraction_non_alphanumeric': 0.22202423378474698, 'fraction_numerical': 0.007483962936564505, 'mean_word_length': 6.505347593582887, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 3, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7256266', 'n_tokens_mistral': 851, 'n_tokens_neox': 777, 'n_words': 161}