Package org.weborganic.bastille.cache.util

Utility classes supporting the caching generators and filters.

See:
          Description

Interface Summary
CachedResource A interface for cached resources.
 

Class Summary
CachedResponseWrapper Provides a wrapper for use with the caching filters.
CachedResponseWrapper.FilterOutputStream A custom ServletOutputStream for this wrapper.
GenericResource A Serializable representation of a cached resource.
GZIPUtils A utility class for GZIP compression.
HttpDateFormat A date format to produce and parse dates compliant with the RFC 2616 - HTTP/1.1 protocol.
HttpHeader<T extends Serializable> Generic implementation of a HTTP header.
SizeEstimator A simple class to estimate the size of a cache based on previously calculated sized and the number of elements.
SoftCacheableString A simple wrapper around a string optimised for caching.
StaticRequestWrapper A Servlet request wrapping the original request for use by the static caching filters.
StaticResource A Serializable representation of a cached resource designed for static file based content.
 

Enum Summary
HttpHeader.Type Used to help differentiate the different header types.
 

Package org.weborganic.bastille.cache.util Description

Utility classes supporting the caching generators and filters.

Portions of this code were taken from EHCache Web released under the following licence Copyright 2003-2009 Terracotta, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.