<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
</span><spanclass="modifiers">public class </span><spanclass="element-name type-name-label">ResponseFactory</span>
<spanclass="extends-implements">extends <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></span></div>
<divclass="block">Factory for creating different <ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver"><code>Response</code></a> objects.</div>
<divclass="col-constructor-name even-row-color"><code><spanclass="member-name-link"><ahref="#%3Cinit%3E(com.djrapitops.plan.storage.file.PlanFiles,com.djrapitops.plan.delivery.rendering.pages.PageFactory,com.djrapitops.plan.settings.locale.Locale,com.djrapitops.plan.storage.database.DBSystem,com.djrapitops.plan.settings.theme.Theme)">ResponseFactory</a></span>​(<ahref="../../storage/file/PlanFiles.html"title="class in com.djrapitops.plan.storage.file">PlanFiles</a> files,
<ahref="../rendering/pages/PageFactory.html"title="class in com.djrapitops.plan.delivery.rendering.pages">PageFactory</a> pageFactory,
<ahref="../../settings/locale/Locale.html"title="class in com.djrapitops.plan.settings.locale">Locale</a> locale,
<ahref="../../storage/database/DBSystem.html"title="class in com.djrapitops.plan.storage.database">DBSystem</a> dbSystem,
<ahref="../../settings/theme/Theme.html"title="class in com.djrapitops.plan.settings.theme">Theme</a> theme)</code></div>
<divclass="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></code></div>
<divclass="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#badRequest(java.lang.String,java.lang.String)">badRequest</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> errorMessage,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> target)</code></div>
<divclass="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></code></div>
<divclass="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#cssResponse(java.lang.String)">cssResponse</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName)</code></div>
<divclass="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></code></div>
<divclass="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#fontResponse(java.lang.String)">fontResponse</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName)</code></div>
<divclass="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></code></div>
<divclass="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#forbidden403(java.lang.String)">forbidden403</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> message)</code></div>
<divclass="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="../web/resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a></code></div>
<divclass="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#getResource(java.lang.String)">getResource</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> resourceName)</code></div>
<divclass="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></code></div>
<divclass="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#imageResponse(java.lang.String)">imageResponse</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName)</code></div>
<divclass="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></code></div>
<divclass="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#internalErrorResponse(java.lang.Throwable,java.lang.String)">internalErrorResponse</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Throwable.html"title="class or interface in java.lang"class="external-link">Throwable</a> e,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> cause)</code></div>
<divclass="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></code></div>
<divclass="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#ipWhitelist403(java.lang.String)">ipWhitelist403</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> accessor)</code></div>
<divclass="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></code></div>
<divclass="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#javaScriptResponse(java.lang.String)">javaScriptResponse</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName)</code></div>
<divclass="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></code></div>
<divclass="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#notFound404(java.lang.String)">notFound404</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> message)</code></div>
<divclass="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></code></div>
<divclass="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#playerPageResponse(java.util.UUID)">playerPageResponse</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a> playerUUID)</code></div>
<divclass="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></code></div>
<divclass="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#rawPlayerPageResponse(java.util.UUID)">rawPlayerPageResponse</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a> playerUUID)</code></div>
<divclass="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></code></div>
<divclass="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#redirectResponse(java.lang.String)">redirectResponse</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> location)</code></div>
<h3id="methods.inherited.from.class.java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#clone()"title="class or interface in java.lang"class="external-link">clone</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"title="class or interface in java.lang"class="external-link">equals</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#finalize()"title="class or interface in java.lang"class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#hashCode()"title="class or interface in java.lang"class="external-link">hashCode</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#toString()"title="class or interface in java.lang"class="external-link">toString</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
</span><spanclass="modifiers">public</span> <spanclass="element-name">ResponseFactory</span>​<spanclass="parameters">(<ahref="../../storage/file/PlanFiles.html"title="class in com.djrapitops.plan.storage.file">PlanFiles</a> files,
<ahref="../rendering/pages/PageFactory.html"title="class in com.djrapitops.plan.delivery.rendering.pages">PageFactory</a> pageFactory,
<ahref="../../settings/locale/Locale.html"title="class in com.djrapitops.plan.settings.locale">Locale</a> locale,
<ahref="../../storage/database/DBSystem.html"title="class in com.djrapitops.plan.storage.database">DBSystem</a> dbSystem,
<ahref="../../settings/theme/Theme.html"title="class in com.djrapitops.plan.settings.theme">Theme</a> theme)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resource/WebResource.html"title="interface in com.djrapitops.plan.delivery.web.resource">WebResource</a></span> <spanclass="element-name">getResource</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> resourceName)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">playersPageResponse</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">internalErrorResponse</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Throwable.html"title="class or interface in java.lang"class="external-link">Throwable</a> e,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> cause)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">networkPageResponse</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">serverPageResponse</span>​<spanclass="parameters">(<ahref="../../identification/ServerUUID.html"title="class in com.djrapitops.plan.identification">ServerUUID</a> serverUUID)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">rawPlayerPageResponse</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a> playerUUID)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">javaScriptResponse</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">cssResponse</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">imageResponse</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">fontResponse</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fileName)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">redirectResponse</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> location)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">faviconResponse</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">robotsResponse</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">pageNotFound404</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">uuidNotFound404</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">playerNotFound404</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">notFound404</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> message)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">basicAuthFail</span>​<spanclass="parameters">(<ahref="../../exceptions/WebUserAuthException.html"title="class in com.djrapitops.plan.exceptions">WebUserAuthException</a> e)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">forbidden403</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">forbidden403</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> message)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">failedLoginAttempts403</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">ipWhitelist403</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> accessor)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">basicAuth</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">badRequest</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> errorMessage,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> target)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">playerPageResponse</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a> playerUUID)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">loginPageResponse</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">registerPageResponse</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">queryPageResponse</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../web/resolver/Response.html"title="class in com.djrapitops.plan.delivery.web.resolver">Response</a></span> <spanclass="element-name">errorsPageResponse</span>()</div>