Commit 716a52e
authored
refactor(gax): add startUnaryCall to HttpJsonClientCalls (#14136)
HttpJsonClientCalls currently allows callers access to the HTTP response
body. The newly-added startUnaryCall allows callers to provide a
Listener that allows action based on status codes and headers, both of
which are needed for resumable uploads.1 parent e1a0b17 commit 716a52e
1 file changed
Lines changed: 12 additions & 4 deletions
File tree
- sdk-platform-java/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
| 101 | + | |
101 | 102 | | |
102 | | - | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
122 | 130 | | |
123 | 131 | | |
124 | 132 | | |
| |||
0 commit comments