Internal.java
3.12 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
package com.squareup.okhttp.internal;
import com.squareup.okhttp.Call;
import com.squareup.okhttp.Callback;
import com.squareup.okhttp.Connection;
import com.squareup.okhttp.ConnectionPool;
import com.squareup.okhttp.ConnectionSpec;
import com.squareup.okhttp.Headers.Builder;
import com.squareup.okhttp.HttpUrl;
import com.squareup.okhttp.OkHttpClient;
import com.squareup.okhttp.internal.http.HttpEngine;
import com.squareup.okhttp.internal.http.RouteException;
import com.squareup.okhttp.internal.http.Transport;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.UnknownHostException;
import java.util.logging.Logger;
import javax.net.ssl.SSLSocket;
import okio.BufferedSink;
import okio.BufferedSource;
public abstract class Internal
{
public static Internal instance;
public static final Logger logger = Logger.getLogger(OkHttpClient.class.getName());
public static void initializeInstanceForTests()
{
new OkHttpClient();
}
public abstract void addLenient(Headers.Builder paramBuilder, String paramString);
public abstract void addLenient(Headers.Builder paramBuilder, String paramString1, String paramString2);
public abstract void apply(ConnectionSpec paramConnectionSpec, SSLSocket paramSSLSocket, boolean paramBoolean);
public abstract Connection callEngineGetConnection(Call paramCall);
public abstract void callEngineReleaseConnection(Call paramCall)
throws IOException;
public abstract void callEnqueue(Call paramCall, Callback paramCallback, boolean paramBoolean);
public abstract boolean clearOwner(Connection paramConnection);
public abstract void closeIfOwnedBy(Connection paramConnection, Object paramObject)
throws IOException;
public abstract void connectAndSetOwner(OkHttpClient paramOkHttpClient, Connection paramConnection, HttpEngine paramHttpEngine)
throws RouteException;
public abstract BufferedSink connectionRawSink(Connection paramConnection);
public abstract BufferedSource connectionRawSource(Connection paramConnection);
public abstract void connectionSetOwner(Connection paramConnection, Object paramObject);
public abstract HttpUrl getHttpUrlChecked(String paramString)
throws MalformedURLException, UnknownHostException;
public abstract InternalCache internalCache(OkHttpClient paramOkHttpClient);
public abstract boolean isReadable(Connection paramConnection);
public abstract Transport newTransport(Connection paramConnection, HttpEngine paramHttpEngine)
throws IOException;
public abstract void recycle(ConnectionPool paramConnectionPool, Connection paramConnection);
public abstract int recycleCount(Connection paramConnection);
public abstract RouteDatabase routeDatabase(OkHttpClient paramOkHttpClient);
public abstract void setCache(OkHttpClient paramOkHttpClient, InternalCache paramInternalCache);
public abstract void setOwner(Connection paramConnection, HttpEngine paramHttpEngine);
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/squareup/okhttp/internal/Internal.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/