All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.onetwo.common.apiclient.utils.ApiClientUtils Maven / Gradle / Ivy

package org.onetwo.common.apiclient.utils;

import org.onetwo.common.log.JFishLoggerFactory;
import org.slf4j.Logger;
import org.springframework.util.ClassUtils;

/**
 * @author wayshall
 * 
*/ abstract public class ApiClientUtils { private static final Logger apiclientLogger = JFishLoggerFactory.getLogger("RestApiClientLogger"); public static final String CLASS_REQUEST_MAPPING = "org.springframework.web.bind.annotation.RequestMapping"; public static boolean isRequestMappingPresent(){ return ClassUtils.isPresent(CLASS_REQUEST_MAPPING, null); } public static Logger getApiclientlogger() { return apiclientLogger; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy