PushPromise.smali 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. .class public final Lokhttp3/mockwebserver/PushPromise;
  2. .super Ljava/lang/Object;
  3. .source ""
  4. # instance fields
  5. .field private final headers:Lokhttp3/Headers;
  6. .field private final method:Ljava/lang/String;
  7. .field private final path:Ljava/lang/String;
  8. .field private final response:Lokhttp3/mockwebserver/MockResponse;
  9. # direct methods
  10. .method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/mockwebserver/MockResponse;)V
  11. .locals 0
  12. invoke-direct {p0}, Ljava/lang/Object;-><init>()V
  13. iput-object p1, p0, Lokhttp3/mockwebserver/PushPromise;->method:Ljava/lang/String;
  14. iput-object p2, p0, Lokhttp3/mockwebserver/PushPromise;->path:Ljava/lang/String;
  15. iput-object p3, p0, Lokhttp3/mockwebserver/PushPromise;->headers:Lokhttp3/Headers;
  16. iput-object p4, p0, Lokhttp3/mockwebserver/PushPromise;->response:Lokhttp3/mockwebserver/MockResponse;
  17. return-void
  18. .end method
  19. # virtual methods
  20. .method public headers()Lokhttp3/Headers;
  21. .locals 1
  22. iget-object v0, p0, Lokhttp3/mockwebserver/PushPromise;->headers:Lokhttp3/Headers;
  23. return-object v0
  24. .end method
  25. .method public method()Ljava/lang/String;
  26. .locals 1
  27. iget-object v0, p0, Lokhttp3/mockwebserver/PushPromise;->method:Ljava/lang/String;
  28. return-object v0
  29. .end method
  30. .method public path()Ljava/lang/String;
  31. .locals 1
  32. iget-object v0, p0, Lokhttp3/mockwebserver/PushPromise;->path:Ljava/lang/String;
  33. return-object v0
  34. .end method
  35. .method public response()Lokhttp3/mockwebserver/MockResponse;
  36. .locals 1
  37. iget-object v0, p0, Lokhttp3/mockwebserver/PushPromise;->response:Lokhttp3/mockwebserver/MockResponse;
  38. return-object v0
  39. .end method