Interface HttpRepository

All Known Subinterfaces:
HttpResourceRepositoryFromFileSystem
All Known Implementing Classes:
HttpResourceRepositoryFromFileSystemImpl

public interface HttpRepository
Repository interface to access information based on HTTP conventions, especially content negotiation for a given id. The id should conform to HTTP URI specification (https://tools.ietf.org/html/rfc3986) but implementations may decide to not enforce that. Most prominently, this affects content type, encoding, language and charset.
Author:
raven
  • Method Summary

    Modifier and Type
    Method
    Description
    get(org.apache.http.HttpRequest request, Function<org.apache.http.HttpRequest,Map.Entry<org.apache.http.HttpRequest,org.apache.http.HttpResponse>> httpRequester)