Cache$1.smali 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. .class Lokhttp3/Cache$1;
  2. .super Ljava/lang/Object;
  3. .source ""
  4. # interfaces
  5. .implements Lokhttp3/internal/cache/InternalCache;
  6. # annotations
  7. .annotation system Ldalvik/annotation/EnclosingClass;
  8. value = Lokhttp3/Cache;
  9. .end annotation
  10. .annotation system Ldalvik/annotation/InnerClass;
  11. accessFlags = 0x0
  12. name = null
  13. .end annotation
  14. # instance fields
  15. .field final synthetic this$0:Lokhttp3/Cache;
  16. # direct methods
  17. .method constructor <init>(Lokhttp3/Cache;)V
  18. .locals 0
  19. iput-object p1, p0, Lokhttp3/Cache$1;->this$0:Lokhttp3/Cache;
  20. invoke-direct {p0}, Ljava/lang/Object;-><init>()V
  21. return-void
  22. .end method
  23. # virtual methods
  24. .method public get(Lokhttp3/Request;)Lokhttp3/Response;
  25. .locals 1
  26. .annotation system Ldalvik/annotation/Throws;
  27. value = {
  28. Ljava/io/IOException;
  29. }
  30. .end annotation
  31. iget-object v0, p0, Lokhttp3/Cache$1;->this$0:Lokhttp3/Cache;
  32. invoke-virtual {v0, p1}, Lokhttp3/Cache;->get(Lokhttp3/Request;)Lokhttp3/Response;
  33. move-result-object p1
  34. return-object p1
  35. .end method
  36. .method public put(Lokhttp3/Response;)Lokhttp3/internal/cache/CacheRequest;
  37. .locals 1
  38. .annotation system Ldalvik/annotation/Throws;
  39. value = {
  40. Ljava/io/IOException;
  41. }
  42. .end annotation
  43. iget-object v0, p0, Lokhttp3/Cache$1;->this$0:Lokhttp3/Cache;
  44. invoke-virtual {v0, p1}, Lokhttp3/Cache;->put(Lokhttp3/Response;)Lokhttp3/internal/cache/CacheRequest;
  45. move-result-object p1
  46. return-object p1
  47. .end method
  48. .method public remove(Lokhttp3/Request;)V
  49. .locals 1
  50. .annotation system Ldalvik/annotation/Throws;
  51. value = {
  52. Ljava/io/IOException;
  53. }
  54. .end annotation
  55. iget-object v0, p0, Lokhttp3/Cache$1;->this$0:Lokhttp3/Cache;
  56. invoke-virtual {v0, p1}, Lokhttp3/Cache;->remove(Lokhttp3/Request;)V
  57. return-void
  58. .end method
  59. .method public trackConditionalCacheHit()V
  60. .locals 1
  61. iget-object v0, p0, Lokhttp3/Cache$1;->this$0:Lokhttp3/Cache;
  62. invoke-virtual {v0}, Lokhttp3/Cache;->trackConditionalCacheHit()V
  63. return-void
  64. .end method
  65. .method public trackResponse(Lokhttp3/internal/cache/CacheStrategy;)V
  66. .locals 1
  67. iget-object v0, p0, Lokhttp3/Cache$1;->this$0:Lokhttp3/Cache;
  68. invoke-virtual {v0, p1}, Lokhttp3/Cache;->trackResponse(Lokhttp3/internal/cache/CacheStrategy;)V
  69. return-void
  70. .end method
  71. .method public update(Lokhttp3/Response;Lokhttp3/Response;)V
  72. .locals 1
  73. iget-object v0, p0, Lokhttp3/Cache$1;->this$0:Lokhttp3/Cache;
  74. invoke-virtual {v0, p1, p2}, Lokhttp3/Cache;->update(Lokhttp3/Response;Lokhttp3/Response;)V
  75. return-void
  76. .end method