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

com.appnexus.oas.mobilesdk.communicator.XHttpConnectionManager.class Maven / Gradle / Ivy

????2?>com/appnexus/oas/mobilesdk/communicator/XHttpConnectionManagerjava/lang/ObjectCOOKIE_SPECSLjava/lang/String;
ConstantValue	xSpeccontextLandroid/content/Context;(Landroid/content/Context;)VCode
()V	
LineNumberTableLocalVariableTablethis@Lcom/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager;sendRequestx(Lcom/appnexus/oas/mobilesdk/communicator/XTransaction;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;)V@com/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager$1
?(Lcom/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager;Lcom/appnexus/oas/mobilesdk/communicator/XTransaction;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;)V
 !starttransaction6Lcom/appnexus/oas/mobilesdk/communicator/XTransaction;adSlotConfiguration?Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;encodeRequestUrl9(Lcom/appnexus/oas/mobilesdk/communicator/XTransaction;)V	)+*4com/appnexus/oas/mobilesdk/communicator/XTransaction,url.?
021java/lang/String34contains(Ljava/lang/CharSequence;)Z6\?
089:split'(Ljava/lang/String;)[Ljava/lang/String;<&/=
>@?android/net/UriABencode8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;Djava/lang/StringBuilder
0FGHvalueOf&(Ljava/lang/Object;)Ljava/lang/String;
CJK(Ljava/lang/String;)V
CMNOappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;
CQRStoString()Ljava/lang/String;UW
Encoded URL: 
Y[Z-com/appnexus/oas/mobilesdk/utilities/XLogUtil\]d'(Ljava/lang/String;Ljava/lang/String;)V_Encoding exception: 
acbjava/lang/ExceptiondS
getMessage
Yfg]e	parsedUrl[Ljava/lang/String;queryParamsLjava/lang/Exception;
StackMapTablegetNewHttpClient1()Lorg/apache/http/impl/client/DefaultHttpClient;
prqjava/security/KeyStoresSgetDefaultType
puvwgetInstance,(Ljava/lang/String;)Ljava/security/KeyStore;
pyz{load(Ljava/io/InputStream;[C)V}9com/appnexus/oas/mobilesdk/communicator/XSSLSocketFactory
|?(Ljava/security/KeyStore;)V	???)org/apache/http/conn/ssl/SSLSocketFactory??ALLOW_ALL_HOSTNAME_VERIFIER/Lorg/apache/http/conn/ssl/X509HostnameVerifier;
????setHostnameVerifier2(Lorg/apache/http/conn/ssl/X509HostnameVerifier;)V?&org/apache/http/params/BasicHttpParams
?	???org/apache/http/HttpVersion??HTTP_1_1Lorg/apache/http/HttpVersion;
???)org/apache/http/params/HttpProtocolParams??
setVersionG(Lorg/apache/http/params/HttpParams;Lorg/apache/http/ProtocolVersion;)V?UTF-8
????setContentCharset8(Lorg/apache/http/params/HttpParams;Ljava/lang/String;)V?*org/apache/http/conn/scheme/SchemeRegistry
??"org/apache/http/conn/scheme/Scheme?http
???.org/apache/http/conn/scheme/PlainSocketFactory??getSocketFactory2()Lorg/apache/http/conn/scheme/PlainSocketFactory;
???A(Ljava/lang/String;Lorg/apache/http/conn/scheme/SocketFactory;I)V
????registerJ(Lorg/apache/http/conn/scheme/Scheme;)Lorg/apache/http/conn/scheme/Scheme;?https?;org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager
???R(Lorg/apache/http/params/HttpParams;Lorg/apache/http/conn/scheme/SchemeRegistry;)V?-org/apache/http/impl/client/DefaultHttpClient
???T(Lorg/apache/http/conn/ClientConnectionManager;Lorg/apache/http/params/HttpParams;)V
?
trustStoreLjava/security/KeyStore;sf+Lorg/apache/http/conn/ssl/SSLSocketFactory;params#Lorg/apache/http/params/HttpParams;registry,Lorg/apache/http/conn/scheme/SchemeRegistry;ccm.Lorg/apache/http/conn/ClientConnectionManager;getCookieStore?(Ljava/lang/String;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;)Lorg/apache/http/impl/client/BasicCookieStore;?,org/apache/http/impl/client/BasicCookieStore
??cookie_shared_pref
???android/content/Context??getSharedPreferences8(Ljava/lang/String;I)Landroid/content/SharedPreferences;???!android/content/SharedPreferences??getAll()Ljava/util/Map;???
java/util/Map??entrySet()Ljava/util/Set;???
java/util/Set??iterator()Ljava/util/Iterator;???java/util/Iterator??next()Ljava/lang/Object;?java/util/Map$Entry????getValue
Q?=?-org/apache/http/impl/cookie/BasicClientCookie
??]
???K	setDomain
?KsetPathnull
0equalsIgnoreCase(Ljava/lang/String;)Z	java/text/SimpleDateFormatEEE MMM dd HH:mm:ss Z yyyy	
java/util/LocaleUSLjava/util/Locale;
'(Ljava/lang/String;Ljava/util/Locale;)V
parse$(Ljava/lang/String;)Ljava/util/Date;
?
setExpiryDate(Ljava/util/Date;)V
 java/lang/Integer!"parseInt(Ljava/lang/String;)I
?$?%(I)V
')(=com/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration*+getCOPPA()Z-RMF
?/01	addCookie"(Lorg/apache/http/cookie/Cookie;)V?34+hasNext6BasicCookieStore8Sending Cookie: 
C:N;-(Ljava/lang/Object;)Ljava/lang/StringBuilder;
Y=>]v@java/text/ParseExceptionBjava/lang/NumberFormatExceptiondomaincs.Lorg/apache/http/impl/client/BasicCookieStore;cookie/Lorg/apache/http/impl/cookie/BasicClientCookie;prefs#Landroid/content/SharedPreferences;keysLjava/util/Map;entryLjava/util/Map$Entry;	formatterLjava/text/SimpleDateFormat;dateLjava/util/Date;LocalVariableTypeTable$Ljava/util/Map;*Ljava/util/Map$Entry;igetErrorMessage(I)Ljava/lang/String;Ybad request[Unauthorized]	Forbidden_	Not FoundaNot Acceptablec?There seems to be issue with connection. Please try again latercodeIerrorMsghandleResponse?(Lcom/appnexus/oas/mobilesdk/communicator/XTransaction;Ljava/io/InputStream;ILjava/lang/String;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;)V
ExceptionskMIME TYPE: 
Ymn]i	)pqeresponseCode	)steexpectedResponseType
vxwJcom/appnexus/oas/mobilesdk/adcontroller/responseparser/XJSONResponseParservyN()Lcom/appnexus/oas/mobilesdk/adcontroller/responseparser/XJSONResponseParser;	){|erequestType
v~+(Ljava/io/InputStream;I)Ljava/util/HashMap;	)???responseLjava/util/HashMap;?
???java/util/HashMap??get&(Ljava/lang/Object;)Ljava/lang/Object;?java/util/ArrayList
????size()I
????(I)Ljava/lang/Object;?,com/appnexus/oas/mobilesdk/model/AdJsonModel
???S	getAdType?text/xml?java/io/ByteArrayInputStream
???SgetText
0???getBytes(Ljava/lang/String;)[B
???([B)V
???Icom/appnexus/oas/mobilesdk/adcontroller/responseparser/XXMLResponseParserv?M()Lcom/appnexus/oas/mobilesdk/adcontroller/responseparser/XXMLResponseParser;
????readMediationDataW(Ljava/io/InputStream;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;)V?server_error_msg?No Ads Available
????put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;?
error_code
C
C?N?(I)Ljava/lang/StringBuilder;
???java/io/InputStream?close?6Mediation tag not present. Checking for vast response.
????readVAST(Ljava/io/InputStream;)V?image
?
?
???K	setAdType
???K
setFileUrl	)???	extraInfoLjava/lang/Object;
???S	getClkUrl
???K	setClkUrl
???S	getImpUrl
???K	setImpUrl
????add(Ljava/lang/Object;)Z
?
???getStringFromInputStream)(Ljava/io/InputStream;)Ljava/lang/String;
0??Strim
0???length
?VW?%org/xmlpull/v1/XmlPullParserExceptioninsLjava/io/InputStream;mimeTypeadModelsLjava/util/ArrayList;in'Lorg/xmlpull/v1/XmlPullParserException;adModel.Lcom/appnexus/oas/mobilesdk/model/AdJsonModel;adJsonModelELjava/util/ArrayList;getBitmapFromURLQ(Ljava/lang/String;Lcom/appnexus/oas/mobilesdk/listeners/IFileDownloadListener;)V
IMAGE URL java/lang/Thread	@com/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager$2
?(Lcom/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager;Ljava/lang/String;Lcom/appnexus/oas/mobilesdk/listeners/IFileDownloadListener;)V
(Ljava/lang/Runnable;)V
 srcfileDownloadListener??"#a,Mhi(>jjgkl
?fBamn2??o?tL+?x?|Y+?~M,??????Y??N-????-?????Y??:??Y???P????W??Y?,?????W??Y-??:??Y-???L??Y???xya:??
???%?,?2?;?O?b?n?y?z?H?r??c??%T??;>??n??zgkl?ya??N
O??Y??N*????:??:????:?????:??????7:		????Y	2	2??:???Y	2??:	??	2?	2??	??	2?	2??	??=	2?6	2??)?Y
??:

	2?:??:	??	2?	2??#?:
,?&? 	2?	2,?/?-?.?	-?.?2???5?CY7?I-?9?P?<-???????A~??????:?K?R?f?t???????????????????????	#&,?6MzOOCO$%GDEcFGt?FG;HI2JK:?LMK?9i	?NO
?
PQR2JS:?LTl??.	0'?????7
0'?????U?

0'??????U?>0'??????U??\A ?	0'????VW?pTM?f?<?C?J?Q?X?_XM?*ZM?#\M?^M?`M?bM?bM,?B@DGKNR U"Y#\%`&c(g)j+n. ppdemfl?@0ghia?	?T?CYj?I?L?P?l+?oȠ?+?r??+?u,+?z?}??+???????:?????{???r+?z??????????U??Y???????????:????+??????W+????CY?????P??W??:?:??:TøX??Y???????????:??????:??ɶ/?r??Y??:??Y??:ɶ?+?(??+??? +????:?׶??ݶ???W+??Y???+?????W+?r?H,??:?=???2+??Y???+?????W?*??:+?????W+????CY?????P??W??????.=>?#A*B9DHF^G{H?J?K?L?M?N?O?P?Q?R?S?V?WXY^_"`+a3b<cCdLeVf`ihjsk?l?m?o?p?q?r?v?w?x?{?|???"#????de???$%H????v???g?"c??+Z??L???(??
fRH??"c?l;	?{??S)?0'????;?Q???'-v,?CY?I+?L?P?l?Y?Y*+,?
?
????(?+? ,,,y1+??W+?$?(Y*?*?-+??W???
??!?0?112345?'*+?6,?9:?;Y?=:-?>B?D?????&?>''"#'$%'23JEKL	???mL?CY??M?MY?OY*?Q?SL?,-?LW,V?LW+?XYN???':+?.+?[?':?":+?+?[?:?+?+?[?:,?P?
47\=AD\
9IOSV\_cf\R??
???#?+?4?9?=?A?I?K?O?S?X?[?_?c?h?4m^?k_`
cabc1clL?MC0?
K\L\Bd??MCd\??MCJ\fg&*+?h??jk%*?l??no(*+,-?p??rs&*+?t??vwia,*+,?x?;z{%*??F|}~"(??	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy