Interface Request Mapper

public interface RequestMapper

ITCAM for Application Diagnostics recognizes JSP and servlet requests on an application server. These requests are normally identified throughout the ITCAM for Application Diagnostics system using the URI of the request. In some situations, such as when a Struts design paradigm is used, a particular URI is used to handle different types of business requests.

ITCAM for Application Diagnostics provides this interface as a mechanism for modifying ITCAM for Application Diagnostics default behavior of using the URI to describe the request. An implementation of this interface can be installed by registering the classname with the Java™ executable as a system property.

To install, specify the system property "am.requestmapper" with the implementing class as the value.

For example:

 -Dam.requestmapper=com.cyanea.mapper.RequestMapperExample 
Table 1. Method Summary
Method Summary  
MappedRequest mapRequest

(java.lang.String servletClassName, javax.servlet.http.HttpServletRequest request)

This stateless method translates a servlet classname and a URL into a MappedRequest object.