/**
* Visit reader class
*/
public void visit(BaseReader br) {
// FIXME, make as assert here about no class cast exception
IdempotentUrlPatternReader iRdr = (IdempotentUrlPatternReader) br;
_m.addIdempotentUrlPattern(true);
try {
_m.setAttributeValue(WebModule.IDEMPOTENT_URL_PATTERN, _i,
URL_PATTERN, iRdr.getUrlPattern());
} catch (LbReaderException le) {
// XXX ignore
}
try {
_m.setAttributeValue(WebModule.IDEMPOTENT_URL_PATTERN, _i,
RETRIES, iRdr.getNoOfRetries());
} catch (LbReaderException le) {
// XXX ignore
}
}