IT. Expert System.

Android Reference

UrlInterceptRegistry


android.webkit

Class UrlInterceptRegistry


  • Deprecated.
    This class was intended to be used by Gears. Since Gears was deprecated, so is this class.

    @Deprecated
    public final class UrlInterceptRegistry
    extends Object
    • Constructor Detail

      • UrlInterceptRegistry

        public UrlInterceptRegistry()
        Deprecated.
    • Method Detail

      • setUrlInterceptDisabled

        @Deprecated
        public static void setUrlInterceptDisabled(boolean disabled)
        Deprecated. This class was intended to be used by Gears. Since Gears was deprecated, so is this class.
        set the flag to control whether url intercept is enabled or disabled
        Parameters:
        disabled - true to disable the cache
      • urlInterceptDisabled

        @Deprecated
        public static boolean urlInterceptDisabled()
        Deprecated. This class was intended to be used by Gears. Since Gears was deprecated, so is this class.
        get the state of the url intercept, enabled or disabled
        Returns:
        return if it is disabled
      • registerHandler

        @Deprecated
        public static boolean registerHandler(UrlInterceptHandler handler)
        Deprecated. This class was intended to be used by Gears. Since Gears was deprecated, so is this class.
        Register a new UrlInterceptHandler. This handler will be called before any that were previously registered.
        Parameters:
        handler - The new UrlInterceptHandler object
        Returns:
        true if the handler was not previously registered.
      • unregisterHandler

        @Deprecated
        public static boolean unregisterHandler(UrlInterceptHandler handler)
        Deprecated. This class was intended to be used by Gears. Since Gears was deprecated, so is this class.
        Unregister a previously registered UrlInterceptHandler.
        Parameters:
        handler - A previously registered UrlInterceptHandler.
        Returns:
        true if the handler was found and removed from the list.
      • getSurrogate

        @Deprecated
        public static CacheManager.CacheResult getSurrogate(String url,
                                                       Map<String,String> headers)
        Deprecated. This class was intended to be used by Gears. Since Gears was deprecated, so is this class.
        Given an url, returns the CacheResult of the first UrlInterceptHandler interested, or null if none are.
        Returns:
        A CacheResult containing surrogate content.
      • getPluginData

        @Deprecated
        public static PluginData getPluginData(String url,
                                          Map<String,String> headers)
        Deprecated. This class was intended to be used by Gears. Since Gears was deprecated, so is this class.
        Given an url, returns the PluginData of the first UrlInterceptHandler interested, or null if none are or if intercepts are disabled.
        Returns:
        A PluginData instance containing surrogate content.


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: 1615 / . Delta: 0.03484 с