fixed merge

This commit is contained in:
Greg Wilkins 2016-09-01 16:41:49 +10:00
parent c2621bcad6
commit a799b21eb3
4 changed files with 5 additions and 1 deletions

View File

@ -115,7 +115,7 @@ public class InetAccessHandler extends HandlerWrapper
public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
{
// Get the real remote IP (not the one set by the forwarded headers (which may be forged))
HttpChannel<?> channel = baseRequest.getHttpChannel();
HttpChannel channel = baseRequest.getHttpChannel();
if (channel!=null)
{
EndPoint endp=channel.getEndPoint();

View File

@ -19,6 +19,7 @@
package org.eclipse.jetty.util;
import java.util.Set;
import java.util.function.Predicate;
/** Utility class to maintain a set of inclusions and exclusions.

View File

@ -19,7 +19,9 @@
package org.eclipse.jetty.util;
import java.util.HashSet;
import java.util.Objects;
import java.util.Set;
import java.util.function.Predicate;
/** Utility class to maintain a set of inclusions and exclusions.

View File

@ -24,6 +24,7 @@ import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.function.Predicate;
/**
* A set of InetAddress patterns.