472781, 472782 Improve GzipHandler Include/Exclude handling

Fixed javadoc
This commit is contained in:
Greg Wilkins 2015-07-17 11:54:18 +10:00
parent a4a12e0e19
commit 9ee4b64e89
2 changed files with 24 additions and 1 deletions

View File

@ -20,7 +20,6 @@ package org.eclipse.jetty.server.handler.gzip;
import java.io.File;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import java.util.regex.Pattern;

View File

@ -1,8 +1,32 @@
//
// ========================================================================
// Copyright (c) 1995-2015 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// and Apache License v2.0 which accompanies this distribution.
//
// The Eclipse Public License is available at
// http://www.eclipse.org/legal/epl-v10.html
//
// The Apache License v2.0 is available at
// http://www.opensource.org/licenses/apache2.0.php
//
// You may elect to redistribute this code under either of these licenses.
// ========================================================================
//
package org.eclipse.jetty.util;
import java.util.HashSet;
import java.util.Set;
/** Utility class to maintain a set of inclusions and exclusions.
* <p>The type of the underlying {@link Set} used may be passed into the
* constructor, so special sets like Servlet PathMap may be used.
* @param <E>
*/
public class IncludeExclude<E>
{
private final Set<E> _includes;