IT. Expert System.

Android Reference

CookiePolicy


java.net

Interface CookiePolicy



  • public interface CookiePolicy
    CookiePolicy has three pre-defined policy. They are ACCEPT_ALL, ACCEPT_NONE and ACCEPT_ORIGINAL_SERVER respectively. They are used to decide which cookies should be accepted and which should not be. See RFC 2965 sections 3.3 and 7 for more detail.
    Since:
    1.6
    • Field Detail

      • ACCEPT_ALL

        static final CookiePolicy ACCEPT_ALL
        A pre-defined policy, accepts all cookies.
      • ACCEPT_NONE

        static final CookiePolicy ACCEPT_NONE
        A pre-defined policy, accepts no cookies at all.
      • ACCEPT_ORIGINAL_SERVER

        static final CookiePolicy ACCEPT_ORIGINAL_SERVER
        A pre-defined policy, only accepts cookies from original server.
    • Method Detail

      • shouldAccept

        boolean shouldAccept(URI uri,
                           HttpCookie cookie)
        This method is used to determine whether or not the specified cookie should be accepted.
        Parameters:
        uri - the URI to used to determine acceptability
        cookie - the HttpCookie to be determined
        Returns:
        true if this cookie should be accepted; false otherwise


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: 946 / . Delta: 0.03411 с