Method
js2Proxy
(Boolean dynamic, Integer siteType, String siteKey, String url, JSObject headers)
Source from the content-addressed store, hash-verified
| 108 | } |
| 109 | |
| 110 | @Keep |
| 111 | @JSMethod |
| 112 | public String js2Proxy(Boolean dynamic, Integer siteType, String siteKey, String url, JSObject headers) { |
| 113 | return getProxy(!dynamic) + String.format("&from=catvod&siteType=%s&siteKey=%s&header=%s&url=%s", siteType, siteKey, URLEncoder.encode(headers.stringify()), URLEncoder.encode(url)); |
| 114 | } |
| 115 | |
| 116 | @Keep |
| 117 | @JSMethod |
Callers
nothing calls this directly
Tested by
no test coverage detected