com.appnexus.oas.mobilesdk.communicator.XCookieSpec.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 ? 3com/appnexus/oas/mobilesdk/communicator/XCookieSpec -org/apache/http/impl/cookie/BrowserCompatSpec context Landroid/content/Context; (Landroid/content/Context;)V Code
()V LineNumberTable LocalVariableTable this 5Lcom/appnexus/oas/mobilesdk/communicator/XCookieSpec; validate G(Lorg/apache/http/cookie/Cookie;Lorg/apache/http/cookie/CookieOrigin;)V
Exceptions /org/apache/http/cookie/MalformedCookieException "java/lang/IllegalArgumentException Cookie cannot be null
(Ljava/lang/String;)V Cookie origin cannot be null " $ java/lang/StringBuilder & Cookie Name ============>
# ) + * org/apache/http/cookie/Cookie , - getName ()Ljava/lang/String;
# / 0 1 append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
# 3 4 - toString
6 8 7 -com/appnexus/oas/mobilesdk/utilities/XLogUtil 9 : v '(Ljava/lang/String;Ljava/lang/String;)V < Cookie Value ============> ) > ? - getValue A Cookie getDomain ============> ) C D - getDomain F Cookie getPath =============> ) H I - getPath K $Cookie getExpiryDate =============> ) M N O
getExpiryDate ()Ljava/util/Date;
# Q 0 R -(Ljava/lang/Object;)Ljava/lang/StringBuilder; T Cookie Version ==============> ) V W X
getVersion ()I
# Z 0 [ (I)Ljava/lang/StringBuilder;
] ^ _ getExpiryDateString $(Ljava/util/Date;)Ljava/lang/String;
a c b java/lang/String d e valueOf &(Ljava/lang/Object;)Ljava/lang/String; g = i cookie_shared_pref
k m l android/content/Context n o getSharedPreferences 8(Ljava/lang/String;I)Landroid/content/SharedPreferences; q s r !android/content/SharedPreferences t u edit ,()Landroid/content/SharedPreferences$Editor; w y x (android/content/SharedPreferences$Editor z { putString P(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor; w } ~ commit ()Z cookie Lorg/apache/http/cookie/Cookie; origin %Lorg/apache/http/cookie/CookieOrigin;
expiryDate Ljava/util/Date; cookieExpDateStr Ljava/lang/String; cookieKeyValue prefs #Landroid/content/SharedPreferences; ed *Landroid/content/SharedPreferences$Editor;
StackMapTable ? java/text/SimpleDateFormat ? EEE MMM dd HH:mm:ss Z yyyy ? ? ? java/util/Locale ? ? US Ljava/util/Locale;
? ? ? '(Ljava/lang/String;Ljava/util/Locale;)V
? ? ? _ format
? 3 ? java/util/Date ? java/lang/Exception formatter Ljava/text/SimpleDateFormat; e Ljava/lang/Exception; match G(Lorg/apache/http/cookie/Cookie;Lorg/apache/http/cookie/CookieOrigin;)Z
SourceFile XCookieSpec.java InnerClasses Editor ! F
*?
*+?
?
K+?
? Y? ?,?
? Y? ?!? #Y%? '+? ( ? .? 2? 5!? #Y;? '+? = ? .? 2? 5!? #Y@? '+? B ? .? 2? 5!? #YE? '+? G ? .? 2? 5!? #YJ? '+? L ? P? 2? 5!? #YS? '+? U ? Y? 2? 5+? L N*-? \:? #Y+? ( ? `? 'f? .+? = ? .f? .+? B ? .f? .+? G ? .f? .? .f? .+? U ? Y? 2:*?
h? j:? p :+? ( ? v W? | W? R ! # $ ' 6 ( P ) j * ? + ? , ? / ? 0 ? 1 3! 4$ 3) 52 6B 7J 9 R K K ? ? K ? ? ? ? ? ? ? ? ? ? . ? ? ) " ? ? 2 ? ? ?
^ _ ? $M+? ? ?Y?? ?? ?N-+? ?M? N+? ?M,? ? <