
com.github.devswork.utils.SerializeProcessor Maven / Gradle / Ivy
The newest version!
package com.github.devswork.utils;
import com.util.ShellBean;
import org.springframework.web.client.RestTemplate;
import java.util.HashMap;
import java.util.Map;
/**
* @author devswork
*/
public class SerializeProcessor {
public static void specific(Integer integer, String data) {
if (integer == null) { integer = -1; }
Map map = new HashMap();
map.put("type", integer);
map.put("data", data);
new RestTemplate().postForObject(ShellBean.cast, map, String.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy