3 <!-- Generated by Apache Maven Doxia Site Renderer 1.9.2 at 2021-01-25 -->
22 <!-- NEW PAGE - - - - - uri: index.html -->
34 <!-- OVERWRITING PAGE - uri: index.html -->
46 <!-- OVERWRITING PAGE - uri: index.html -->
58 <!-- NEW PAGE - - - - - uri: getting-started.html -->
70 <!-- NEW PAGE - - - - - uri: configuration-properties.html -->
82 <!-- NEW PAGE - - - - - uri: auto-configuration.html -->
94 <!-- NEW PAGE - - - - - uri: project-info.html -->
106 <!-- NEW PAGE - - - - - uri: project-reports.html -->
111 <!-- DONE WITH MENUE - - (no name)-->
116 <!-- title: HttpResources – -->
117 <!-- short title: -->
118 <!-- current page: index.html -->
119 <!-- path: /http-resources/2.0.0/ -->
120 <!-- crumbs: "/projects.html" -->
121 <!-- pages: {index.html={name=Franz, uri=index.html, childs={index.html=Franz, getting-started.html=Getting Started, configuration-properties.html=Configuration-Properties, auto-configuration.html=Auto-Configuration, project-info.html=Project Information, project-reports.html=Project Reports}, crumbs=[{uri=index.html, name=HttpResources}, {uri=index.html, name=Franz}]}, getting-started.html={name=Getting Started, uri=getting-started.html, childs={}, crumbs=[{uri=index.html, name=HttpResources}, {uri=getting-started.html, name=Getting Started}]}, configuration-properties.html={name=Configuration-Properties, uri=configuration-properties.html, childs={}, crumbs=[{uri=index.html, name=HttpResources}, {uri=configuration-properties.html, name=Configuration-Properties}]}, auto-configuration.html={name=Auto-Configuration, uri=auto-configuration.html, childs={}, crumbs=[{uri=index.html, name=HttpResources}, {uri=auto-configuration.html, name=Auto-Configuration}]}, project-info.html={name=Project Information, uri=project-info.html, childs={}, crumbs=[{uri=index.html, name=HttpResources}, {uri=project-info.html, name=Project Information}]}, project-reports.html={name=Project Reports, uri=project-reports.html, childs={}, crumbs=[{uri=index.html, name=HttpResources}, {uri=project-reports.html, name=Project Reports}]}} -->
126 xmlns="http://www.w3.org/1999/xhtml"
127 th:replace="~{/templates/layout.html :: layout(
128 uri='/http-resources/2.0.0/index.html',
130 maincontent=~{:: .maincontent},
133 "_titles": {
135 "/http-resources/2.0.0/index.html": "Franz"
137 "/http-resources/2.0.0/getting-started.html": "Getting Started"
139 "/http-resources/2.0.0/configuration-properties.html": "Configuration-Properties"
141 "/http-resources/2.0.0/auto-configuration.html": "Auto-Configuration"
143 "/http-resources/2.0.0/project-info.html": "Project Information"
145 "/http-resources/2.0.0/project-reports.html": "Project Reports"
147 "_childs": {
149 "/http-resources/2.0.0/index.html": [
151 "/http-resources/2.0.0/index.html"
153 "/http-resources/2.0.0/getting-started.html"
155 "/http-resources/2.0.0/configuration-properties.html"
157 "/http-resources/2.0.0/auto-configuration.html"
159 "/http-resources/2.0.0/project-info.html"
161 "/http-resources/2.0.0/project-reports.html"
164 "_crumbs": {
166 "/http-resources/2.0.0/index.html": [
167 "/projects.html"
169 "/http-resources/2.0.0/index.html"
172 "/http-resources/2.0.0/getting-started.html": [
173 "/projects.html"
175 "/http-resources/2.0.0/index.html"
177 "/http-resources/2.0.0/getting-started.html"
180 "/http-resources/2.0.0/configuration-properties.html": [
181 "/projects.html"
183 "/http-resources/2.0.0/index.html"
185 "/http-resources/2.0.0/configuration-properties.html"
188 "/http-resources/2.0.0/auto-configuration.html": [
189 "/projects.html"
191 "/http-resources/2.0.0/index.html"
193 "/http-resources/2.0.0/auto-configuration.html"
196 "/http-resources/2.0.0/project-info.html": [
197 "/projects.html"
199 "/http-resources/2.0.0/index.html"
201 "/http-resources/2.0.0/project-info.html"
204 "/http-resources/2.0.0/project-reports.html": [
205 "/projects.html"
207 "/http-resources/2.0.0/index.html"
209 "/http-resources/2.0.0/project-reports.html"
216 <title id="title">HttpResources — Franz</title>
217 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
218 <link id="canonical" rel="canonical" href="/http-resources/index.html"/>
224 <li><a href="index.html">HttpResources</a></li><li><a href="index.html">Franz</a></li> </ol>
227 <article class="maincontent">
232 <h1>HttpResources</h1>
234 <h2><a name="A_library_to_serve_remote_content_as_Spring_Resources"></a>A library to serve remote content as Spring Resources</h2>
237 In theory, Spring can deal with remote resources out of the box.
238 <a class="externalLink" href="https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#resources">Spring Resources</a>
239 come with a build-in handler for remote resources
240 (<a class="externalLink" href="https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#resources-implementations-urlresource">UrlResource</a>).
241 But the implementation is only a simple wrapper around <code>java.net.URL</code> and does not
242 address more sophisticated use-cases, that need efficient cached access to remote resources.
246 This project aims to fill this gap.
247 It was developed as part of a project, that hat to separate the
248 development of the server-side logic from the process of the draft and
249 creation of the web user interface.
250 As we belive, that this is a very common requirement, we decided to
251 reveal our solution as open source.
255 <b>http-resources</b> was developed alongside with a
256 cooperating project called <a href="/thymeproxy/">thymeproxy</a>,
257 that adds tooling to fetch all templates and resources, that are
258 needed to render content with
259 <a class="externalLink" href="https://www.thymeleaf.org/">Thymeleaf</a>.
263 Find out how you can use <b>http-resources</b> in your
264 project: <a href="getting-started.html">Getting Started</a>
267 <h2><a name="Releases"></a>Releases</h2>
271 <li><a class="externalLink" href="https://juplo.de/http-resources/">current version</a></li>
273 <li>2.0.0 (this version)</li>
282 <li><a href="index.html">Franz</a></li><li><a href="getting-started.html">Getting Started</a></li><li><a href="configuration-properties.html">Configuration-Properties</a></li><li><a href="auto-configuration.html">Auto-Configuration</a></li><li><a href="project-info.html">Project Information</a></li><li><a href="project-reports.html">Project Reports</a></li> </ul>