IT. Expert System.

Android Reference

WebResourceResponse


android.webkit

Class WebResourceResponse

    • Constructor Detail

      • WebResourceResponse

        public WebResourceResponse(String mimeType,
                           String encoding,
                           InputStream data)
        Constructs a resource response with the given MIME type, encoding, and input stream. Callers must implement InputStream.read(byte[]) for the input stream.
        Parameters:
        mimeType - the resource response's MIME type, for example text/html
        encoding - the resource response's encoding
        data - the input stream that provides the resource response's data
    • Method Detail

      • setMimeType

        public void setMimeType(String mimeType)
        Sets the resource response's MIME type, for example text/html.
        Parameters:
        mimeType - the resource response's MIME type
      • getMimeType

        public String getMimeType()
        Gets the resource response's MIME type.
        Returns:
        the resource response's MIME type
      • setEncoding

        public void setEncoding(String encoding)
        Sets the resource response's encoding, for example UTF-8. This is used to decode the data from the input stream.
        Parameters:
        encoding - the resource response's encoding
      • getEncoding

        public String getEncoding()
        Gets the resource response's encoding.
        Returns:
        the resource response's encoding
      • setData

        public void setData(InputStream data)
        Sets the input stream that provides the resource respone's data. Callers must implement InputStream.read(byte[]).
        Parameters:
        data - the input stream that provides the resource response's data
      • getData

        public InputStream getData()
        Gets the input stream that provides the resource respone's data.
        Returns:
        the input stream that provides the resource response's data


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1979 / 159424288. Delta: 0.03876 с