com.huawei.opengauss.jdbc.util.HostSpec.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opengaussjdbc Show documentation
Show all versions of opengaussjdbc Show documentation
HuaweiCloud JDBC for GaussDB
The newest version!
???? 4 ? 'com/huawei/opengauss/jdbc/util/HostSpec java/lang/Object java/lang/Comparable
HostSpec.java DEFAULT_NON_PROXY_HOSTS Ljava/lang/String; host port I (Ljava/lang/String;I)V ()V
this )Lcom/huawei/opengauss/jdbc/util/HostSpec; getHost ()Ljava/lang/String; getPort ()I toString java/lang/StringBuilder
append -(Ljava/lang/String;)Ljava/lang/StringBuilder; !
" : $ (I)Ljava/lang/StringBuilder; &
'
) equals (Ljava/lang/Object;)Z java/lang/String - + ,
. / obj Ljava/lang/Object; compareTo (Ljava/lang/Object;)I
)
) (Ljava/lang/String;)I 3 7
. 8 o hashCode ;
. <
shouldResolve ()Ljava/lang/Boolean; socksProxyHost @ java/lang/System B getProperty &(Ljava/lang/String;)Ljava/lang/String; D E
C F trim H
. I isEmpty ()Z K L
. M java/lang/Boolean O valueOf (Z)Ljava/lang/Boolean; Q R
P S matchesNonProxyHosts U ?
V
socksProxy socksNonProxyHosts Y [ 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; D ]
C ^ toPattern -(Ljava/lang/String;)Ljava/util/regex/Pattern; ` a
b java/util/regex/Pattern d matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; f g
e h java/util/regex/Matcher j matches l L
k m
nonProxyHosts pattern Ljava/util/regex/Pattern; Ljava/util/regex/Matcher; s \| u split '(Ljava/lang/String;)[Ljava/lang/String; w x
. y [Ljava/lang/String; { toLowerCase }
. ~ disjunctToRegex ? E
? | ? length ?
? compile ? a
e ? regex disjunct mask joiner Ljava/lang/StringBuilder; separator * ?
startsWith (Ljava/lang/String;)Z ? ?
. ? .* ? substring (I)Ljava/lang/String; ? ?
. ? quote ? E
e ? endsWith ? ?
. ?
. ? (II)Ljava/lang/String; ? ?
. ? #localhost|127.*|[::1]|0.0.0.0|[::0] ? Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile !
? Y *? *+? *? ? ?
? ? / *? ? ? ? ? / *? ? ? ? ? H ? Y? *? ? #%? #*? ? (? *? ? ? $ + , ? s ,+? ? &*? +? ? ? *? +? ? ? 0? ? ? ? , , 1 2 ? ) * + ) ? *@ 3 4 ? @ *? 5+? 6? 9? ? : 2 ? / ; ? 7
*? *? ? =?? ?
? 4 > ? ? m A? GL+?
+? J? N? ? T?*? W? ? X ? 8 9 : <