All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.tsl2.nano.core.util.NetUtil.class Maven / Gradle / Ivy

Go to download

TSL2 Framework Terminal (Console Application Framework named SIShell, providing Actions, Options, Commands, Inputs, lots of Selectors, PlatformManagement)

There is a newer version: 2.5.2
Show newest version
????4?



t

t

 
!
"
#$
%
&
'
(
)*+

,
-.
/01	t2345
t6
N7
89
?:4;<
=>4?@A4B
tC
=D
EF
tGH
1I
JKLM
NO
tP
I
Q
RS
?T	?UV
tW
?X
?Y
NZ[
\]
\^
t_
t`
?ab
?cde
?fg
?hij
NI
?k
?lm
?n
?opq
Wr
tst
Nu
8v
ZI
Zw
txy
z{
Z|
Z}
Z~?
N/
8?
?
Z????
??
??
kI
R???
8????
yI
y????
??
8?
????
??	t?
z?	t?
t?	t??
??
??
??
??
??
??	z?
E???
t??
??
??
t?????
t???????
???
?I
??????????
??
?????
???
??
????
t??
??
???	???	??	??
?c
???????
z??
?
??	??
t?
????
?c?
?
??
t?
t?
??
N?
??
??
?^
??
???
t??
??
N?????
???
??
??
?
?
?
?^
t
t??

w
?	

8



?

?
???
{
 !"
z#$???????%URL_STANDARDFILENAMELjava/lang/String;
ConstantValueLOG Lorg/apache/commons/logging/Log;isonlineZdeltaOnlineCheckJlastOnlineCheck()VCodeLineNumberTableLocalVariableTablethis Lde/tsl2/nano/core/util/NetUtil;getInetAddress()Ljava/net/InetAddress;eLjava/net/UnknownHostException;
StackMapTablegetLocalhost()Ljava/lang/String;getMyIPgetMyAddressinetAddressLjava/net/InetAddress;niLjava/net/NetworkInterface;inetAdressesLjava/util/Enumeration;networkInterfacesLjava/lang/Exception;LocalVariableTypeTable/Ljava/util/Enumeration;4Ljava/util/Enumeration;&$*
getNetInfostrLjava/lang/StringBuilder;Ljava/net/SocketException;+1get&(Ljava/lang/String;)Ljava/lang/String;responseinfostrUrl?browse*(Ljava/lang/String;Ljava/io/PrintStream;)VoutLjava/io/PrintStream;getRestfulJSONA(Ljava/lang/String;[Ljava/lang/Object;)Ljavax/json/JsonStructure;urlargs[Ljava/lang/Object;jsonStrgetRest5(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;Ljava/util/Map;9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;getRest_;(Ljava/lang/String;[C[Ljava/lang/Object;)Ljava/lang/String;iIbufcC[C
separators^QgetURLStream)(Ljava/lang/String;)Ljava/io/InputStream;K(Ljava/lang/String;Ljava/net/Proxy;Ljava/lang/String;)Ljava/io/InputStream;conLjava/net/URLConnection;proxyLjava/net/Proxy;accept"(Ljava/lang/String;)Ljava/net/URL;surlisURI(Ljava/lang/String;)ZisURL(Ljava/lang/String;Z)ZuriLjava/net/URI;?4(Ljava/lang/String;Ljava/lang/String;)Ljava/net/URL; Ljava/net/MalformedURLException;parentpdownload4(Ljava/lang/String;Ljava/lang/String;)Ljava/io/File;destDir6(Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/io/File;flat	overwrite2(Ljava/net/URL;Ljava/lang/String;ZZ)Ljava/io/File;fileNamefileLjava/io/File;Ljava/net/URL;itcheck$(Ljava/lang/String;Ljava/io/File;J)V
estimatedSizegetFileName"(Ljava/net/URL;)Ljava/lang/String;fwcopyK(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Vdirincludeexcludeupload8(Ljava/net/Socket;Ljava/lang/String;Ljava/lang/String;)VLjava/io/IOException;socketLjava/net/Socket;namestreamLjava/io/InputStream;?'?(isOnline()ZgetFreePort()IsLjava/net/ServerSocket;portgetNextFreePort(I)IstartingPortLjava/lang/Integer;)$(Ljava/lang/String;)Ljava/net/Proxy;testURI6(Ljava/lang/String;Ljava/lang/String;)Ljava/net/Proxy;newProxyZ(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/net/Proxy;[Ljava/lang/String;userpasswdhost[(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Ljava/net/Proxy;addrLjava/net/InetSocketAddress;Ljava/net/SocketAddress;type*TypeInnerClassesLjava/net/Proxy$Type;protProxiesLjava/util/List;currentProxyLjava/net/URISyntaxException;newProxyHostprotocol"Ljava/util/List;+?,?-*?	getSystemk	setSystem@(Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringBuilder;)VvloggetNetworkHosts()Ljava/util/List;listLjava/util/LinkedList;.Ljava/util/LinkedList;?	Signature*()Ljava/util/List;isOpen(Ljava/net/InetAddress;I)Zip(I)Zconnect&(Ljava/lang/String;I)Ljava/net/Socket;sendK(Ljava/lang/String;ILjava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
resultTypeLjava/lang/Class;Ljava/lang/Class;.%W(Ljava/lang/String;ILjava/lang/Class;[Ljava/lang/Object;)TT;I(Ljava/net/Socket;Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;U(Ljava/net/Socket;Ljava/lang/Class;[Ljava/lang/Object;)TT;httpResponse\(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;wsUrlmethodcontenttypedatahttp_(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/io/InputStream;osLjava/io/OutputStream;connLjava/net/HttpURLConnection;?scan)(Ljava/net/InetAddress;II)Ljava/util/Map;minPortmaxPortZ(Ljava/net/InetAddress;II)Ljava/util/Map;scans&(II[Ljava/lang/String;)Ljava/util/Map;ipsnips[Ljava/net/InetAddress;W(II[Ljava/lang/String;)Ljava/util/Map;*(II[Ljava/net/InetAddress;)Ljava/util/Map;papropsLjava/util/Properties;timeoutworkerLde/tsl2/nano/core/util/Worker;resultnsLjava/util/Set;PLde/tsl2/nano/core/util/Worker;@Ljava/util/Map;-Ljava/util/Set;/012[(II[Ljava/net/InetAddress;)Ljava/util/Map;
SourceFileNetUtil.java3%java/net/UnknownHostException456$%7+-%89&:?;<java/net/NetworkInterface=?>???@9java/net/InetAddressA?B?C?D?E%java/lang/Exceptionjava/lang/StringBuilderF+GH
I+  java/net/SocketExceptionstarting request: JFKOjLMNOPQRS?
response: TIUVK#javax/net/ssl/SSLHandshakeException?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Java failed to decrypt 256 bits of encryption. Solutions:
  Java 6: Add below jars into {JAVA_HOME}/jre/lib/ext. 1. bcprov-ext-jdk15on-154.jar 2. bcprov-jdk15on-154.jar
    Add property into {JAVA_HOME}/jre/lib/security/java.security security.provider.1=org.bouncycastle.jce.provider.BouncyCastleProvider
  Java 7:download jar from below link and add to {JAVA_HOME}/jre/lib/security http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
  Java 8:download jar from below link and add to {JAVA_HOME}/jre/lib/security http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
WKCDXDYZ[SVjava/io/StringReader[\]^_`abcdSXGefghijkhbdlmnopqAcceptrstuMOslov?/wx/null.yz//{mjava/net/URLhttp:|+}+http://~m?java/net/MalformedURLExceptionjava/lang/RuntimeException?w}java/io/File?+?D?+??user.dir??D??????downloading  from: ??????java/lang/IllegalStateExceptiondownload of < failed! not all bytes were downloaded. expected length of 'G?': G? bytes but was: vxde/tsl2/nano/core/util/NetUtil
index.html?D==> starting downloading site:  to directory: de/tsl2/nano/core/util/WCopyC?<== finished downloading site: 
uploading  to socket ????'?java/io/IOExceptiontsl2nano.offline?m??,+www.google.com??java/net/ServerSocket???)Q???KL?[g?\:??Q?g?\:\/\/?to see the organisations automatic proxy definitions, open the 'Proxy-Auto-Config-(PAC)-Standard' file, mostly http://wpad/wpad.dat or http://wpad.com/wpad.dat (-->'Web Proxy Autodiscovery Protocol') in your browser!current system properties: {	proxyHost?D	proxyPort	proxyUser
proxyPassword}detecting current proxies on :???java/net/URI??+??,???<java/net/Proxy	 - PROXY type: ????java/net/InetSocketAddress (No Proxy)
hostName: ?+
	 http.proxyPort = ??G?
setting new system properties:java.net.useSystemProxiestrue??proxySetQ????sock?????java/net/URISyntaxException
	=
	 key=, value=??java/util/LinkedList?x?????1C?java/net/Socket?????????????????java/lang/String??UTF-8?p?java/net/HttpURLConnectionPOSTPUTDELETE??Content-Type?t????[??????.???i?/networkports.properties??portscanjava/lang/Threadjava/lang/Boolean???0??java/lang/Runnablede/tsl2/nano/core/util/PortScan???????8========== network-port-check finished ================
open ports:
??2	: /???netutil.delta.onlinecheck5000??java/lang/Longjava/lang/Objectjava/util/Enumerationjava/io/InputStreamjava/lang/Throwablejava/lang/Integerjava/net/Proxy$Typejava/util/Listjava/util/Iteratorjava/net/SocketAddressjava/lang/Classjava/util/Propertiesde/tsl2/nano/core/util/Worker
java/util/Map
java/util/SetgetLocalHost"de/tsl2/nano/core/ManagedExceptionforward,(Ljava/lang/Throwable;)Ljava/lang/Throwable;getHostAddressgetNetworkInterfaces()Ljava/util/Enumeration;hasMoreElementsnextElement()Ljava/lang/Object;isUp	isVirtual
isLoopbackgetInetAddressesisAnyLocalAddressisLinkLocalAddressisMulticastAddressisReachablegetLoopbackAddressgetDisplayNameappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;toStringorg/apache/commons/logging/Log(Ljava/lang/Object;)V
openStream()Ljava/io/InputStream;de/tsl2/nano/core/util/FileUtilgetFileData+(Ljava/io/InputStream;Ljava/lang/String;)[CvalueOf([C)Ljava/lang/String;isDebugEnabled!de/tsl2/nano/core/util/StringUtil'(Ljava/lang/Object;I)Ljava/lang/String;debugerror
removeXMLTagsjava/io/PrintStreamprintln(Ljava/lang/String;)Vjavax/json/JsoncreateReader)(Ljava/io/Reader;)Ljavax/json/JsonReader;javax/json/JsonReaderread()Ljavax/json/JsonStructure;de/tsl2/nano/core/util/MapUtilasArray$(Ljava/util/Map;)[Ljava/lang/Object;(C)Ljava/lang/StringBuilder;de/tsl2/nano/core/util/UtilasString&(Ljava/lang/Object;)Ljava/lang/String;replace(CC)Ljava/lang/String;NO_PROXYcreate"(Ljava/lang/String;)Ljava/net/URI;toURL()Ljava/net/URL;openConnection*(Ljava/net/Proxy;)Ljava/net/URLConnection;java/net/URLConnectionaddRequestProperty'(Ljava/lang/String;Ljava/lang/String;)VgetInputStreamisEmptyequals(Ljava/lang/Object;)Zcontains(Ljava/lang/CharSequence;)Z
startsWith	getSchemegetHostendsWith	substring(I)Ljava/lang/String;(Ljava/lang/Throwable;)VgetFilegetValidFileNamegetNamejava/lang/SystemgetPropertyexists
getParentFile()Ljava/io/File;mkdirswrite*(Ljava/io/InputStream;Ljava/lang/String;)JtoRuntimeEx5(Ljava/lang/Throwable;ZZ)Ljava/lang/RuntimeException;length()J-(Ljava/lang/Object;)Ljava/lang/StringBuilder;(J)Ljava/lang/StringBuilder;getValidPathNameL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)VgetOutputStream()Ljava/io/OutputStream;A(Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/lang/String;Z)Jclose
getBooleancurrentTimeMillis	getByName*(Ljava/lang/String;)Ljava/net/InetAddress;(I)VgetLocalPort(I)Ljava/lang/Integer;intValueprintsplit'(Ljava/lang/String;)[Ljava/lang/String;'(Ljava/lang/String;)Ljava/lang/Integer;java/net/ProxySelector
getDefault()Ljava/net/ProxySelector;select (Ljava/net/URI;)Ljava/util/List;iterator()Ljava/util/Iterator;hasNextnext()Ljava/net/Proxy$Type;address()Ljava/net/SocketAddress;getHostNamegetPort(I)Ljava/lang/StringBuilder;(Ljava/lang/String;I)VHTTPSOCKSDIRECT0(Ljava/net/Proxy$Type;Ljava/net/SocketAddress;)VsetProperty8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;addTRUELjava/lang/Boolean;(Ljava/net/InetAddress;I)V&(Ljava/lang/Object;)Ljava/lang/Object;(Ljava/net/SocketAddress;I)VasMap$([Ljava/lang/Object;)Ljava/util/Map;!de/tsl2/nano/core/util/ObjectUtil	serialize(Ljava/lang/Object;)[Bjava/io/OutputStream([B)Vde/tsl2/nano/core/util/ByteUtiltoByteArray(Ljava/io/InputStream;)[B([BLjava/lang/String;)V()Ljava/net/URLConnection;setDoOutput(Z)VsetRequestPropertygetBytes()[BflushsetRequestMethodtoArray(([Ljava/lang/Object;)[Ljava/lang/Object;
getPackage()Ljava/lang/Package;java/lang/PackageD(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;loadPropertiesA(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/Properties;%de/tsl2/nano/core/util/ConcurrentUtilcreateParallelWorkerV(Ljava/lang/String;ILjava/lang/Class;Ljava/lang/Class;)Lde/tsl2/nano/core/util/Worker;	getResult()Ljava/util/Map;/(Ljava/net/InetSocketAddress;ILjava/util/Map;)Vrun([Ljava/lang/Runnable;)VwaitForJobs(J)Ljava/util/Map;sizekeySet()Ljava/util/Set; de/tsl2/nano/core/log/LogFactorygetLog3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;!tu

0/*?? =!"#	$%V??K*?W? OPQ
R!&'(D)	*+??? ]	,+??? a	-%x}?K*?	?g*?
?L+????+?
???+?????+?M,?	?4,?
?N-????-????-?????-ж?-???ɧ????K*?W?juktu Rkl
mn,o/q4r=sGtOuVw\x_{i|k~nq?u?v?{?!4G$./W014:23q43v&564:27q48(+?9?*:?9?*;???<	=+^??Y?K?L+?	?m+?
?M,?N-?	?R*?Y?,?????W-?	?.*?Y??-?
??????W??ϧ??*??K*?W??? :?????$?-?H?Q?|????????!4]01$X23|>?x43?&@6$X27x48("?A9?;:9?3?B	CDr??Y? ?*???!*?"?#?$?%L??&?#??Y?'?+d?(???)+?L+?*?+M?,?,+?W?VW .??*?5?U?W?X?_?b?k?p?!**-Eb	FX&5rG(?UH?H??+?@N-A,?B-?C?N-?W? !4ef&5 O gh i(X<Oj0*?D? "!klm0*?E? &!>nm0*?E? *!>lo?D*?F?*G?H?*I?H??*?>M?,??W*J?K?*G?K???M?@A "./2 3$4)5A6B8!* !pqB&5D>Dn(?
r@?H<OsK?*?>M*L?M??NY?Y?O?*???P?,?Q?d+?
,?R?	SL?!+?>?Q??Y?S?+??L+G?T?*G?M?	*?UK?NY?Y?+?*???P?,???N?WY-?X?(?V)??V???V :DFG)I0J;KAMKN_QqRwT?V?X?Y!*?	&t?k?u?pq(?)rDv	wx?*?"+?Y? a!Gy	wzS*?"+?Y? h!*Gy{|	w}????ZY*?[?\?]?^?*?_:+?`?a?+L?Y?+G?T?+??Y?+?G?????:?ZY?]:??b?A?c?dW??Y?e??^?f?*?g???!*?#?hX?:?i??? .wx,y`zk{w|?}?~??????!H?~kM??&5?O??y?{?|(F	CH?
H@HTA??HHAH?#?=??H<	???C+?j ???????????H???????????????K?????;KN .??
???5?;?K?N?O?S?!O&5(
&@@E<	?????Y??K*??<*???K*?W?? ?	??????! 	???Z&?(T?	???3L??Y???M,????L,??+???M??J??????+???? &	?????? ?(?.?!*?? &?3?Z1??(??\?	g?2*??? !?	g?<*+??? !??	g??6:6+?$+???:2:??2????6*,-??? "
+!Hg?6?6?6?6?3?0?Z(	?+H	g?o??Y?*???2?J??:???!??Y????Y?????????Y?????????Y?????????Y??????????!???!??Y???*?????!?Y?:????Y*????::????:		???	????:
?Y???
???n??W
????:???W?1?Y??????????????W
:?W??}+?????W?????Y?????????Y?????+???Y?????????-??Y?????-????Y?????????!??Y+??:	??M?	?????M?	?????:

?¶Ù	?;???Y
	?İ??!?:?W???????? ?(,-&/}0?/?1?3?5?6?7?8?9:,;6=;>F@pBtD|EH?I?J?K?L?M?N?O	PQ)R3T>UBVcX?[?\?]?^?_!?6F??mgh
>B??	c??
??[????????h?&???????Z????{?6????(h
??
HHHHHA????L??-?
???$?B???J???HHHHH??Dc,*?a?%?Y?ƶ*?Ƕ*?a?????6E??(Q? H?a????H?a???H?a?????????!*?,?ٸڶ?*?ܸݸްN-?W?? ?????!*&?!??!??!PQ6!??(Y???	?????Y*+,-?????:?W? ????!4&5????(T<	??8h?NY*?P:????:?+?H??+?H??+?H?&???,????:-?????+????:?W?]^ 6
?
??/?5?=?D?M?R?X?^?`?f?!RD??
TO?J??`&5h?h?h?h?("?/??"?HHHH<	??L?Y*S?? ?! ?/?Z?Z??????3,??N6,??-,2??S?:?W????-?? "???? &?,!> &'	#YZ3?Z3?Z3??-??(?	?T)???????
;,?????????M?Y?t????JG????????N?6?????:??:6,??<6?-??Y??Y??Y,2???S????ӄ???h??:?Y?h?:?W?W?:?:		???N	????:
??
???ҙ-?Y?
?n	?-
?????
???W?????!? f7;@GLS]f???? ?!?"?#?$?%&+(.)8*!z`0?ZV@YZ?<??
;?Z;?Z;??;@?ZL?S?U??[??k6 L?S?	?k
(6?@?
?	?/??BA??Q??J"t??
??????????? @CDCE?
???@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy