IT. Expert System.

Java Standard Edition (SE)

CacheRequest


compact1, compact2, compact3
java.net

Class CacheRequest



  • public abstract class CacheRequest
    extends Object
    Represents channels for storing resources in the ResponseCache. Instances of such a class provide an OutputStream object which is called by protocol handlers to store the resource data into the cache, and also an abort() method which allows a cache store operation to be interrupted and abandoned. If an IOException is encountered while reading the response or writing to the cache, the current cache store operation will be aborted.
    Since:
    1.5
    • Constructor Detail

      • CacheRequest

        public CacheRequest()
    • Method Detail

      • getBody

        public abstract OutputStream getBody()
                                      throws IOException
        Returns an OutputStream to which the response body can be written.
        Returns:
        an OutputStream to which the response body can be written
        Throws:
        IOException - if an I/O error occurs while writing the response body
      • abort

        public abstract void abort()
        Aborts the attempt to cache the response. If an IOException is encountered while reading the response or writing to the cache, the current cache store operation will be abandoned.


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: 376 / 158852378. Delta: 0.03235 с