OkHttpClient$1.smali 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. .class final Lokhttp3/OkHttpClient$1;
  2. .super Lokhttp3/internal/Internal;
  3. .source ""
  4. # annotations
  5. .annotation system Ldalvik/annotation/EnclosingClass;
  6. value = Lokhttp3/OkHttpClient;
  7. .end annotation
  8. .annotation system Ldalvik/annotation/InnerClass;
  9. accessFlags = 0x0
  10. name = null
  11. .end annotation
  12. # direct methods
  13. .method constructor <init>()V
  14. .locals 0
  15. invoke-direct {p0}, Lokhttp3/internal/Internal;-><init>()V
  16. return-void
  17. .end method
  18. # virtual methods
  19. .method public addLenient(Lokhttp3/Headers$Builder;Ljava/lang/String;)V
  20. .locals 0
  21. invoke-virtual {p1, p2}, Lokhttp3/Headers$Builder;->addLenient(Ljava/lang/String;)Lokhttp3/Headers$Builder;
  22. return-void
  23. .end method
  24. .method public addLenient(Lokhttp3/Headers$Builder;Ljava/lang/String;Ljava/lang/String;)V
  25. .locals 0
  26. invoke-virtual {p1, p2, p3}, Lokhttp3/Headers$Builder;->addLenient(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$Builder;
  27. return-void
  28. .end method
  29. .method public apply(Lokhttp3/ConnectionSpec;Ljavax/net/ssl/SSLSocket;Z)V
  30. .locals 0
  31. invoke-virtual {p1, p2, p3}, Lokhttp3/ConnectionSpec;->apply(Ljavax/net/ssl/SSLSocket;Z)V
  32. return-void
  33. .end method
  34. .method public code(Lokhttp3/Response$Builder;)I
  35. .locals 0
  36. iget p1, p1, Lokhttp3/Response$Builder;->code:I
  37. return p1
  38. .end method
  39. .method public connectionBecameIdle(Lokhttp3/ConnectionPool;Lokhttp3/internal/connection/RealConnection;)Z
  40. .locals 0
  41. invoke-virtual {p1, p2}, Lokhttp3/ConnectionPool;->connectionBecameIdle(Lokhttp3/internal/connection/RealConnection;)Z
  42. move-result p1
  43. return p1
  44. .end method
  45. .method public deduplicate(Lokhttp3/ConnectionPool;Lokhttp3/Address;Lokhttp3/internal/connection/StreamAllocation;)Ljava/net/Socket;
  46. .locals 0
  47. invoke-virtual {p1, p2, p3}, Lokhttp3/ConnectionPool;->deduplicate(Lokhttp3/Address;Lokhttp3/internal/connection/StreamAllocation;)Ljava/net/Socket;
  48. move-result-object p1
  49. return-object p1
  50. .end method
  51. .method public equalsNonHost(Lokhttp3/Address;Lokhttp3/Address;)Z
  52. .locals 0
  53. invoke-virtual {p1, p2}, Lokhttp3/Address;->equalsNonHost(Lokhttp3/Address;)Z
  54. move-result p1
  55. return p1
  56. .end method
  57. .method public get(Lokhttp3/ConnectionPool;Lokhttp3/Address;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/Route;)Lokhttp3/internal/connection/RealConnection;
  58. .locals 0
  59. invoke-virtual {p1, p2, p3, p4}, Lokhttp3/ConnectionPool;->get(Lokhttp3/Address;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/Route;)Lokhttp3/internal/connection/RealConnection;
  60. move-result-object p1
  61. return-object p1
  62. .end method
  63. .method public getHttpUrlChecked(Ljava/lang/String;)Lokhttp3/HttpUrl;
  64. .locals 0
  65. .annotation system Ldalvik/annotation/Throws;
  66. value = {
  67. Ljava/net/MalformedURLException;,
  68. Ljava/net/UnknownHostException;
  69. }
  70. .end annotation
  71. invoke-static {p1}, Lokhttp3/HttpUrl;->getChecked(Ljava/lang/String;)Lokhttp3/HttpUrl;
  72. move-result-object p1
  73. return-object p1
  74. .end method
  75. .method public newWebSocketCall(Lokhttp3/OkHttpClient;Lokhttp3/Request;)Lokhttp3/Call;
  76. .locals 1
  77. const/4 v0, 0x1
  78. invoke-static {p1, p2, v0}, Lokhttp3/RealCall;->newRealCall(Lokhttp3/OkHttpClient;Lokhttp3/Request;Z)Lokhttp3/RealCall;
  79. move-result-object p1
  80. return-object p1
  81. .end method
  82. .method public put(Lokhttp3/ConnectionPool;Lokhttp3/internal/connection/RealConnection;)V
  83. .locals 0
  84. invoke-virtual {p1, p2}, Lokhttp3/ConnectionPool;->put(Lokhttp3/internal/connection/RealConnection;)V
  85. return-void
  86. .end method
  87. .method public routeDatabase(Lokhttp3/ConnectionPool;)Lokhttp3/internal/connection/RouteDatabase;
  88. .locals 0
  89. iget-object p1, p1, Lokhttp3/ConnectionPool;->routeDatabase:Lokhttp3/internal/connection/RouteDatabase;
  90. return-object p1
  91. .end method
  92. .method public setCache(Lokhttp3/OkHttpClient$Builder;Lokhttp3/internal/cache/InternalCache;)V
  93. .locals 0
  94. invoke-virtual {p1, p2}, Lokhttp3/OkHttpClient$Builder;->setInternalCache(Lokhttp3/internal/cache/InternalCache;)V
  95. return-void
  96. .end method
  97. .method public streamAllocation(Lokhttp3/Call;)Lokhttp3/internal/connection/StreamAllocation;
  98. .locals 0
  99. check-cast p1, Lokhttp3/RealCall;
  100. invoke-virtual {p1}, Lokhttp3/RealCall;->streamAllocation()Lokhttp3/internal/connection/StreamAllocation;
  101. move-result-object p1
  102. return-object p1
  103. .end method