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

de.tsl2.nano.core.http.HttpClient.class Maven / Gradle / Ivy

Go to download

TSL2 Framework Html5 Extensions (WebServer, Html5Presentation, RuleCover, BeanConfigurator, LogicTable-Sheet, Expression-Descriptors for Actions, Rules, URLs, Queries)

There is a newer version: 2.5.2
Show newest version
????=?
java/lang/Object()V!de/tsl2/nano/core/http/HttpClient


 de/tsl2/nano/core/log/LogFactorygetLog3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;	LOG Lorg/apache/commons/logging/Log;
createHttpConnection7(Ljava/lang/String;)Lde/tsl2/nano/core/http/HttpClient;java/net/URL
(Ljava/lang/String;)V
openConnection()Ljava/net/URLConnection;!java/net/HttpURLConnection	#$%httpLjava/net/HttpURLConnection;'java/lang/Exception
)*+,-"de/tsl2/nano/core/ManagedExceptionforward,(Ljava/lang/Throwable;)Ljava/lang/Throwable;
/01get)(Ljava/lang/String;)Ljava/io/InputStream;3java/lang/String
567read:(Ljava/io/InputStream;Ljava/lang/Class;)Ljava/lang/Object;
 9:;setRequestProperty'(Ljava/lang/String;Ljava/lang/String;)V
 =>?setReadTimeout(I)VAGET
CDEsend=(Ljava/lang/String;Ljava/lang/String;[B)Ljava/io/InputStream;
 GHsetRequestMethodJContent-TypeLPOST
2NOPequals(Ljava/lang/Object;)ZRPUT
 TUVsetDoOutput(Z)V
 XY?setFixedLengthStreamingMode
 [\]getOutputStream()Ljava/io/OutputStream;
_`abcjava/io/OutputStreamwrite([B)V
efrun
hijresponse()Ljava/io/InputStream;
 lmjgetInputStreamojava/io/IOException
qrstude/tsl2/nano/core/util/ByteUtiltoByteArray(Ljava/io/InputStream;)[B
w6u
qyz{toByteStream'([BLjava/lang/Class;)Ljava/lang/Object;
 }~getDoOutput()Z
_??flush
 ???getURL()Ljava/net/URL;???makeConcatWithConstants"(Ljava/net/URL;)Ljava/lang/String;?????org/apache/commons/logging/Logdebug(Ljava/lang/Object;)V
 ??connect
 ???getResponseCode()I???(I)Ljava/lang/String;?java/lang/IllegalStateException
 ??jgetErrorStream?UTF-8
2??([BLjava/lang/String;)V???&(Ljava/lang/String;)Ljava/lang/String;????'(ILjava/lang/String;)Ljava/lang/String;
?
 ???toString()Ljava/lang/String;?java/lang/RunnableresultLjava/lang/Object;UTF8Ljava/lang/String;
ConstantValueCodeLineNumberTableLocalVariableTablethis#Lde/tsl2/nano/core/http/HttpClient;wsUrlurlLjava/net/URL;eLjava/lang/Exception;
StackMapTable	getStringI(Ljava/lang/String;Ljava/lang/String;)Lde/tsl2/nano/core/http/HttpClient;keyvaluetimeoutIcontenttypeosLjava/io/OutputStream;methoddata[BLjava/io/IOException;inLjava/io/InputStream;typeLjava/lang/Class;LocalVariableTypeTableLjava/lang/Class;	SignatureF(Ljava/io/InputStream;Ljava/lang/Class;)TT;code
SourceFileHttpClient.javaBootstrapMethods?
?????$java/lang/invoke/StringConcatFactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;?sending request ?--> http-code:?: ?Http InnerClasses?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup!?$%??????
?T*?*?	?*+?W??-!
./????????Y+?M*,?? ?"?	M,?(W*?&?7	8;9:<?*	?????????W&???9**?.2?4?2??@???0j?0*?.??C???:??M*?"+,?8*??
G	H? ??????>??A	*?"?F??W??_??_??_??_???	#H&ij?d*?"?k?L+?(W?n?yz	{|?	?????Hn6u?9+?p????????67?Z
*+?v,?x???? 
??
??
???
????f?;?*?"?|?
*?"?Z??*?*?"??????*?"??*?"??<*?????,?8??Y*?"????2Y*?"???p?????????????	L+?(W???n?6
?
??)?0?8?G?N?]?????????? 8K?????????2?cNN?NN2?Bn???2*?"????????????????????
???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy