@Override
	public void unregisterWelcomeFiles(final String[] welcomeFiles, final HttpContext httpContext) {
		NullArgumentException.validateNotNull(httpContext, "Http context");
		NullArgumentException.validateNotNull(welcomeFiles, "WelcomeFiles");
		final ContextModel contextModel = serviceModel
				.getContextModel(httpContext);
		//PAXWEB-123: try to use the setWelcomeFile method

		final WelcomeFileModel model = serviceModel.removeWelcomeFileModel(Arrays.toString(welcomeFiles), contextModel);
		if (model != null) {
			if (LOG.isDebugEnabled()) {
				LOG.debug("Unregister welcome files (welcomeFiles={})", Arrays.asList(welcomeFiles));
			}
			serverController.removeWelcomeFiles(model);
		}
		/*
		if (contextModel == null
				|| contextModel.getWelcomeFilesFilter() == null) {
			throw new IllegalArgumentException(
					"Welcome files are not registered for http context ["
							+ httpContext + "]");
		}
		try {
			unregisterFilter(contextModel.getWelcomeFilesFilter());
		} finally {
			contextModel.setWelcomeFilesFilter(null);
		}
		*/
	}
@ Override public void unregisterWelcomeFiles ( final String [ ] welcomeFiles , final HttpContext httpContext ) { NullArgumentException . validateNotNull ( httpContext , "Http context" ) ; NullArgumentException . validateNotNull ( welcomeFiles , "WelcomeFiles" ) ; final ContextModel contextModel = serviceModel . getContextModel ( httpContext ) ; final WelcomeFileModel model = serviceModel . removeWelcomeFileModel ( Arrays . toString ( welcomeFiles ) , contextModel ) ; if ( model != null ) { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Unregister welcome files (welcomeFiles={})" , Arrays . asList ( welcomeFiles ) ) ; } serverController . removeWelcomeFiles ( model ) ; } }
@see WebContainer#unregisterWelcomeFiles(String[], HttpContext)