ps.setResponse(response);
callFetchHandler(ctx, ps);
}
private void callFetchHandler(IInjectionModuleContext ctx, IPathState ps) {
final IWebPath path = ps.getPath();
final HttpUriRequest req = ps.createRequest();
final IHttpResponse res = ps.getResponse();
if(path.getPathType() == PathType.PATH_DIRECTORY || path.getParentPath() == null)
fetchDirProcessor.processResponse(null, req, res, ctx);
else
fetchFileProcessor.processResponse(null, req, res, ctx);
}