com.appnexus.oas.mobilesdk.communicator.XHttpConnectionManager$1.class Maven / Gradle / Ivy
???? 2 @com/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager$1 java/lang/Thread this$0 @Lcom/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager; val$transaction 6Lcom/appnexus/oas/mobilesdk/communicator/XTransaction; val$adSlotConfiguration ?Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration; ?(Lcom/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager;Lcom/appnexus/oas/mobilesdk/communicator/XTransaction;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;)V Code
()V LineNumberTable LocalVariableTable this BLcom/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager$1; run java/util/HashMap
" ! 4com/appnexus/oas/mobilesdk/communicator/XTransaction # $ response Ljava/util/HashMap; & http.keepAlive ( false
* , + java/lang/System - . setProperty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; 0 1 2 method Ljava/lang/String; 4 GET
6 8 7 java/lang/String 9 : equals (Ljava/lang/Object;)Z < = 2 url
? A @ 7com/appnexus/oas/mobilesdk/communicator/XRequestBuilder B C getInstance ;()Lcom/appnexus/oas/mobilesdk/communicator/XRequestBuilder; E F 2
domainName H I J requestParam [Ljava/lang/String; L M N extraInfo Ljava/lang/Object; P Q 2
keywordParams
? S T U buildRequestUrl ?(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;)Ljava/lang/String; W XHttpConnectionManager Y java/lang/StringBuilder [ URL ::
X ] ^ (Ljava/lang/String;)V
X ` a b append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
X d e f toString ()Ljava/lang/String;
h j i -com/appnexus/oas/mobilesdk/utilities/XLogUtil k l d '(Ljava/lang/String;Ljava/lang/String;)V
n p o >com/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager q r access$0 y(Lcom/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager;Lcom/appnexus/oas/mobilesdk/communicator/XTransaction;)V
n t u v access$1 q(Lcom/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager;)Lorg/apache/http/impl/client/DefaultHttpClient; x &org/apache/http/client/methods/HttpGet
w ] {
User-Agent } ~ 2 userAgent
w ? ? l addHeader
n ? ? ? access$2 ?(Lcom/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager;Lcom/appnexus/oas/mobilesdk/communicator/XTransaction;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;Lorg/apache/http/impl/client/DefaultHttpClient;)V
n ? ? ? access$3 r(Lcom/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager;Lorg/apache/http/impl/client/DefaultHttpClient;)V
? ? ? -org/apache/http/impl/client/DefaultHttpClient ? ? execute O(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/HttpResponse; ? ? ? org/apache/http/HttpResponse ? ? getEntity ()Lorg/apache/http/HttpEntity; ? ? ? org/apache/http/HttpEntity ? ? getContentType ()Lorg/apache/http/Header; ? ? ? org/apache/http/Header ? f getValue ? ;
6 ? ? ? split '(Ljava/lang/String;)[Ljava/lang/String;
6 ? ? f trim ? ? ? ?
getContent ()Ljava/io/InputStream; ? ? ? ?
getStatusLine ()Lorg/apache/http/StatusLine; ? ? ? org/apache/http/StatusLine ? ?
getStatusCode ()I
n ? ? ? access$4 ?(Lcom/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager;Lcom/appnexus/oas/mobilesdk/communicator/XTransaction;Ljava/io/InputStream;ILjava/lang/String;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;)V
? ? ? java/io/InputStream ? close ? HttpConnectionManager ? MalformedURLException:
? ? ? java/net/MalformedURLException ? f
getMessage
h ? ? l e ? server_error_msg ? Malformed Url exception
? ? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? listener ?Lcom/appnexus/oas/mobilesdk/listeners/IHttpTransactionListener; ? ? ? =com/appnexus/oas/mobilesdk/listeners/IHttpTransactionListener ? ? gotResponse 9(Lcom/appnexus/oas/mobilesdk/communicator/XTransaction;)V ?
IOException:
? ? ? java/io/IOException ? IO Exception ? JSONException:
? ? ? org/json/JSONException ? JSON Parsing Exception ? Exception:
? ? ? java/lang/Exception
X
httpclient /Lorg/apache/http/impl/client/DefaultHttpClient; httpget (Lorg/apache/http/client/methods/HttpGet; Lorg/apache/http/HttpResponse; entity Lorg/apache/http/HttpEntity; contentType Lorg/apache/http/Header; mimeType instream Ljava/io/InputStream; mue Ljava/net/MalformedURLException; ioe Ljava/io/IOException; kme Lorg/json/JSONException; Ljava/lang/Exception;
StackMapTable java/lang/Throwable
SourceFile XHttpConnectionManager.java EnclosingMethod
sendRequest x(Lcom/appnexus/oas/mobilesdk/communicator/XTransaction;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;)V InnerClasses
B *+? *,? *-? *? ?
T
? ?*? ? Y? ? %'? )W*? ? /3? 5? U*? ? ;? 0*? ? >*? ? D*? ? G*? ? K*? ? O*? ? R? ;V? XYZ? \*? ? ;? _? c? g*? *? ? m*? ? sL? wY*? ? ;? yM,z*? ? |? *? *? *? +? ?*? +? ?+,? ?N-? ? :??? ? ::? ?? ? ? 5? ? ?? ?? &? ? ?? ??? ? ? ?? ?2? ?:? ? :*? *? -? ? ? ? *? ? ?? ??EL?? XY÷ \+? Ŷ _? c? ?*? ? ?϶ ?W*? ? ??-*? ? ?*? ? ? ?L?? XY߷ \+? ? _? c? ?*? ? ?? ?W*? ? ?? ?*? ? ?*? ? ? ? ?L?? XY? \+? ? _? c? ?*? ? ?? ?W*? ? ?? ?*? ? ?*? ? ? ? ?L?? XY?? \+? ? _? c? ?*? ? ͻ XY? ?+? ? _? c? ?W*? ? ?? O*? ? ?*? ? ? ? <:*? ? ?? *? ? ?*? ? ? ?*? ? ?? *? ? ?*? ? ? ? JM ? J? ? J? ? J ? up ??p ??p Sp ? 7 V X Y % Z / [ 6 \ Y [ \ ` w c ? e ? g ? i ? k ? m ? o ? q ? s ? t ? v ? w ? x ? y z }' ~E J ?N ?f ?u ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? ? ? ?5 ?E ?O ?S ?] ?p ?r ?| ?? ?? ?? ?? ? z ? ? ? ? ? ? ? ? ? ? ? # ? ? ~ ? ? ? p ? ? ? m ? 2 ' # ? ? N ' ? ? ' ? ' 6 ? k ? \? ? ? w ? ? ? 6 ? + B ?? AB ?? AB ?? AB ?? PB? ?
n
© 2015 - 2025 Weber Informatics LLC | Privacy Policy