1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 // This file is imported from the upstream.
6 package org.xwalk.core;
8 import org.chromium.base.CalledByNative;
9 import org.chromium.base.JNINamespace;
11 import java.io.InputStream;
14 * The response information that is to be returned for a particular resource fetch.
16 @JNINamespace("xwalk")
17 public class InterceptedRequestData {
18 private String mMimeType;
19 private String mCharset;
20 private InputStream mData;
22 public InterceptedRequestData(String mimeType, String encoding, InputStream data) {
29 public String getMimeType() {
34 public String getCharset() {
39 public InputStream getData() {