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

com.jamonapi.http.HttpMon Maven / Gradle / Ivy

There is a newer version: 2.82
Show newest version
package com.jamonapi.http;

import javax.servlet.ServletException;
import java.io.IOException;

/** Generic monitoring interface used with HttpServletRequest, and HttpServletResponse objects used in servlet containers.
 * It will also monitor any objects that implement these interfaces as well as any of the methods the implementing classes
 * add to the interface.  Examples would be requests/responses provided by tomcat, jboss, jetty containers.
 * 
 * @author steve souza
 *
 */
public interface HttpMon {

    public HttpMon start();

    public void stop();

    public String getDetailLabel();

    public void setException(Throwable t);

    public void throwException(Throwable t) throws IOException, ServletException;

    public Throwable getException();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy