org.codehaus.httpcache4j.resolver
Interface ResponseResolver
- All Known Implementing Classes:
- AbstractResponseResolver
public interface ResponseResolver
The basic interface to resolve a response with the originating server.
This is used internally by the HTTPCache, but users may use this directly if they do not require the caching
features. Implementors will also want to use the payload creator, as well.
Implementors would want to extend AbstractResponseResolver instead of using the interface directly.
- Since:
- 1.0
resolve
HTTPResponse resolve(HTTPRequest request)
- Resolves the given request into a response.
- Parameters:
request - the request to resolve.
- Returns:
- the raw response from the server.
Copyright © 2008. All Rights Reserved.