This source file includes following definitions.
- JNINamespace
- getMimeType
- getCharset
- getData
package org.chromium.android_webview;
import org.chromium.base.CalledByNative;
import org.chromium.base.JNINamespace;
import java.io.InputStream;
@JNINamespace("android_webview")
public class InterceptedRequestData {
private String mMimeType;
private String mCharset;
private InputStream mData;
public InterceptedRequestData(String mimeType, String encoding, InputStream data) {
mMimeType = mimeType;
mCharset = encoding;
mData = data;
}
@CalledByNative
public String getMimeType() {
return mMimeType;
}
@CalledByNative
public String getCharset() {
return mCharset;
}
@CalledByNative
public InputStream getData() {
return mData;
}
}