com.appnexus.oas.mobilesdk.communicator.XRequestBuilder.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appnexusoasmobileadsdk-test Show documentation
Show all versions of appnexusoasmobileadsdk-test Show documentation
AppNexus OpenAdStream Android Advertising Libraries
???? 2 ? 7com/appnexus/oas/mobilesdk/communicator/XRequestBuilder java/lang/Object
CHARACTER_SET Ljava/lang/String;
ConstantValue UTF-8 _instance 9Lcom/appnexus/oas/mobilesdk/communicator/XRequestBuilder; ()V Code
LineNumberTable LocalVariableTable this getInstance ;()Lcom/appnexus/oas/mobilesdk/communicator/XRequestBuilder;
StackMapTable buildRequestUrl ?(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;)Ljava/lang/String; java/lang/StringBuilder
! # " java/lang/String $ % valueOf &(Ljava/lang/Object;)Ljava/lang/String;
' ( (Ljava/lang/String;)V
* + , append -(Ljava/lang/String;)Ljava/lang/StringBuilder; . /
0 1 2 toString ()Ljava/lang/String;
4 6 5 java/lang/Exception 7
printStackTrace
! 9 : ; length ()I
! = > ? substring (II)Ljava/lang/String;
A C B =com/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration D E isRTB ()Z G http:// I /sdk K /sdkl
0
! N O 2 trim Q ?
S T U filterKeywordParams 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; W &
domainName requestParam [Ljava/lang/String; queryParams Ljava/lang/Object;
keywordParams
configuration ?Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;
requestString i I e Ljava/lang/Exception; url separator
! h i j split '(Ljava/lang/String;)[Ljava/lang/String; l java/util/ArrayList
n p o java/util/Arrays q r asList %([Ljava/lang/Object;)Ljava/util/List;
k t u (Ljava/util/Collection;)V w y x java/util/List z { contains (Ljava/lang/Object;)Z w } ~ { remove
? ? ? generateParams $(Ljava/util/List;)Ljava/lang/String; ? filterKeywordParams
? ? ? -com/appnexus/oas/mobilesdk/utilities/XLogUtil a ? '(Ljava/lang/String;Ljava/lang/String;)V KP arrQP arrKP KPList Ljava/util/List; s LocalVariableTypeTable $Ljava/util/List; Z Signature 8(Ljava/util/List;)Ljava/lang/String;
w ? ? ; size w ? ? ? iterator ()Ljava/util/Iterator; ? ? ? java/util/Iterator ? ? next ()Ljava/lang/Object; ? ? ? E hasNext
9
=
! 0 kPList sb Ljava/lang/StringBuilder; sep formQueryParameters '([Ljava/lang/String;)Ljava/lang/String;
? ? ? java/net/URLEncoder ? U encode
? 6 ? $java/io/UnsupportedEncodingException ? %3D ? =
! ? ? U
replaceAll
queryParam &Ljava/io/UnsupportedEncodingException;
SourceFile XRequestBuilder.java !
/ *? ? E ? ?
? Y? ? ? ? P /:,? a,?? \6? -? Y? ? &,2? )-? )? /:?
:? 3?,???һ Y-? &? )? /:? 8d? <:? @? "? YF? &+? )H? )? )? /:? ? YF? &+? )J? )? )? /:-? --? L? M? 8? ? Y? ? &P? )-? L? )? /:? S? M? 8? HP:-? -? L? M? 8? *-? L? R:V:? ? Y? ? &? )? )? /:? 0 3 4 ^ " #
$ &