<li><ahref="../../../../../../com/djrapitops/plan/system/webserver/cache/PageId.html"title="enum in com.djrapitops.plan.system.webserver.cache"><spanclass="typeNameLink">Prev Class</span></a></li>
java.util.function.Supplier<<ahref="../../../../../../com/djrapitops/plan/system/webserver/response/Response.html"title="class in com.djrapitops.plan.system.webserver.response">Response</a>> loader)</code>
<divclass="block">Puts the page into the page cache.</div>
<divclass="block">Checks if the page is cached.</div>
</td>
</tr>
<trid="i6"class="altColor">
<tdclass="colFirst"><code>static <ahref="../../../../../../com/djrapitops/plan/system/webserver/response/Response.html"title="class in com.djrapitops.plan.system.webserver.response">Response</a></code></td>
<divclass="block">Loads the page from the page cache.</div>
</td>
</tr>
<trid="i7"class="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../../../../com/djrapitops/plan/system/webserver/response/Response.html"title="class in com.djrapitops.plan.system.webserver.response">Response</a></code></td>
java.util.function.Supplier<<ahref="../../../../../../com/djrapitops/plan/system/webserver/response/Response.html"title="class in com.djrapitops.plan.system.webserver.response">Response</a>> loader)</code>
<divclass="block">Loads the response from the response cache.</div>
<pre>public static <ahref="../../../../../../com/djrapitops/plan/system/webserver/response/Response.html"title="class in com.djrapitops.plan.system.webserver.response">Response</a> loadResponse(java.lang.String identifier,
java.util.function.Supplier<<ahref="../../../../../../com/djrapitops/plan/system/webserver/response/Response.html"title="class in com.djrapitops.plan.system.webserver.response">Response</a>> loader)</pre>
<divclass="block">Loads the response from the response cache.
<p>
If the <ahref="../../../../../../com/djrapitops/plan/system/webserver/response/Response.html"title="class in com.djrapitops.plan.system.webserver.response"><code>Response</code></a> isn't cached, <code>Supplier.get()</code> in the <code>loader</code>
is called to create the Response.
<p>
If the Response is created, it's automatically cached.</div>
<dd><code>identifier</code> - The identifier of the page</dd>
<dd><code>loader</code> - The The <ahref="../../../../../../com/djrapitops/plan/system/webserver/response/Response.html"title="class in com.djrapitops.plan.system.webserver.response"><code>Response</code></a><code>Supplier</code> (How should it load the page if it's not cached)</dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>The Response that was cached or created by the the <ahref="../../../../../../com/djrapitops/plan/system/webserver/response/Response.html"title="class in com.djrapitops.plan.system.webserver.response"><code>Response</code></a><code>Supplier</code></dd>
</dl>
</li>
</ul>
<aname="loadResponse-java.lang.String-">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>loadResponse</h4>
<pre>public static <ahref="../../../../../../com/djrapitops/plan/system/webserver/response/Response.html"title="class in com.djrapitops.plan.system.webserver.response">Response</a> loadResponse(java.lang.String identifier)</pre>
<divclass="block">Loads the page from the page cache.</div>
java.util.function.Supplier<<ahref="../../../../../../com/djrapitops/plan/system/webserver/response/Response.html"title="class in com.djrapitops.plan.system.webserver.response">Response</a>> loader)</pre>
<divclass="block">Puts the page into the page cache.
<p>
If the cache already inherits that <code>identifier</code>, it's renewed.</div>
<dd><code>identifier</code> - The identifier of the page</dd>
<dd><code>loader</code> - The <ahref="../../../../../../com/djrapitops/plan/system/webserver/response/Response.html"title="class in com.djrapitops.plan.system.webserver.response"><code>Response</code></a><code>Supplier</code> (How it should load the page)</dd>
<li><ahref="../../../../../../com/djrapitops/plan/system/webserver/cache/PageId.html"title="enum in com.djrapitops.plan.system.webserver.cache"><spanclass="typeNameLink">Prev Class</span></a></li>