<li><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.Holder.html"title="class in com.djrapitops.plan.delivery.web"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../com/djrapitops/plan/delivery/web/ResourceService.html"title="interface in com.djrapitops.plan.delivery.web"><spanclass="typeNameLink">Next Class</span></a></li>
<dd><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html"title="interface in com.djrapitops.plan.delivery.web">ResolverService</a></dd>
</dl>
<hr>
<br>
<pre>@Singleton
public class <spanclass="typeNameLabel">ResolverSvc</span>
extends java.lang.Object
implements <ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html"title="interface in com.djrapitops.plan.delivery.web">ResolverService</a></pre>
<h3>Nested classes/interfaces inherited from interface com.djrapitops.plan.delivery.web.<ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html"title="interface in com.djrapitops.plan.delivery.web">ResolverService</a></h3>
<code><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.Holder.html"title="class in com.djrapitops.plan.delivery.web">ResolverService.Holder</a></code></li>
<tdclass="colFirst"><code>java.util.Optional<<ahref="../../../../../com/djrapitops/plan/delivery/web/resolver/Resolver.html"title="interface in com.djrapitops.plan.delivery.web.resolver">Resolver</a>></code></td>
<divclass="block">Obtain a <ahref="../../../../../com/djrapitops/plan/delivery/web/resolver/Resolver.html"title="interface in com.djrapitops.plan.delivery.web.resolver"><code>Resolver</code></a> for a target.</div>
<tdclass="colFirst"><code>java.util.List<<ahref="../../../../../com/djrapitops/plan/delivery/web/resolver/Resolver.html"title="interface in com.djrapitops.plan.delivery.web.resolver">Resolver</a>></code></td>
<ahref="../../../../../com/djrapitops/plan/delivery/web/resolver/Resolver.html"title="interface in com.djrapitops.plan.delivery.web.resolver">Resolver</a> resolver)</code>
<ahref="../../../../../com/djrapitops/plan/delivery/web/resolver/Resolver.html"title="interface in com.djrapitops.plan.delivery.web.resolver">Resolver</a> resolver)</code>
<divclass="block">Register a new resolver with regex that maches start of target.</div>
<h3>Methods inherited from interface com.djrapitops.plan.delivery.web.<ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html"title="interface in com.djrapitops.plan.delivery.web">ResolverService</a></h3>
<ahref="../../../../../com/djrapitops/plan/delivery/web/resolver/Resolver.html"title="interface in com.djrapitops.plan.delivery.web.resolver">Resolver</a> resolver)</pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from interface: <code><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html#registerResolver-java.lang.String-java.lang.String-com.djrapitops.plan.delivery.web.resolver.Resolver-">ResolverService</a></code></span></div>
<dd><code><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html#registerResolver-java.lang.String-java.lang.String-com.djrapitops.plan.delivery.web.resolver.Resolver-">registerResolver</a></code> in interface <code><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html"title="interface in com.djrapitops.plan.delivery.web">ResolverService</a></code></dd>
<dd><code>pluginName</code> - Name of the plugin that is registering (For error messages)</dd>
<dd><code>start</code> - Start of the target to match against, eg "/example" will send "/example/target" etc to the Resolver.</dd>
<dd><code>resolver</code> - <ahref="../../../../../com/djrapitops/plan/delivery/web/resolver/Resolver.html"title="interface in com.djrapitops.plan.delivery.web.resolver"><code>Resolver</code></a> to use for this</dd>
<ahref="../../../../../com/djrapitops/plan/delivery/web/resolver/Resolver.html"title="interface in com.djrapitops.plan.delivery.web.resolver">Resolver</a> resolver)</pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from interface: <code><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html#registerResolverForMatches-java.lang.String-java.util.regex.Pattern-com.djrapitops.plan.delivery.web.resolver.Resolver-">ResolverService</a></code></span></div>
<divclass="block">Register a new resolver with regex that maches start of target.
<p>
NOTICE: It is recommended to avoid too generic regex like "/.*" to not override existing resolvers.
<p>
Parameters (?param=value) are not included in the regex matching.</div>
<dd><code><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html#registerResolverForMatches-java.lang.String-java.util.regex.Pattern-com.djrapitops.plan.delivery.web.resolver.Resolver-">registerResolverForMatches</a></code> in interface <code><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html"title="interface in com.djrapitops.plan.delivery.web">ResolverService</a></code></dd>
<dd><code>pluginName</code> - Name of the plugin that is registering (For error messages)</dd>
<dd><code>pattern</code> - Regex Pattern, "/example.*" will send "/exampletarget" etc to the Resolver.</dd>
<dd><code>resolver</code> - <ahref="../../../../../com/djrapitops/plan/delivery/web/resolver/Resolver.html"title="interface in com.djrapitops.plan.delivery.web.resolver"><code>Resolver</code></a> to use for this.</dd>
</dl>
</li>
</ul>
<aname="getResolver-java.lang.String-">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getResolver</h4>
<pre>public java.util.Optional<<ahref="../../../../../com/djrapitops/plan/delivery/web/resolver/Resolver.html"title="interface in com.djrapitops.plan.delivery.web.resolver">Resolver</a>> getResolver(java.lang.String target)</pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from interface: <code><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html#getResolver-java.lang.String-">ResolverService</a></code></span></div>
<divclass="block">Obtain a <ahref="../../../../../com/djrapitops/plan/delivery/web/resolver/Resolver.html"title="interface in com.djrapitops.plan.delivery.web.resolver"><code>Resolver</code></a> for a target.
<p>
First matching resolver will be returned.
<ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html#registerResolver-java.lang.String-java.lang.String-com.djrapitops.plan.delivery.web.resolver.Resolver-"><code>ResolverService.registerResolver(java.lang.String, java.lang.String, com.djrapitops.plan.delivery.web.resolver.Resolver)</code></a> resolvers have higher priority than <ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html#registerResolverForMatches-java.lang.String-java.util.regex.Pattern-com.djrapitops.plan.delivery.web.resolver.Resolver-"><code>ResolverService.registerResolverForMatches(java.lang.String, java.util.regex.Pattern, com.djrapitops.plan.delivery.web.resolver.Resolver)</code></a>.
<p>
Can be used when making Resolver middleware.</div>
<dd><code><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html#getResolver-java.lang.String-">getResolver</a></code> in interface <code><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html"title="interface in com.djrapitops.plan.delivery.web">ResolverService</a></code></dd>
<pre>public java.util.List<<ahref="../../../../../com/djrapitops/plan/delivery/web/resolver/Resolver.html"title="interface in com.djrapitops.plan.delivery.web.resolver">Resolver</a>> getResolvers(java.lang.String target)</pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from interface: <code><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html#getResolvers-java.lang.String-">ResolverService</a></code></span></div>
<divclass="block">Obtain all Resolvers that match the target.
<p>
If first returns Optional.empty next one should be used.
<dd><code><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html#getResolvers-java.lang.String-">getResolvers</a></code> in interface <code><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.html"title="interface in com.djrapitops.plan.delivery.web">ResolverService</a></code></dd>
<li><ahref="../../../../../com/djrapitops/plan/delivery/web/ResolverService.Holder.html"title="class in com.djrapitops.plan.delivery.web"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../com/djrapitops/plan/delivery/web/ResourceService.html"title="interface in com.djrapitops.plan.delivery.web"><spanclass="typeNameLink">Next Class</span></a></li>