public static Class<?> getJavaTypeForContentType(MimeType contentType, ClassLoader classLoader) {
		if (X_JAVA_OBJECT.includes(contentType)) {
			if (contentType.getParameter("type") != null) {
				try {
					return ClassUtils.forName(contentType.getParameter("type"), classLoader);
				}
				catch (Exception e) {
					throw new ConversionException(e.getMessage(), e);
				}
			}
			else {
				return Object.class;
			}
		}
		else if (APPLICATION_JSON.equals(contentType)) {
			return String.class;
		}
		else if (valueOf("text/*").includes(contentType)) {
			return String.class;
		}
		else if (X_XD_TUPLE.includes(contentType)) {
			return DefaultTuple.class;
		}
		else if (APPLICATION_OCTET_STREAM.includes(contentType)) {
			return byte[].class;
		}
		else if (X_JAVA_SERIALIZED_OBJECT.includes(contentType)) {
			return byte[].class;
		}
		else if (X_XD_STRING.includes(contentType)) {
			return String.class;
		}
		return null;
	}
Map the contentType to a target class.

@param contentType the content type
@param classLoader the class loader used to resolve the class
@return the class for the content type
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/integration/bus/converter/MessageConverterUtils.java