com.jamonapi.http
Interface HttpMon


public interface HttpMon

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

Method Summary
 java.lang.String getDetailLabel()
           
 java.lang.Throwable getException()
           
 void setException(java.lang.Throwable t)
           
 HttpMon start()
           
 void stop()
           
 void throwException(java.lang.Throwable t)
           
 

Method Detail

start

HttpMon start()

stop

void stop()

getDetailLabel

java.lang.String getDetailLabel()

setException

void setException(java.lang.Throwable t)

throwException

void throwException(java.lang.Throwable t)
                    throws java.io.IOException,
                           javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

getException

java.lang.Throwable getException()