requestHandlerChain = null;
if (requestHandlerChain == null) {
synchronized (this) {
if (requestHandlerChain == null) {
RequestHandlerChain chain = new RequestHandlerChain();
chain
.addHandler(new RequestPathAdjustHandler(
webContainer));
chain.addHandler(new CustomizeFiltersHandler(webContainer));
chain.addHandler(new CustomizeServletHandler(webContainer));
Set<IFwkRequestHandler> regiteredReqHandlers = webContainer.reqHandlers;
if (regiteredReqHandlers != null)
chain.addHandlers(regiteredReqHandlers);
requestHandlerChain = chain;
}
}
}
return requestHandlerChain;