PushObserver.java
1.46 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
package com.squareup.okhttp.internal.framed;
import java.io.IOException;
import java.util.List;
import okio.BufferedSource;
public abstract interface PushObserver
{
public static final PushObserver CANCEL = new PushObserver()
{
public final boolean onData(int paramAnonymousInt1, BufferedSource paramAnonymousBufferedSource, int paramAnonymousInt2, boolean paramAnonymousBoolean)
throws IOException
{
paramAnonymousBufferedSource.skip(paramAnonymousInt2);
return true;
}
public final boolean onHeaders(int paramAnonymousInt, List<Header> paramAnonymousList, boolean paramAnonymousBoolean)
{
return true;
}
public final boolean onRequest(int paramAnonymousInt, List<Header> paramAnonymousList)
{
return true;
}
public final void onReset(int paramAnonymousInt, ErrorCode paramAnonymousErrorCode) {}
};
public abstract boolean onData(int paramInt1, BufferedSource paramBufferedSource, int paramInt2, boolean paramBoolean)
throws IOException;
public abstract boolean onHeaders(int paramInt, List<Header> paramList, boolean paramBoolean);
public abstract boolean onRequest(int paramInt, List<Header> paramList);
public abstract void onReset(int paramInt, ErrorCode paramErrorCode);
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/squareup/okhttp/internal/framed/PushObserver.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/