org.codehaus.httpcache4j.resolver
Interface PayloadCreator
public interface PayloadCreator
Creates a payload from the response. Most users will want to use the
DefaultPayloadCreator in the core project.
This is expected to be used with the ResponseResolver.
- Author:
- Erlend Hamnaberg
createPayload
Payload createPayload(Headers headers,
java.io.InputStream stream)
- Creates a payload useable by the response.
- Parameters:
headers - the headers to determine cacheablitystream - the stream to create the payload from.
- Returns:
- the created payload
Copyright © 2008. All Rights Reserved.