org.hertsstack.http.InternalHttpCaller 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 javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.lang.reflect.Method;
/**
* Herts http caller interface
*
* @author Herts Contributer
*/
public interface InternalHttpCaller {
/**
* POST
*
* @param serviceName Herts service name
* @param hertsMethod Method reflection
* @param request HttpServletRequest
* @param response HttpServletResponse
* @throws Exception Get error
*/
void post(String serviceName, Method hertsMethod, HttpServletRequest request, HttpServletResponse response) throws Exception;
/**
* Set metrics
*
* @param response HttpServletResponse
* @throws IOException Get error
*/
void setMetricsResponse(HttpServletResponse response) throws IOException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy