website/docs/ddoc/handlers/search-results.html

107 lines
31 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Documentation</title>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
<link href="style.css" rel="stylesheet" />
<script src="script.js" type="text/javascript"></script>
<link href="search-results.html" rel="prefetch" />
</head>
<body>
<div id="page-header">
<div id="logotype">
<span>Documentation</span>
<nav>
<a href="http://dlang.org/">Dlang.org</a>
</nav>
</div>
<form action="search-docs.html" id="search">
<input name="searchTerm" placeholder="Find a symbol name..." type="search" />
<input type="submit" value="Go" />
</form>
</div>
<div id="page-body">
<div id="page-content">
</div>
<div id="page-nav">
</div>
</div>
<div id="page-footer">Page generated by <a href="https://github.com/adamdruppe/adrdox">adrdox</a></div>
<script type="text/xml" id="search-index-container">
<adrdox>
<listing>
<decl id="1" type="module"><name>handy_http_handlers.path_handler</name><desc>&lt;div&gt;&lt;p&gt;Defines a path-matching request handler, that will match incoming requests
against a set of mappings based on the URL and HTTP method, and call a
handler depending on what's matched.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.html</link><decl id="2" type="function"><name>getMethodBit</name><desc>&lt;div&gt;&lt;p&gt;Maps each HTTP method to a bit value, so we can use bit-masking for handler mappings.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.getMethodBit.html</link></decl><decl id="3" type="function"><name>methodMaskFromMethods</name><desc>&lt;div&gt;&lt;p&gt;Computes a bitmask from a list of HTTP methods.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.methodMaskFromMethods.html</link></decl><decl id="4" type="function"><name>methodMaskFromAll</name><desc>&lt;div&gt;&lt;p&gt;Gets a bitmask that matches all HTTP methods.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.methodMaskFromAll.html</link></decl><decl id="5" type="class"><name>PathHandlerContextData</name><desc>&lt;div&gt;&lt;p&gt;Context data that may be attached to a request to provide additional data
from path matching results, like any path variables that were found.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandlerContextData.html</link><decl id="6" type="variable"><name>params</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandlerContextData.params.html</link></decl><decl id="7" type="constructor"><name>this</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandlerContextData.this.html</link></decl></decl><decl id="8" type="function"><name>getPathParams</name><desc>&lt;div&gt;&lt;p&gt;Gets the set of path variables that were matched when the given request was
handled by the path handler.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.getPathParams.html</link></decl><decl id="9" type="function"><name>getPathParamAs</name><desc>&lt;div&gt;&lt;p&gt;Gets a specific path variable's value.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.getPathParamAs.html</link></decl><decl id="10" type="class"><name>PathHandler</name><desc>&lt;div&gt;&lt;p&gt;A request handler that maps incoming requests to a particular handler based
on the request's URL path and/or HTTP method (GET, POST, etc.).&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.html</link><decl id="11" type="constructor"><name>this</name><desc>&lt;div&gt;&lt;p&gt;Constructs a new path handler with initially no mappings, and a default
notFoundHandler that simply sets a 404 status.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.this.html</link></decl><decl id="12" type="function"><name>addMapping</name><desc>&lt;div&gt;&lt;p&gt;Adds a mapping to this handler, such that requests which match the given
method and pattern will be handed off to the given handler.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.addMapping.1.html</link></decl><decl id="13" type="function"><name>addMapping</name><desc>&lt;div&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.addMapping.2.html</link></decl><decl id="14" type="function"><name>addMapping</name><desc>&lt;div&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.addMapping.3.html</link></decl><decl id="15" type="function"><name>addMapping</name><desc>&lt;div&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.addMapping.4.html</link></decl><decl id="16" type="function"><name>addMapping</name><desc>&lt;div&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.addMapping.5.html</link></decl><decl id="17" type="function"><name>setNotFoundHandler</name><desc>&lt;div&gt;&lt;p&gt;Sets the handler that will be called for requests that don't match any
pre-configured mappings.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.setNotFoundHandler.html</link></decl><decl id="18" type="function"><name>handle</name><desc>&lt;div&gt;&lt;p&gt;Handles a request by looking for a mapped handler whose method and pattern
match the request's, and letting that handler handle the request. If no
match is found, the notFoundHandler will take care of it.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.handle.html</link></decl><decl id="19" type="function"><name>registerHandlers</name><desc>&lt;div&gt;&lt;p&gt;Adds mappings to this path handler which correspond to functions defined
in the given symbol which have been annotated with the &lt;tt class=&quot;inline-code&quot;&gt;@PathMapping&lt;/tt&gt;
attribute (or any simplified aliases like &lt;tt class=&quot;inline-code&quot;&gt;@GetMapping&lt;/tt&gt;).&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.registerHandlers.html</link></decl></decl><decl id="20" type="struct"><name>PathMapping</name><desc>&lt;div&gt;&lt;p&gt;A user-defined attribute that, when added to a function, allows that
function to be registered automatically by a path handler when you call
its &lt;tt class=&quot;inline-code&quot;&gt;registerHandlers&lt;/tt&gt; method on the module containing the function.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathMapping.html</link><decl id="21" type="variable"><name>method</name><desc>&lt;div&gt;&lt;p&gt;The HTTP method that the mapping accepts.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathMapping.method.html</link></decl><decl id="22" type="variable"><name>pattern</name><desc>&lt;div&gt;&lt;p&gt;The path pattern for the mapping.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathMapping.pattern.html</link></decl></decl><decl id="23" type="struct"><name>GetMapping</name><desc>&lt;div&gt;&lt;p&gt;A simplified version of &lt;tt class=&quot;inline-code&quot;&gt;PathMapping&lt;/tt&gt; for HTTP GET mappings only.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.GetMapping.html</link><decl id="24" type="variable"><name>pattern</name><desc>&lt;div&gt;&lt;p&gt;See &lt;tt class=&quot;inline-code&quot;&gt;PathMapping.pattern&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.GetMapping.pattern.html</link></decl></decl><decl id="25" type="struct"><name>PostMapping</name><desc>&lt;div&gt;&lt;p&gt;A simplified version of &lt;tt class=&quot;inline-code&quot;&gt;PathMapping&lt;/tt&gt; for HTTP POST mappings only.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PostMapping.html</link><decl id="26" type="variable"><name>pattern</name><desc>&lt;div&gt;&lt;p&gt;See &lt;tt class=&quot;inline-code&quot;&gt;PathMapping.pattern&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PostMapping.pattern.html</link></decl></decl><decl id="27" type="struct"><name>PutMapping</name><desc>&lt;div&gt;&lt;p&gt;A simplified version of &lt;tt class=&quot;inline-code&quot;&gt;PathMapping&lt;/tt&gt; for HTTP PUT mappings only.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PutMapping.html</link><decl id="28" type="variable"><name>pattern</name><desc>&lt;div&gt;&lt;p&gt;See &lt;tt class=&quot;inline-code&quot;&gt;PathMapping.pattern&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PutMapping.pattern.html</link></decl></decl><decl id="29" type="struct"><name>DeleteMapping</name><desc>&lt;div&gt;&lt;p&gt;A simplified version of &lt;tt class=&quot;inline-code&quot;&gt;PathMapping&lt;/tt&gt; for HTTP DELETE mappings only.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.DeleteMapping.html</link><decl id="30" type="variable"><name>pattern</name><desc>&lt;div&gt;&lt;p&gt;See &lt;tt class=&quot;inline-code&quot;&gt;PathMapping.pattern&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.DeleteMapping.pattern.html</link></decl></decl><decl id="31" type="struct"><name>PatchMapping</name><desc>&lt;div&gt;&lt;p&gt;A simplified version of &lt;tt class=&quot;inline-code&quot;&gt;PathMapping&lt;/tt&gt; for HTTP PATCH mappings only.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PatchMapping.html</link><decl id="32" type="variable"><name>pattern</name><desc>&lt;div&gt;&lt;p&gt;See &lt;tt class=&quot;inline-code&quot;&gt;PathMapping.pattern&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PatchMapping.pattern.html</link></decl></decl></decl><decl id="33" type="module"><name>handy_http_handlers</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.html</link><decl id="34" type="module"><name>handy_http_handlers.path_handler</name><desc>&lt;div&gt;&lt;p&gt;Defines a path-matching request handler, that will match incoming requests
against a set of mappings based on the URL and HTTP method, and call a
handler depending on what's matched.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.html</link><decl id="35" type="function"><name>getMethodBit</name><desc>&lt;div&gt;&lt;p&gt;Maps each HTTP method to a bit value, so we can use bit-masking for handler mappings.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.getMethodBit.html</link></decl><decl id="36" type="function"><name>methodMaskFromMethods</name><desc>&lt;div&gt;&lt;p&gt;Computes a bitmask from a list of HTTP methods.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.methodMaskFromMethods.html</link></decl><decl id="37" type="function"><name>methodMaskFromAll</name><desc>&lt;div&gt;&lt;p&gt;Gets a bitmask that matches all HTTP methods.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.methodMaskFromAll.html</link></decl><decl id="38" type="class"><name>PathHandlerContextData</name><desc>&lt;div&gt;&lt;p&gt;Context data that may be attached to a request to provide additional data
from path matching results, like any path variables that were found.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandlerContextData.html</link><decl id="39" type="variable"><name>params</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandlerContextData.params.html</link></decl><decl id="40" type="constructor"><name>this</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandlerContextData.this.html</link></decl></decl><decl id="41" type="function"><name>getPathParams</name><desc>&lt;div&gt;&lt;p&gt;Gets the set of path variables that were matched when the given request was
handled by the path handler.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.getPathParams.html</link></decl><decl id="42" type="function"><name>getPathParamAs</name><desc>&lt;div&gt;&lt;p&gt;Gets a specific path variable's value.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.getPathParamAs.html</link></decl><decl id="43" type="class"><name>PathHandler</name><desc>&lt;div&gt;&lt;p&gt;A request handler that maps incoming requests to a particular handler based
on the request's URL path and/or HTTP method (GET, POST, etc.).&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.html</link><decl id="44" type="constructor"><name>this</name><desc>&lt;div&gt;&lt;p&gt;Constructs a new path handler with initially no mappings, and a default
notFoundHandler that simply sets a 404 status.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.this.html</link></decl><decl id="45" type="function"><name>addMapping</name><desc>&lt;div&gt;&lt;p&gt;Adds a mapping to this handler, such that requests which match the given
method and pattern will be handed off to the given handler.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.addMapping.1.html</link></decl><decl id="46" type="function"><name>addMapping</name><desc>&lt;div&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.addMapping.2.html</link></decl><decl id="47" type="function"><name>addMapping</name><desc>&lt;div&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.addMapping.3.html</link></decl><decl id="48" type="function"><name>addMapping</name><desc>&lt;div&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.addMapping.4.html</link></decl><decl id="49" type="function"><name>addMapping</name><desc>&lt;div&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.addMapping.5.html</link></decl><decl id="50" type="function"><name>setNotFoundHandler</name><desc>&lt;div&gt;&lt;p&gt;Sets the handler that will be called for requests that don't match any
pre-configured mappings.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.setNotFoundHandler.html</link></decl><decl id="51" type="function"><name>handle</name><desc>&lt;div&gt;&lt;p&gt;Handles a request by looking for a mapped handler whose method and pattern
match the request's, and letting that handler handle the request. If no
match is found, the notFoundHandler will take care of it.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.handle.html</link></decl><decl id="52" type="function"><name>registerHandlers</name><desc>&lt;div&gt;&lt;p&gt;Adds mappings to this path handler which correspond to functions defined
in the given symbol which have been annotated with the &lt;tt class=&quot;inline-code&quot;&gt;@PathMapping&lt;/tt&gt;
attribute (or any simplified aliases like &lt;tt class=&quot;inline-code&quot;&gt;@GetMapping&lt;/tt&gt;).&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathHandler.registerHandlers.html</link></decl></decl><decl id="53" type="struct"><name>PathMapping</name><desc>&lt;div&gt;&lt;p&gt;A user-defined attribute that, when added to a function, allows that
function to be registered automatically by a path handler when you call
its &lt;tt class=&quot;inline-code&quot;&gt;registerHandlers&lt;/tt&gt; method on the module containing the function.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathMapping.html</link><decl id="54" type="variable"><name>method</name><desc>&lt;div&gt;&lt;p&gt;The HTTP method that the mapping accepts.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathMapping.method.html</link></decl><decl id="55" type="variable"><name>pattern</name><desc>&lt;div&gt;&lt;p&gt;The path pattern for the mapping.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PathMapping.pattern.html</link></decl></decl><decl id="56" type="struct"><name>GetMapping</name><desc>&lt;div&gt;&lt;p&gt;A simplified version of &lt;tt class=&quot;inline-code&quot;&gt;PathMapping&lt;/tt&gt; for HTTP GET mappings only.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.GetMapping.html</link><decl id="57" type="variable"><name>pattern</name><desc>&lt;div&gt;&lt;p&gt;See &lt;tt class=&quot;inline-code&quot;&gt;PathMapping.pattern&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.GetMapping.pattern.html</link></decl></decl><decl id="58" type="struct"><name>PostMapping</name><desc>&lt;div&gt;&lt;p&gt;A simplified version of &lt;tt class=&quot;inline-code&quot;&gt;PathMapping&lt;/tt&gt; for HTTP POST mappings only.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PostMapping.html</link><decl id="59" type="variable"><name>pattern</name><desc>&lt;div&gt;&lt;p&gt;See &lt;tt class=&quot;inline-code&quot;&gt;PathMapping.pattern&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PostMapping.pattern.html</link></decl></decl><decl id="60" type="struct"><name>PutMapping</name><desc>&lt;div&gt;&lt;p&gt;A simplified version of &lt;tt class=&quot;inline-code&quot;&gt;PathMapping&lt;/tt&gt; for HTTP PUT mappings only.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PutMapping.html</link><decl id="61" type="variable"><name>pattern</name><desc>&lt;div&gt;&lt;p&gt;See &lt;tt class=&quot;inline-code&quot;&gt;PathMapping.pattern&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PutMapping.pattern.html</link></decl></decl><decl id="62" type="struct"><name>DeleteMapping</name><desc>&lt;div&gt;&lt;p&gt;A simplified version of &lt;tt class=&quot;inline-code&quot;&gt;PathMapping&lt;/tt&gt; for HTTP DELETE mappings only.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.DeleteMapping.html</link><decl id="63" type="variable"><name>pattern</name><desc>&lt;div&gt;&lt;p&gt;See &lt;tt class=&quot;inline-code&quot;&gt;PathMapping.pattern&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.DeleteMapping.pattern.html</link></decl></decl><decl id="64" type="struct"><name>PatchMapping</name><desc>&lt;div&gt;&lt;p&gt;A simplified version of &lt;tt class=&quot;inline-code&quot;&gt;PathMapping&lt;/tt&gt; for HTTP PATCH mappings only.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PatchMapping.html</link><decl id="65" type="variable"><name>pattern</name><desc>&lt;div&gt;&lt;p&gt;See &lt;tt class=&quot;inline-code&quot;&gt;PathMapping.pattern&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler.PatchMapping.pattern.html</link></decl></decl></decl><decl id="66" type="module"><name>handy_http_handlers.filtered_handler</name><desc>&lt;div&gt;&lt;p&gt;Defines a &amp;quot;filtered&amp;quot; request handler, that applies an ordered set of filters
(otherwise known as a &amp;quot;filter chain&amp;quot;) before and after handling a request,
as a means of adding a simple middleware layer to HTTP request processing.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.html</link><decl id="67" type="interface"><name>HttpRequestFilter</name><desc>&lt;div&gt;&lt;p&gt;A filter that can be applied to an HTTP request. If the filter determines
that it's okay to continue processing the request, it should call
&lt;tt class=&quot;inline-code&quot;&gt;filterChain.doFilter(request, response)&lt;/tt&gt; to continue the chain. If the
chain is not continued, request processing ends at this filter, and the
current response is sent back to the client.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.HttpRequestFilter.html</link><decl id="68" type="function"><name>doFilter</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.HttpRequestFilter.doFilter.html</link></decl></decl><decl id="69" type="class"><name>FilterChain</name><desc>&lt;div&gt;&lt;p&gt;A filter chain is a singly-linked list that represents a series of filters
to be applied when processing a request.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilterChain.html</link><decl id="70" type="constructor"><name>this</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilterChain.this.html</link></decl><decl id="71" type="function"><name>doFilter</name><desc>&lt;div&gt;&lt;p&gt;Applies this filter chain link's filter to the given request and
response, and then if there's another link in the chain, calls it to
apply its filter thereafter, and so on until the chain is complete or
a filter has short-circuited without calling &lt;tt class=&quot;inline-code&quot;&gt;filterChain.doFilter&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilterChain.doFilter.html</link></decl><decl id="72" type="static function"><name>build</name><desc>&lt;div&gt;&lt;p&gt;Builds a filter chain from a list of request filters.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilterChain.build.html</link></decl></decl><decl id="73" type="class"><name>BaseHandlerRequestFilter</name><desc>&lt;div&gt;&lt;p&gt;A simple base filter that should always sit at the bottom of the filter
chain, which just calls a request handler.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.BaseHandlerRequestFilter.html</link><decl id="74" type="constructor"><name>this</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.BaseHandlerRequestFilter.this.html</link></decl><decl id="75" type="function"><name>doFilter</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source. Be warned that the author may not have intended to support it.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.BaseHandlerRequestFilter.doFilter.html</link></decl></decl><decl id="76" type="class"><name>FilteredHandler</name><desc>&lt;div&gt;&lt;p&gt;The FilteredHandler is a request handler you can add to your server to apply
a filter chain to an underlying request handler.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilteredHandler.html</link><decl id="77" type="constructor"><name>this</name><desc>&lt;div&gt;&lt;p&gt;Constructs a filtered handler that applies the given filter chain. Note
that you should probabconstly use the other constructor for most cases, but
if you really want to provide a custom filter chain, you'll most likely
want to add the &lt;tt class=&quot;inline-code&quot;&gt;BaseHandlerRequestFilter&lt;/tt&gt; as the last one in the chain.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilteredHandler.this.1.html</link></decl><decl id="78" type="constructor"><name>this</name><desc>&lt;div&gt;&lt;p&gt;Constructs a filtered handler that applies the given set of filters, in
order, before potentially calling the given base handler.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilteredHandler.this.2.html</link></decl><decl id="79" type="function"><name>handle</name><desc>&lt;div&gt;&lt;p&gt;Handles an incoming request by simply calling the filter chain on it.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilteredHandler.handle.html</link></decl></decl></decl><decl id="80" type="module"><name>handy_http_handlers.path_handler_sample_module</name><desc>&lt;div&gt;&lt;p&gt;This module defines some path mapping functions to help test the path
handler's function for registering annotated functions.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler_sample_module.html</link><decl id="81" type="function"><name>h1</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source. Be warned that the author may not have intended to support it.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler_sample_module.h1.html</link></decl><decl id="82" type="function"><name>h2</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source. Be warned that the author may not have intended to support it.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler_sample_module.h2.html</link></decl><decl id="83" type="function"><name>h3</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source. Be warned that the author may not have intended to support it.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler_sample_module.h3.html</link></decl></decl></decl><decl id="84" type="module"><name>handy_http_handlers.filtered_handler</name><desc>&lt;div&gt;&lt;p&gt;Defines a &amp;quot;filtered&amp;quot; request handler, that applies an ordered set of filters
(otherwise known as a &amp;quot;filter chain&amp;quot;) before and after handling a request,
as a means of adding a simple middleware layer to HTTP request processing.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.html</link><decl id="85" type="interface"><name>HttpRequestFilter</name><desc>&lt;div&gt;&lt;p&gt;A filter that can be applied to an HTTP request. If the filter determines
that it's okay to continue processing the request, it should call
&lt;tt class=&quot;inline-code&quot;&gt;filterChain.doFilter(request, response)&lt;/tt&gt; to continue the chain. If the
chain is not continued, request processing ends at this filter, and the
current response is sent back to the client.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.HttpRequestFilter.html</link><decl id="86" type="function"><name>doFilter</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.HttpRequestFilter.doFilter.html</link></decl></decl><decl id="87" type="class"><name>FilterChain</name><desc>&lt;div&gt;&lt;p&gt;A filter chain is a singly-linked list that represents a series of filters
to be applied when processing a request.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilterChain.html</link><decl id="88" type="constructor"><name>this</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilterChain.this.html</link></decl><decl id="89" type="function"><name>doFilter</name><desc>&lt;div&gt;&lt;p&gt;Applies this filter chain link's filter to the given request and
response, and then if there's another link in the chain, calls it to
apply its filter thereafter, and so on until the chain is complete or
a filter has short-circuited without calling &lt;tt class=&quot;inline-code&quot;&gt;filterChain.doFilter&lt;/tt&gt;.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilterChain.doFilter.html</link></decl><decl id="90" type="static function"><name>build</name><desc>&lt;div&gt;&lt;p&gt;Builds a filter chain from a list of request filters.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilterChain.build.html</link></decl></decl><decl id="91" type="class"><name>BaseHandlerRequestFilter</name><desc>&lt;div&gt;&lt;p&gt;A simple base filter that should always sit at the bottom of the filter
chain, which just calls a request handler.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.BaseHandlerRequestFilter.html</link><decl id="92" type="constructor"><name>this</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.BaseHandlerRequestFilter.this.html</link></decl><decl id="93" type="function"><name>doFilter</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source. Be warned that the author may not have intended to support it.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.BaseHandlerRequestFilter.doFilter.html</link></decl></decl><decl id="94" type="class"><name>FilteredHandler</name><desc>&lt;div&gt;&lt;p&gt;The FilteredHandler is a request handler you can add to your server to apply
a filter chain to an underlying request handler.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilteredHandler.html</link><decl id="95" type="constructor"><name>this</name><desc>&lt;div&gt;&lt;p&gt;Constructs a filtered handler that applies the given filter chain. Note
that you should probabconstly use the other constructor for most cases, but
if you really want to provide a custom filter chain, you'll most likely
want to add the &lt;tt class=&quot;inline-code&quot;&gt;BaseHandlerRequestFilter&lt;/tt&gt; as the last one in the chain.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilteredHandler.this.1.html</link></decl><decl id="96" type="constructor"><name>this</name><desc>&lt;div&gt;&lt;p&gt;Constructs a filtered handler that applies the given set of filters, in
order, before potentially calling the given base handler.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilteredHandler.this.2.html</link></decl><decl id="97" type="function"><name>handle</name><desc>&lt;div&gt;&lt;p&gt;Handles an incoming request by simply calling the filter chain on it.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.filtered_handler.FilteredHandler.handle.html</link></decl></decl></decl><decl id="98" type="module"><name>handy_http_handlers.path_handler_sample_module</name><desc>&lt;div&gt;&lt;p&gt;This module defines some path mapping functions to help test the path
handler's function for registering annotated functions.&lt;/p&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler_sample_module.html</link><decl id="99" type="function"><name>h1</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source. Be warned that the author may not have intended to support it.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler_sample_module.h1.html</link></decl><decl id="100" type="function"><name>h2</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source. Be warned that the author may not have intended to support it.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler_sample_module.h2.html</link></decl><decl id="101" type="function"><name>h3</name><desc>&lt;div&gt;&lt;span class=&quot;undocumented-note&quot;&gt;Undocumented in source. Be warned that the author may not have intended to support it.&lt;/span&gt;&lt;/div&gt;</desc><link>handy_http_handlers.path_handler_sample_module.h3.html</link></decl></decl></listing>
<index>
</index>
</adrdox>
</script>
<script src="search-docs.js"></script>
</body></html>