src/main/java/org/eiichiro/bootleg/BootlegFilter.java
public void init(FilterConfig filterConfig) throws ServletException {
		logger.info("Starting Bootleg on the Servlet ["
				+ filterConfig.getServletContext().getMajorVersion() + "."
				+ filterConfig.getServletContext().getMinorVersion() + "] environment");
		Configuration configuration = configuration(filterConfig);
		
		if (configuration == null) {
			configuration = new DefaultConfiguration();
			configuration.init(filterConfig.getServletContext());
			logger.info("Default configuration [" + DefaultConfiguration.class + "] loaded");
		}
		
		Pipeline<WebContext> pipeline = configuration.pipeline();
		
		if (pipeline == null) {
			throw new ServletException("Pipeline must not be [" + pipeline
					+ "]: Configuration [" + configuration + "]");
		} else {
			logger.debug("HTTP request processing pipeline " + pipeline + " constructed");
		}
		
		this.configuration = configuration;
		this.pipeline = pipeline;
	}
public void init(FilterConfig filterConfig) throws ServletException {
		logger.info("Starting Bootleg on the Servlet ["
				+ filterConfig.getServletContext().getMajorVersion() + "."
				+ filterConfig.getServletContext().getMinorVersion() + "] environment");
		Configuration configuration = configuration(filterConfig);
		
		if (configuration == null) {
			configuration = new DefaultConfiguration();
			configuration.init(filterConfig.getServletContext());
			logger.info("Default configuration [" + DefaultConfiguration.class + "] loaded");
		}
		
		Pipeline<WebContext> pipeline = configuration.pipeline();
		
		if (pipeline == null) {
			throw new ServletException("Pipeline must not be [" + pipeline
					+ "]: Configuration [" + configuration + "]");
		} else {
			logger.debug("HTTP request processing pipeline " + pipeline + " constructed");
		}
		
		this.configuration = configuration;
		this.pipeline = pipeline;
	}
public void init ( FilterConfig filterConfig ) throws ServletException { logger . info ( "Starting Bootleg on the Servlet [" + filterConfig . getServletContext ( ) . getMajorVersion ( ) + "." + filterConfig . getServletContext ( ) . getMinorVersion ( ) + "] environment" ) ; Configuration configuration = configuration ( filterConfig ) ; if ( configuration == null ) { configuration = new DefaultConfiguration ( ) ; configuration . init ( filterConfig . getServletContext ( ) ) ; logger . info ( "Default configuration [" + DefaultConfiguration . class + "] loaded" ) ; } Pipeline < WebContext > pipeline = configuration . pipeline ( ) ; if ( pipeline == null ) { throw new ServletException ( "Pipeline must not be [" + pipeline + "]: Configuration [" + configuration + "]" ) ; } else { logger . debug ( "HTTP request processing pipeline " + pipeline + " constructed" ) ; } this . configuration = configuration ; this . pipeline = pipeline ; }
Initializes this filter with the specified configuration.
Constructs the {@code Configuration} and sets up the HTTP request processing
pipeline. If the custom configuration class has not been specified,
{@link DefaultConfiguration} is used by default.

@param filterConfig Servlet filter configuration.
Initializes this filter with the specified configuration . Constructs the { @code Configuration } and sets up the HTTP request processing pipeline . If the custom configuration class has not been specified { @link DefaultConfiguration } is used by default .