org.hertsstack.http.HertsHttpSimpleCaller Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of herts-http Show documentation
Show all versions of herts-http Show documentation
Herts real time framework for Http
package org.hertsstack.http;
import org.hertsstack.core.modelx.RegisteredMethod;
import org.hertsstack.serializer.MessageSerializer;
import org.hertsstack.metrics.HertsMetrics;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.util.List;
import java.util.concurrent.ConcurrentMap;
/**
* Herts http simple class
*
* @author Herts Contributer
*/
class HertsHttpSimpleCaller extends HertsHttpCallerBase implements InternalHttpCaller {
public HertsHttpSimpleCaller(Object coreObject, MessageSerializer hertsSerializer,
ConcurrentMap registeredMethods) {
super(coreObject, null, hertsSerializer, registeredMethods);
}
@Override
public void post(String serviceName, Method hertsMethod, HttpServletRequest request, HttpServletResponse response) throws Exception {
call(hertsMethod, request, response);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy