Repository navigation
Expand file tree
/
Copy pathHttpResponseCache.swift
More file actions
89 lines (81 loc) · 2.13 KB
/
Copy pathHttpResponseCache.swift
File metadata and controls
89 lines (81 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// Auto-generated by Java-to-Swift wrapper generator.
import JavaLangNet
import SwiftJava
import SwiftJavaJNICore
@JavaClass("android.net.http.HttpResponseCache")
open class HttpResponseCache: ResponseCache {
/// Java method `getNetworkCount`.
///
/// ### Java method signature
/// ```java
/// public int android.net.http.HttpResponseCache.getNetworkCount()
/// ```
@JavaMethod
open func getNetworkCount() -> Int32
/// Java method `getHitCount`.
///
/// ### Java method signature
/// ```java
/// public int android.net.http.HttpResponseCache.getHitCount()
/// ```
@JavaMethod
open func getHitCount() -> Int32
/// Java method `getRequestCount`.
///
/// ### Java method signature
/// ```java
/// public int android.net.http.HttpResponseCache.getRequestCount()
/// ```
@JavaMethod
open func getRequestCount() -> Int32
/// Java method `size`.
///
/// ### Java method signature
/// ```java
/// public long android.net.http.HttpResponseCache.size()
/// ```
@JavaMethod
open func size() -> Int64
/// Java method `maxSize`.
///
/// ### Java method signature
/// ```java
/// public long android.net.http.HttpResponseCache.maxSize()
/// ```
@JavaMethod
open func maxSize() -> Int64
/// Java method `flush`.
///
/// ### Java method signature
/// ```java
/// public void android.net.http.HttpResponseCache.flush()
/// ```
@JavaMethod
open func flush()
/// Java method `close`.
///
/// ### Java method signature
/// ```java
/// public void android.net.http.HttpResponseCache.close() throws java.io.IOException
/// ```
@JavaMethod
open func close() throws
/// Java method `delete`.
///
/// ### Java method signature
/// ```java
/// public void android.net.http.HttpResponseCache.delete() throws java.io.IOException
/// ```
@JavaMethod
open func delete() throws
}
extension JavaClass<HttpResponseCache> {
/// Java method `getInstalled`.
///
/// ### Java method signature
/// ```java
/// public static android.net.http.HttpResponseCache android.net.http.HttpResponseCache.getInstalled()
/// ```
@JavaStaticMethod
public func getInstalled() -> HttpResponseCache!
}