com.groupbyinc.flux.common.apache.http.conn.util.PublicSuffixMatcher.class Maven / Gradle / Ivy
???? 2 ? Dcom/groupbyinc/flux/common/apache/http/conn/util/PublicSuffixMatcher java/lang/Object PublicSuffixMatcher.java >Lcom/groupbyinc/flux/common/apache/http/annotation/ThreadSafe; rules Ljava/util/Map; `Ljava/util/Map;
exceptions /(Ljava/util/Collection;Ljava/util/Collection;)V ;com/groupbyinc/flux/common/apache/http/conn/util/DomainType
UNKNOWN =Lcom/groupbyinc/flux/common/apache/http/conn/util/DomainType; l(Lcom/groupbyinc/flux/common/apache/http/conn/util/DomainType;Ljava/util/Collection;Ljava/util/Collection;)V
this FLcom/groupbyinc/flux/common/apache/http/conn/util/PublicSuffixMatcher; *Ljava/util/Collection; Ljava/util/Collection; ()V
Domain type 0com/groupbyinc/flux/common/apache/http/util/Args notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ! "
# Domain suffix rules % &java/util/concurrent/ConcurrentHashMap ' java/util/Collection ) size ()I + , * - (I)V /
( 0 2 iterator ()Ljava/util/Iterator; 4 5 * 6 java/util/Iterator 8 hasNext ()Z : ; 9 < next ()Ljava/lang/Object; > ? 9 @ java/lang/String B
java/util/Map D put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; F G E H
(
K rule Ljava/lang/String; i$ Ljava/util/Iterator; exception
domainType (Ljava/util/Collection;)V Domain suffix lists T Acom/groupbyinc/flux/common/apache/http/conn/util/PublicSuffixList V getType ?()Lcom/groupbyinc/flux/common/apache/http/conn/util/DomainType; X Y
W Z getRules ()Ljava/util/List; \ ]
W ^ java/util/List ` a 6
getExceptions c ]
W d $Ljava/util/List; Ljava/util/List; list CLcom/groupbyinc/flux/common/apache/http/conn/util/PublicSuffixList; lists [Ljava/util/Collection; hasEntry a(Ljava/util/Map;Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/http/conn/util/DomainType;)Z get &(Ljava/lang/Object;)Ljava/lang/Object; n o E p equals (Ljava/lang/Object;)Z r s
t map expectedType hasRule R(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/http/conn/util/DomainType;)Z l m
z hasException
getDomainRoot &(Ljava/lang/String;)Ljava/lang/String; c(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/http/conn/util/DomainType;)Ljava/lang/String; }
? domain . ?
startsWith (Ljava/lang/String;)Z ? ?
C ? java/util/Locale ? ROOT Ljava/util/Locale; ? ? ? ? toLowerCase &(Ljava/util/Locale;)Ljava/lang/String; ? ?
C ? java/net/IDN ? toUnicode ? ~
? ? | y
? x y
? indexOf (I)I ? ?
C ? substring (I)Ljava/lang/String; ? ?
C ? java/lang/StringBuilder ?
? *. ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? toString ()Ljava/lang/String; ? ?
? ? nextdot I nextSegment
domainName segment matches ? y
?
domainRoot Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable W(Ljava/util/Collection;Ljava/util/Collection;)V
StackMapTable ?(Lcom/groupbyinc/flux/common/apache/http/conn/util/DomainType;Ljava/util/Collection;Ljava/util/Collection;)V ^(Ljava/util/Collection;)V ?(Ljava/util/Map;Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/http/conn/util/DomainType;)Z
SourceFile RuntimeInvisibleAnnotations 1 ?
?
? h
*? +,? ? ?
?
?
8 9 ? ? ? u ?*? +? $W,&? $W*? (Y,? . ? 1? 3,? 7 :? = ? ? A ? C:*? 3+? I W???*? (Y? J? L-? 1-? 7 :? = ? ? A ? C:*? L+? I W??ݱ ? R A
M N + &