Dispatcher.smali 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. .class public abstract Lokhttp3/mockwebserver/Dispatcher;
  2. .super Ljava/lang/Object;
  3. .source ""
  4. # direct methods
  5. .method public constructor <init>()V
  6. .locals 0
  7. invoke-direct {p0}, Ljava/lang/Object;-><init>()V
  8. return-void
  9. .end method
  10. # virtual methods
  11. .method public abstract dispatch(Lokhttp3/mockwebserver/RecordedRequest;)Lokhttp3/mockwebserver/MockResponse;
  12. .annotation system Ldalvik/annotation/Throws;
  13. value = {
  14. Ljava/lang/InterruptedException;
  15. }
  16. .end annotation
  17. .end method
  18. .method public peek()Lokhttp3/mockwebserver/MockResponse;
  19. .locals 2
  20. new-instance v0, Lokhttp3/mockwebserver/MockResponse;
  21. invoke-direct {v0}, Lokhttp3/mockwebserver/MockResponse;-><init>()V
  22. sget-object v1, Lokhttp3/mockwebserver/SocketPolicy;->KEEP_OPEN:Lokhttp3/mockwebserver/SocketPolicy;
  23. invoke-virtual {v0, v1}, Lokhttp3/mockwebserver/MockResponse;->setSocketPolicy(Lokhttp3/mockwebserver/SocketPolicy;)Lokhttp3/mockwebserver/MockResponse;
  24. move-result-object v0
  25. return-object v0
  26. .end method
  27. .method public shutdown()V
  28. .locals 0
  29. return-void
  30. .end method