final Engine engine = tomcatServer.createEngine();
engine.setDefaultHost("localhost");
final Host host = tomcatServer.createHost("localhost", expandedPath);
engine.addChild(host);
final Context context = tomcatServer.createContext(contextPath, expandedPath);
// Without a servlet the filter will not get run.
final Wrapper wrapper = context.createWrapper();