diff --git a/doc/api/documentable/Documentable-class.html b/doc/api/documentable/Documentable-class.html new file mode 100644 index 000000000..62fae1e64 --- /dev/null +++ b/doc/api/documentable/Documentable-class.html @@ -0,0 +1,167 @@ + + + + + + + Documentable class - documentable library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
class
Documentable +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ +

Not documented.

+ +
+ + + + + + +
+

Constructors

+ +
+
+ Documentable() +
+
+

+
+
+
+ + + +
+ + + +
+
+ + + + + + + + + + + + + + diff --git a/doc/api/documentable/Documentable/Documentable.html b/doc/api/documentable/Documentable/Documentable.html new file mode 100644 index 000000000..7143f9817 --- /dev/null +++ b/doc/api/documentable/Documentable/Documentable.html @@ -0,0 +1,143 @@ + + + + + + + Documentable constructor - Documentable class - documentable library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
constructor
Documentable +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ + Documentable() +
+ +
+ +

Not documented.

+ +
+ + +
+ +
+
+ + + + + + + + + + + + + + diff --git a/doc/api/documentable/documentable-library.html b/doc/api/documentable/documentable-library.html new file mode 100644 index 000000000..bbf72113a --- /dev/null +++ b/doc/api/documentable/documentable-library.html @@ -0,0 +1,159 @@ + + + + + + + documentable library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
library
documentable +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ +

Not documented.

+ +
+ + + + + + +
+

Classes

+ +
+
+ Documentable +
+
+

+
+
+
+ + +
+ + + + +
+
+ + + + + + + + + + + + + + diff --git a/doc/api/index.html b/doc/api/index.html index d51c7c8d4..88d05fb2c 100644 --- a/doc/api/index.html +++ b/doc/api/index.html @@ -27,32 +27,53 @@
+
- -
-

-
package
monadart -

- -
- -
+
+
+ +
+

+
package
monadart +

+
+ +
+
+ +
+
+ + -
+
@@ -64,29 +85,34 @@

monadart

Libraries

+
+ documentable +
+
+ Library not documented. +

+ +

+
monadart
Library not documented. - +

+ +

-
@@ -111,10 +137,14 @@
monadart
+ + + + diff --git a/doc/api/index.json b/doc/api/index.json new file mode 100644 index 000000000..0d807d54f --- /dev/null +++ b/doc/api/index.json @@ -0,0 +1 @@ +[{"name":"documentable","href":"documentable/documentable-library.html","type":"library"},{"name":"Documentable","href":"documentable/Documentable-class.html","type":"class","enclosedBy":{"name":"documentable","type":"library"}},{"name":"Documentable","href":"documentable/Documentable/Documentable.html","type":"constructor","enclosedBy":{"name":"Documentable","type":"class"}},{"name":"monadart","href":"monadart/monadart-library.html","type":"library"},{"name":"Application","href":"monadart/Application-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"Application","href":"monadart/Application/Application.html","type":"constructor","enclosedBy":{"name":"Application","type":"class"}},{"name":"configuration","href":"monadart/Application/configuration.html","type":"property","enclosedBy":{"name":"Application","type":"class"}},{"name":"pipelineType","href":"monadart/Application/pipelineType.html","type":"property","enclosedBy":{"name":"Application","type":"class"}},{"name":"servers","href":"monadart/Application/servers.html","type":"property","enclosedBy":{"name":"Application","type":"class"}},{"name":"start","href":"monadart/Application/start.html","type":"method","enclosedBy":{"name":"Application","type":"class"}},{"name":"ApplicationInstanceConfiguration","href":"monadart/ApplicationInstanceConfiguration-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"ApplicationInstanceConfiguration","href":"monadart/ApplicationInstanceConfiguration/ApplicationInstanceConfiguration.html","type":"constructor","enclosedBy":{"name":"ApplicationInstanceConfiguration","type":"class"}},{"name":"ApplicationInstanceConfiguration.fromConfiguration","href":"monadart/ApplicationInstanceConfiguration/ApplicationInstanceConfiguration.fromConfiguration.html","type":"constructor","enclosedBy":{"name":"ApplicationInstanceConfiguration","type":"class"}},{"name":"address","href":"monadart/ApplicationInstanceConfiguration/address.html","type":"property","enclosedBy":{"name":"ApplicationInstanceConfiguration","type":"class"}},{"name":"isIpv6Only","href":"monadart/ApplicationInstanceConfiguration/isIpv6Only.html","type":"property","enclosedBy":{"name":"ApplicationInstanceConfiguration","type":"class"}},{"name":"isUsingClientCertificate","href":"monadart/ApplicationInstanceConfiguration/isUsingClientCertificate.html","type":"property","enclosedBy":{"name":"ApplicationInstanceConfiguration","type":"class"}},{"name":"pipelineOptions","href":"monadart/ApplicationInstanceConfiguration/pipelineOptions.html","type":"property","enclosedBy":{"name":"ApplicationInstanceConfiguration","type":"class"}},{"name":"port","href":"monadart/ApplicationInstanceConfiguration/port.html","type":"property","enclosedBy":{"name":"ApplicationInstanceConfiguration","type":"class"}},{"name":"serverCertificateName","href":"monadart/ApplicationInstanceConfiguration/serverCertificateName.html","type":"property","enclosedBy":{"name":"ApplicationInstanceConfiguration","type":"class"}},{"name":"shared","href":"monadart/ApplicationInstanceConfiguration/shared.html","type":"property","enclosedBy":{"name":"ApplicationInstanceConfiguration","type":"class"}},{"name":"ApplicationPipeline","href":"monadart/ApplicationPipeline-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"ApplicationPipeline","href":"monadart/ApplicationPipeline/ApplicationPipeline.html","type":"constructor","enclosedBy":{"name":"ApplicationPipeline","type":"class"}},{"name":"options","href":"monadart/ApplicationPipeline/options.html","type":"property","enclosedBy":{"name":"ApplicationPipeline","type":"class"}},{"name":"HttpBody","href":"monadart/HttpBody-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"HttpBody","href":"monadart/HttpBody/HttpBody.html","type":"constructor","enclosedBy":{"name":"HttpBody","type":"class"}},{"name":"body","href":"monadart/HttpBody/body.html","type":"property","enclosedBy":{"name":"HttpBody","type":"class"}},{"name":"type","href":"monadart/HttpBody/type.html","type":"property","enclosedBy":{"name":"HttpBody","type":"class"}},{"name":"HttpBodyFileUpload","href":"monadart/HttpBodyFileUpload-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"HttpBodyFileUpload","href":"monadart/HttpBodyFileUpload/HttpBodyFileUpload.html","type":"constructor","enclosedBy":{"name":"HttpBodyFileUpload","type":"class"}},{"name":"content","href":"monadart/HttpBodyFileUpload/content.html","type":"property","enclosedBy":{"name":"HttpBodyFileUpload","type":"class"}},{"name":"contentType","href":"monadart/HttpBodyFileUpload/contentType.html","type":"property","enclosedBy":{"name":"HttpBodyFileUpload","type":"class"}},{"name":"filename","href":"monadart/HttpBodyFileUpload/filename.html","type":"property","enclosedBy":{"name":"HttpBodyFileUpload","type":"class"}},{"name":"HttpBodyHandler","href":"monadart/HttpBodyHandler-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"HttpBodyHandler","href":"monadart/HttpBodyHandler/HttpBodyHandler.html","type":"constructor","enclosedBy":{"name":"HttpBodyHandler","type":"class"}},{"name":"bind","href":"monadart/HttpBodyHandler/bind.html","type":"method","enclosedBy":{"name":"HttpBodyHandler","type":"class"}},{"name":"processRequest","href":"monadart/HttpBodyHandler/processRequest.html","type":"method","enclosedBy":{"name":"HttpBodyHandler","type":"class"}},{"name":"processResponse","href":"monadart/HttpBodyHandler/processResponse.html","type":"method","enclosedBy":{"name":"HttpBodyHandler","type":"class"}},{"name":"HttpClientResponseBody","href":"monadart/HttpClientResponseBody-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"HttpClientResponseBody","href":"monadart/HttpClientResponseBody/HttpClientResponseBody.html","type":"constructor","enclosedBy":{"name":"HttpClientResponseBody","type":"class"}},{"name":"response","href":"monadart/HttpClientResponseBody/response.html","type":"property","enclosedBy":{"name":"HttpClientResponseBody","type":"class"}},{"name":"HttpController","href":"monadart/HttpController-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"HttpController","href":"monadart/HttpController/HttpController.html","type":"constructor","enclosedBy":{"name":"HttpController","type":"class"}},{"name":"acceptedContentTypes","href":"monadart/HttpController/acceptedContentTypes.html","type":"property","enclosedBy":{"name":"HttpController","type":"class"}},{"name":"exceptionHandler","href":"monadart/HttpController/exceptionHandler.html","type":"property","enclosedBy":{"name":"HttpController","type":"class"}},{"name":"pathVariables","href":"monadart/HttpController/pathVariables.html","type":"property","enclosedBy":{"name":"HttpController","type":"class"}},{"name":"requestBody","href":"monadart/HttpController/requestBody.html","type":"property","enclosedBy":{"name":"HttpController","type":"class"}},{"name":"resourceRequest","href":"monadart/HttpController/resourceRequest.html","type":"property","enclosedBy":{"name":"HttpController","type":"class"}},{"name":"responseBodyEncoder","href":"monadart/HttpController/responseBodyEncoder.html","type":"property","enclosedBy":{"name":"HttpController","type":"class"}},{"name":"responseContentType","href":"monadart/HttpController/responseContentType.html","type":"property","enclosedBy":{"name":"HttpController","type":"class"}},{"name":"handleRequest","href":"monadart/HttpController/handleRequest.html","type":"method","enclosedBy":{"name":"HttpController","type":"class"}},{"name":"HttpMethod","href":"monadart/HttpMethod-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"HttpMethod","href":"monadart/HttpMethod/HttpMethod.html","type":"constructor","enclosedBy":{"name":"HttpMethod","type":"class"}},{"name":"method","href":"monadart/HttpMethod/method.html","type":"property","enclosedBy":{"name":"HttpMethod","type":"class"}},{"name":"matchesRequest","href":"monadart/HttpMethod/matchesRequest.html","type":"method","enclosedBy":{"name":"HttpMethod","type":"class"}},{"name":"HttpMultipartFormData","href":"monadart/HttpMultipartFormData-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"HttpMultipartFormData","href":"monadart/HttpMultipartFormData/HttpMultipartFormData.html","type":"constructor","enclosedBy":{"name":"HttpMultipartFormData","type":"class"}},{"name":"contentDisposition","href":"monadart/HttpMultipartFormData/contentDisposition.html","type":"property","enclosedBy":{"name":"HttpMultipartFormData","type":"class"}},{"name":"contentTransferEncoding","href":"monadart/HttpMultipartFormData/contentTransferEncoding.html","type":"property","enclosedBy":{"name":"HttpMultipartFormData","type":"class"}},{"name":"contentType","href":"monadart/HttpMultipartFormData/contentType.html","type":"property","enclosedBy":{"name":"HttpMultipartFormData","type":"class"}},{"name":"isBinary","href":"monadart/HttpMultipartFormData/isBinary.html","type":"property","enclosedBy":{"name":"HttpMultipartFormData","type":"class"}},{"name":"isText","href":"monadart/HttpMultipartFormData/isText.html","type":"property","enclosedBy":{"name":"HttpMultipartFormData","type":"class"}},{"name":"value","href":"monadart/HttpMultipartFormData/value.html","type":"method","enclosedBy":{"name":"HttpMultipartFormData","type":"class"}},{"name":"parse","href":"monadart/HttpMultipartFormData/parse.html","type":"method","enclosedBy":{"name":"HttpMultipartFormData","type":"class"}},{"name":"HttpRequestBody","href":"monadart/HttpRequestBody-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"HttpRequestBody","href":"monadart/HttpRequestBody/HttpRequestBody.html","type":"constructor","enclosedBy":{"name":"HttpRequestBody","type":"class"}},{"name":"request","href":"monadart/HttpRequestBody/request.html","type":"property","enclosedBy":{"name":"HttpRequestBody","type":"class"}},{"name":"RequestHandler","href":"monadart/RequestHandler-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"RequestHandler","href":"monadart/RequestHandler/RequestHandler.html","type":"constructor","enclosedBy":{"name":"RequestHandler","type":"class"}},{"name":"handleRequest","href":"monadart/RequestHandler/handleRequest.html","type":"method","enclosedBy":{"name":"RequestHandler","type":"class"}},{"name":"RequestHandlerGenerator","href":"monadart/RequestHandlerGenerator-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"RequestHandlerGenerator","href":"monadart/RequestHandlerGenerator/RequestHandlerGenerator.html","type":"constructor","enclosedBy":{"name":"RequestHandlerGenerator","type":"class"}},{"name":"handleRequest","href":"monadart/RequestHandlerGenerator/handleRequest.html","type":"method","enclosedBy":{"name":"RequestHandlerGenerator","type":"class"}},{"name":"ResourcePattern","href":"monadart/ResourcePattern-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"ResourcePattern","href":"monadart/ResourcePattern/ResourcePattern.html","type":"constructor","enclosedBy":{"name":"ResourcePattern","type":"class"}},{"name":"remainingPath","href":"monadart/ResourcePattern/remainingPath.html","type":"property","enclosedBy":{"name":"ResourcePattern","type":"class"}},{"name":"matchHead","href":"monadart/ResourcePattern/matchHead.html","type":"property","enclosedBy":{"name":"ResourcePattern","type":"class"}},{"name":"matchUri","href":"monadart/ResourcePattern/matchUri.html","type":"method","enclosedBy":{"name":"ResourcePattern","type":"class"}},{"name":"matchSpecFromElements","href":"monadart/ResourcePattern/matchSpecFromElements.html","type":"method","enclosedBy":{"name":"ResourcePattern","type":"class"}},{"name":"resourceElementsFromPathElements","href":"monadart/ResourcePattern/resourceElementsFromPathElements.html","type":"method","enclosedBy":{"name":"ResourcePattern","type":"class"}},{"name":"splitPattern","href":"monadart/ResourcePattern/splitPattern.html","type":"method","enclosedBy":{"name":"ResourcePattern","type":"class"}},{"name":"ResourcePatternMatch","href":"monadart/ResourcePatternMatch-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"ResourcePatternMatch","href":"monadart/ResourcePatternMatch/ResourcePatternMatch.html","type":"constructor","enclosedBy":{"name":"ResourcePatternMatch","type":"class"}},{"name":"remainingPath","href":"monadart/ResourcePatternMatch/remainingPath.html","type":"property","enclosedBy":{"name":"ResourcePatternMatch","type":"class"}},{"name":"segments","href":"monadart/ResourcePatternMatch/segments.html","type":"property","enclosedBy":{"name":"ResourcePatternMatch","type":"class"}},{"name":"variables","href":"monadart/ResourcePatternMatch/variables.html","type":"property","enclosedBy":{"name":"ResourcePatternMatch","type":"class"}},{"name":"ResourceRequest","href":"monadart/ResourceRequest-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"ResourceRequest","href":"monadart/ResourceRequest/ResourceRequest.html","type":"constructor","enclosedBy":{"name":"ResourceRequest","type":"class"}},{"name":"context","href":"monadart/ResourceRequest/context.html","type":"property","enclosedBy":{"name":"ResourceRequest","type":"class"}},{"name":"path","href":"monadart/ResourceRequest/path.html","type":"property","enclosedBy":{"name":"ResourceRequest","type":"class"}},{"name":"request","href":"monadart/ResourceRequest/request.html","type":"property","enclosedBy":{"name":"ResourceRequest","type":"class"}},{"name":"response","href":"monadart/ResourceRequest/response.html","type":"property","enclosedBy":{"name":"ResourceRequest","type":"class"}},{"name":"respond","href":"monadart/ResourceRequest/respond.html","type":"method","enclosedBy":{"name":"ResourceRequest","type":"class"}},{"name":"Response","href":"monadart/Response-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"Response","href":"monadart/Response/Response.html","type":"constructor","enclosedBy":{"name":"Response","type":"class"}},{"name":"Response.accepted","href":"monadart/Response/Response.accepted.html","type":"constructor","enclosedBy":{"name":"Response","type":"class"}},{"name":"Response.badRequest","href":"monadart/Response/Response.badRequest.html","type":"constructor","enclosedBy":{"name":"Response","type":"class"}},{"name":"Response.conflict","href":"monadart/Response/Response.conflict.html","type":"constructor","enclosedBy":{"name":"Response","type":"class"}},{"name":"Response.created","href":"monadart/Response/Response.created.html","type":"constructor","enclosedBy":{"name":"Response","type":"class"}},{"name":"Response.forbidden","href":"monadart/Response/Response.forbidden.html","type":"constructor","enclosedBy":{"name":"Response","type":"class"}},{"name":"Response.gone","href":"monadart/Response/Response.gone.html","type":"constructor","enclosedBy":{"name":"Response","type":"class"}},{"name":"Response.notFound","href":"monadart/Response/Response.notFound.html","type":"constructor","enclosedBy":{"name":"Response","type":"class"}},{"name":"Response.ok","href":"monadart/Response/Response.ok.html","type":"constructor","enclosedBy":{"name":"Response","type":"class"}},{"name":"Response.serverError","href":"monadart/Response/Response.serverError.html","type":"constructor","enclosedBy":{"name":"Response","type":"class"}},{"name":"Response.unauthorized","href":"monadart/Response/Response.unauthorized.html","type":"constructor","enclosedBy":{"name":"Response","type":"class"}},{"name":"body","href":"monadart/Response/body.html","type":"property","enclosedBy":{"name":"Response","type":"class"}},{"name":"headers","href":"monadart/Response/headers.html","type":"property","enclosedBy":{"name":"Response","type":"class"}},{"name":"statusCode","href":"monadart/Response/statusCode.html","type":"property","enclosedBy":{"name":"Response","type":"class"}},{"name":"Router","href":"monadart/Router-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"Router","href":"monadart/Router/Router.html","type":"constructor","enclosedBy":{"name":"Router","type":"class"}},{"name":"basePath","href":"monadart/Router/basePath.html","type":"property","enclosedBy":{"name":"Router","type":"class"}},{"name":"unhandledRequestHandler","href":"monadart/Router/unhandledRequestHandler.html","type":"property","enclosedBy":{"name":"Router","type":"class"}},{"name":"addRoute","href":"monadart/Router/addRoute.html","type":"method","enclosedBy":{"name":"Router","type":"class"}},{"name":"addRouteHandler","href":"monadart/Router/addRouteHandler.html","type":"method","enclosedBy":{"name":"Router","type":"class"}},{"name":"handleRequest","href":"monadart/Router/handleRequest.html","type":"method","enclosedBy":{"name":"Router","type":"class"}},{"name":"VirtualDirectory","href":"monadart/VirtualDirectory-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"VirtualDirectory","href":"monadart/VirtualDirectory/VirtualDirectory.html","type":"constructor","enclosedBy":{"name":"VirtualDirectory","type":"class"}},{"name":"allowDirectoryListing","href":"monadart/VirtualDirectory/allowDirectoryListing.html","type":"property","enclosedBy":{"name":"VirtualDirectory","type":"class"}},{"name":"directoryHandler","href":"monadart/VirtualDirectory/directoryHandler.html","type":"property","enclosedBy":{"name":"VirtualDirectory","type":"class"}},{"name":"errorPageHandler","href":"monadart/VirtualDirectory/errorPageHandler.html","type":"property","enclosedBy":{"name":"VirtualDirectory","type":"class"}},{"name":"followLinks","href":"monadart/VirtualDirectory/followLinks.html","type":"property","enclosedBy":{"name":"VirtualDirectory","type":"class"}},{"name":"jailRoot","href":"monadart/VirtualDirectory/jailRoot.html","type":"property","enclosedBy":{"name":"VirtualDirectory","type":"class"}},{"name":"root","href":"monadart/VirtualDirectory/root.html","type":"property","enclosedBy":{"name":"VirtualDirectory","type":"class"}},{"name":"serve","href":"monadart/VirtualDirectory/serve.html","type":"method","enclosedBy":{"name":"VirtualDirectory","type":"class"}},{"name":"serveFile","href":"monadart/VirtualDirectory/serveFile.html","type":"method","enclosedBy":{"name":"VirtualDirectory","type":"class"}},{"name":"serveRequest","href":"monadart/VirtualDirectory/serveRequest.html","type":"method","enclosedBy":{"name":"VirtualDirectory","type":"class"}},{"name":"VirtualHost","href":"monadart/VirtualHost-class.html","type":"class","enclosedBy":{"name":"monadart","type":"library"}},{"name":"VirtualHost","href":"monadart/VirtualHost/VirtualHost.html","type":"constructor","enclosedBy":{"name":"VirtualHost","type":"class"}},{"name":"unhandled","href":"monadart/VirtualHost/unhandled.html","type":"property","enclosedBy":{"name":"VirtualHost","type":"class"}},{"name":"addHost","href":"monadart/VirtualHost/addHost.html","type":"method","enclosedBy":{"name":"VirtualHost","type":"class"}},{"name":"addSource","href":"monadart/VirtualHost/addSource.html","type":"method","enclosedBy":{"name":"VirtualHost","type":"class"}},{"name":"httpDelete","href":"monadart/httpDelete.html","type":"top-level property","enclosedBy":{"name":"monadart","type":"library"}},{"name":"httpGet","href":"monadart/httpGet.html","type":"top-level property","enclosedBy":{"name":"monadart","type":"library"}},{"name":"httpPatch","href":"monadart/httpPatch.html","type":"top-level property","enclosedBy":{"name":"monadart","type":"library"}},{"name":"httpPost","href":"monadart/httpPost.html","type":"top-level property","enclosedBy":{"name":"monadart","type":"library"}},{"name":"httpPut","href":"monadart/httpPut.html","type":"top-level property","enclosedBy":{"name":"monadart","type":"library"}}] \ No newline at end of file diff --git a/doc/api/monadart/Application-class.html b/doc/api/monadart/Application-class.html index a771d9e4d..c9a71b949 100644 --- a/doc/api/monadart/Application-class.html +++ b/doc/api/monadart/Application-class.html @@ -27,40 +27,51 @@
+
- -
-

-
class
Application -

- -
- -
+
+
+ +
+

+
class
Application +

+
+ +
+
+ +
+
- + + + + diff --git a/doc/api/monadart/Application/Application.html b/doc/api/monadart/Application/Application.html index 201a25c9b..1516b17a8 100644 --- a/doc/api/monadart/Application/Application.html +++ b/doc/api/monadart/Application/Application.html @@ -4,7 +4,7 @@ - + Application constructor - Application class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
Application -

- -
- -
+
+
+ +
+

+
constructor
Application +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/Application/configuration.html b/doc/api/monadart/Application/configuration.html index 26746e232..e1a3a00e4 100644 --- a/doc/api/monadart/Application/configuration.html +++ b/doc/api/monadart/Application/configuration.html @@ -27,39 +27,50 @@
+
- -
-

-
property
configuration -

- -
- -
+
+
+ +
+

+
property
configuration +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Application/pipelineType.html b/doc/api/monadart/Application/pipelineType.html index a047dffb8..a4670693c 100644 --- a/doc/api/monadart/Application/pipelineType.html +++ b/doc/api/monadart/Application/pipelineType.html @@ -27,39 +27,50 @@
+
- -
-

-
property
pipelineType -

- -
- -
+
+
+ +
+

+
property
pipelineType +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Application/servers.html b/doc/api/monadart/Application/servers.html index 4cedf59c4..2917c0c52 100644 --- a/doc/api/monadart/Application/servers.html +++ b/doc/api/monadart/Application/servers.html @@ -27,39 +27,50 @@
+
- -
-

-
property
servers -

- -
- -
+
+
+ +
+

+
property
servers +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Application/start.html b/doc/api/monadart/Application/start.html index 1ef17d129..9186a36a9 100644 --- a/doc/api/monadart/Application/start.html +++ b/doc/api/monadart/Application/start.html @@ -27,40 +27,51 @@
+
- -
-

-
method
start -

- -
- -
+
+
+ +
+

+
method
start +

+
+ +
+
+ +
+
-
@@ -166,10 +178,14 @@

Source

+ + + + diff --git a/doc/api/monadart/ApplicationInstanceConfiguration-class.html b/doc/api/monadart/ApplicationInstanceConfiguration-class.html index 557d17ced..fc31ff5ef 100644 --- a/doc/api/monadart/ApplicationInstanceConfiguration-class.html +++ b/doc/api/monadart/ApplicationInstanceConfiguration-class.html @@ -27,39 +27,50 @@
+
- -
-

-
class
ApplicationInstanceConfiguration -

- -
- -
+
+
+ +
+

+
class
ApplicationInstanceConfiguration +

+
+ +
+
+ +
+
- + + + + diff --git a/doc/api/monadart/ApplicationInstanceConfiguration/ApplicationInstanceConfiguration.fromConfiguration.html b/doc/api/monadart/ApplicationInstanceConfiguration/ApplicationInstanceConfiguration.fromConfiguration.html index 904cedbc2..43dc0070a 100644 --- a/doc/api/monadart/ApplicationInstanceConfiguration/ApplicationInstanceConfiguration.fromConfiguration.html +++ b/doc/api/monadart/ApplicationInstanceConfiguration/ApplicationInstanceConfiguration.fromConfiguration.html @@ -4,7 +4,7 @@ - + ApplicationInstanceConfiguration.fromConfiguration constructor - ApplicationInstanceConfiguration class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
ApplicationInstanceConfiguration.fromConfiguration -

- -
- -
+
+
+ +
+

+
constructor
ApplicationInstanceConfiguration.fromConfiguration +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/ApplicationInstanceConfiguration/ApplicationInstanceConfiguration.html b/doc/api/monadart/ApplicationInstanceConfiguration/ApplicationInstanceConfiguration.html index e9df4506f..dc4c46f89 100644 --- a/doc/api/monadart/ApplicationInstanceConfiguration/ApplicationInstanceConfiguration.html +++ b/doc/api/monadart/ApplicationInstanceConfiguration/ApplicationInstanceConfiguration.html @@ -4,7 +4,7 @@ - + ApplicationInstanceConfiguration constructor - ApplicationInstanceConfiguration class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
ApplicationInstanceConfiguration -

- -
- -
+
+
+ +
+

+
constructor
ApplicationInstanceConfiguration +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/ApplicationInstanceConfiguration/address.html b/doc/api/monadart/ApplicationInstanceConfiguration/address.html index 4eb79a030..847ddb851 100644 --- a/doc/api/monadart/ApplicationInstanceConfiguration/address.html +++ b/doc/api/monadart/ApplicationInstanceConfiguration/address.html @@ -27,39 +27,50 @@
+
- -
-

-
property
address -

- -
- -
+
+
+ +
+

+
property
address +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/ApplicationInstanceConfiguration/isIpv6Only.html b/doc/api/monadart/ApplicationInstanceConfiguration/isIpv6Only.html index 34c847bab..cb64fd99a 100644 --- a/doc/api/monadart/ApplicationInstanceConfiguration/isIpv6Only.html +++ b/doc/api/monadart/ApplicationInstanceConfiguration/isIpv6Only.html @@ -27,39 +27,50 @@
+
- -
-

-
property
isIpv6Only -

- -
- -
+
+
+ +
+

+
property
isIpv6Only +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/ApplicationInstanceConfiguration/isUsingClientCertificate.html b/doc/api/monadart/ApplicationInstanceConfiguration/isUsingClientCertificate.html index e6cf1d3ad..e83b8da7f 100644 --- a/doc/api/monadart/ApplicationInstanceConfiguration/isUsingClientCertificate.html +++ b/doc/api/monadart/ApplicationInstanceConfiguration/isUsingClientCertificate.html @@ -27,39 +27,50 @@
+
- -
-

-
property
isUsingClientCertificate -

- -
- -
+
+
+ +
+

+
property
isUsingClientCertificate +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/ApplicationInstanceConfiguration/pipelineOptions.html b/doc/api/monadart/ApplicationInstanceConfiguration/pipelineOptions.html index 30d16df9f..7d3e20e6e 100644 --- a/doc/api/monadart/ApplicationInstanceConfiguration/pipelineOptions.html +++ b/doc/api/monadart/ApplicationInstanceConfiguration/pipelineOptions.html @@ -27,39 +27,50 @@
+
- -
-

-
property
pipelineOptions -

- -
- -
+
+
+ +
+

+
property
pipelineOptions +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/ApplicationInstanceConfiguration/port.html b/doc/api/monadart/ApplicationInstanceConfiguration/port.html index 3f0255fc6..99141853f 100644 --- a/doc/api/monadart/ApplicationInstanceConfiguration/port.html +++ b/doc/api/monadart/ApplicationInstanceConfiguration/port.html @@ -27,39 +27,50 @@
+
- -
-

-
property
port -

- -
- -
+
+
+ +
+

+
property
port +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/ApplicationInstanceConfiguration/serverCertificateName.html b/doc/api/monadart/ApplicationInstanceConfiguration/serverCertificateName.html index bd7272dda..2df52f3f0 100644 --- a/doc/api/monadart/ApplicationInstanceConfiguration/serverCertificateName.html +++ b/doc/api/monadart/ApplicationInstanceConfiguration/serverCertificateName.html @@ -27,39 +27,50 @@
+
- -
-

-
property
serverCertificateName -

- -
- -
+
+
+ +
+

+
property
serverCertificateName +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/ApplicationInstanceConfiguration/shared.html b/doc/api/monadart/ApplicationInstanceConfiguration/shared.html index 3ee9eabc2..77e922948 100644 --- a/doc/api/monadart/ApplicationInstanceConfiguration/shared.html +++ b/doc/api/monadart/ApplicationInstanceConfiguration/shared.html @@ -27,39 +27,50 @@
+
- -
-

-
property
shared -

- -
- -
+
+
+ +
+

+
property
shared +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/ApplicationPipeline-class.html b/doc/api/monadart/ApplicationPipeline-class.html index 7479dc415..8bb21ac11 100644 --- a/doc/api/monadart/ApplicationPipeline-class.html +++ b/doc/api/monadart/ApplicationPipeline-class.html @@ -27,40 +27,50 @@
+
- -
-

-
class
ApplicationPipeline -

- -
- -
+
+
+ +
+

+
class
ApplicationPipeline +

+
+ +
+
+ +
+
- + + + + diff --git a/doc/api/monadart/ApplicationPipeline/ApplicationPipeline.html b/doc/api/monadart/ApplicationPipeline/ApplicationPipeline.html index 4e8f7a2b7..89ddba8c7 100644 --- a/doc/api/monadart/ApplicationPipeline/ApplicationPipeline.html +++ b/doc/api/monadart/ApplicationPipeline/ApplicationPipeline.html @@ -4,7 +4,7 @@ - + ApplicationPipeline constructor - ApplicationPipeline class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
ApplicationPipeline -

- -
- -
+
+
+ +
+

+
constructor
ApplicationPipeline +

+
+ +
+
+
+
+
- +
- -
-

-
property
options -

- -
- -
+
+
+ +
+

+
property
options +

+
+ +
+
+
+
+
- + + + + diff --git a/doc/api/monadart/HttpBody-class.html b/doc/api/monadart/HttpBody-class.html index 19428a9e1..6079b4daa 100644 --- a/doc/api/monadart/HttpBody-class.html +++ b/doc/api/monadart/HttpBody-class.html @@ -27,40 +27,50 @@
+
- -
-

-
class
HttpBody -

- -
- -
+
+
+ +
+

+
class
HttpBody +

+
+ +
+
+
+
+
- + + + + diff --git a/doc/api/monadart/HttpBody/HttpBody.html b/doc/api/monadart/HttpBody/HttpBody.html index 706f9f15d..573ec66de 100644 --- a/doc/api/monadart/HttpBody/HttpBody.html +++ b/doc/api/monadart/HttpBody/HttpBody.html @@ -4,7 +4,7 @@ - + HttpBody constructor - HttpBody class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
HttpBody -

- -
- -
+
+
+ +
+

+
constructor
HttpBody +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/HttpBody/body.html b/doc/api/monadart/HttpBody/body.html index e9976cb50..8b6db5884 100644 --- a/doc/api/monadart/HttpBody/body.html +++ b/doc/api/monadart/HttpBody/body.html @@ -27,39 +27,50 @@
+
- -
-

-
property
body -

- -
- -
+
+
+ +
+

+
property
body +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/HttpBody/type.html b/doc/api/monadart/HttpBody/type.html index 40d08bb58..c88a57257 100644 --- a/doc/api/monadart/HttpBody/type.html +++ b/doc/api/monadart/HttpBody/type.html @@ -27,40 +27,50 @@
+
- -
-

-
property
type -

- -
- -
+
+
+ +
+

+
property
type +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/HttpBodyFileUpload-class.html b/doc/api/monadart/HttpBodyFileUpload-class.html index 0f48a516e..b921d636b 100644 --- a/doc/api/monadart/HttpBodyFileUpload-class.html +++ b/doc/api/monadart/HttpBodyFileUpload-class.html @@ -27,40 +27,50 @@
+
- -
-

-
class
HttpBodyFileUpload -

- -
- -
+
+
+ +
+

+
class
HttpBodyFileUpload +

+
+ +
+
+ +
+
- + + + + diff --git a/doc/api/monadart/HttpBodyFileUpload/HttpBodyFileUpload.html b/doc/api/monadart/HttpBodyFileUpload/HttpBodyFileUpload.html index da5bee58c..642ac60d9 100644 --- a/doc/api/monadart/HttpBodyFileUpload/HttpBodyFileUpload.html +++ b/doc/api/monadart/HttpBodyFileUpload/HttpBodyFileUpload.html @@ -4,7 +4,7 @@ - + HttpBodyFileUpload constructor - HttpBodyFileUpload class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
HttpBodyFileUpload -

- -
- -
+
+
+ +
+

+
constructor
HttpBodyFileUpload +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/HttpBodyFileUpload/content.html b/doc/api/monadart/HttpBodyFileUpload/content.html index 72eb79f76..e5db37a69 100644 --- a/doc/api/monadart/HttpBodyFileUpload/content.html +++ b/doc/api/monadart/HttpBodyFileUpload/content.html @@ -27,39 +27,50 @@
+
- -
-

-
property
content -

- -
- -
+
+
+ +
+

+
property
content +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/HttpBodyFileUpload/contentType.html b/doc/api/monadart/HttpBodyFileUpload/contentType.html index 6e735983c..4c9329992 100644 --- a/doc/api/monadart/HttpBodyFileUpload/contentType.html +++ b/doc/api/monadart/HttpBodyFileUpload/contentType.html @@ -27,40 +27,50 @@
+
- -
-

-
property
contentType -

- -
- -
+
+
+ +
+

+
property
contentType +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/HttpBodyFileUpload/filename.html b/doc/api/monadart/HttpBodyFileUpload/filename.html index 44754d013..992d2dcec 100644 --- a/doc/api/monadart/HttpBodyFileUpload/filename.html +++ b/doc/api/monadart/HttpBodyFileUpload/filename.html @@ -27,39 +27,50 @@
+
- -
-

-
property
filename -

- -
- -
+
+
+ +
+

+
property
filename +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/HttpBodyHandler-class.html b/doc/api/monadart/HttpBodyHandler-class.html index b399c1370..86573c22d 100644 --- a/doc/api/monadart/HttpBodyHandler-class.html +++ b/doc/api/monadart/HttpBodyHandler-class.html @@ -27,45 +27,51 @@
+
- -
-

-
class
HttpBodyHandler -

- -
- -
+
+
+ +
+

+
class
HttpBodyHandler +

+
+ +
+
+ +
+
- + + + + diff --git a/doc/api/monadart/HttpBodyHandler/HttpBodyHandler.html b/doc/api/monadart/HttpBodyHandler/HttpBodyHandler.html index fe2af0e3a..c85cc5c0b 100644 --- a/doc/api/monadart/HttpBodyHandler/HttpBodyHandler.html +++ b/doc/api/monadart/HttpBodyHandler/HttpBodyHandler.html @@ -4,7 +4,7 @@ - + HttpBodyHandler constructor - HttpBodyHandler class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,40 +27,50 @@
+
- -
-

-
constructor
HttpBodyHandler -

- -
- -
+
+
+ +
+

+
constructor
HttpBodyHandler +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/HttpBodyHandler/bind.html b/doc/api/monadart/HttpBodyHandler/bind.html index e9dfc9402..fd63fb776 100644 --- a/doc/api/monadart/HttpBodyHandler/bind.html +++ b/doc/api/monadart/HttpBodyHandler/bind.html @@ -27,40 +27,51 @@
+
- -
-

-
method
bind -

- -
- -
+
+
+ +
+

+
method
bind +

+
+ +
+
+ +
+
-
@@ -139,10 +151,14 @@

Source

+ + + + diff --git a/doc/api/monadart/HttpBodyHandler/processRequest.html b/doc/api/monadart/HttpBodyHandler/processRequest.html index 12d51e1fe..618281e42 100644 --- a/doc/api/monadart/HttpBodyHandler/processRequest.html +++ b/doc/api/monadart/HttpBodyHandler/processRequest.html @@ -27,41 +27,51 @@
+
- -
-

-
method
processRequest -

- -
- -
+
+
+ +
+

+
method
processRequest +

+
+ +
+
+ +
+
-
@@ -145,10 +156,14 @@

Source

+ + + + diff --git a/doc/api/monadart/HttpBodyHandler/processResponse.html b/doc/api/monadart/HttpBodyHandler/processResponse.html index 536591117..fac315325 100644 --- a/doc/api/monadart/HttpBodyHandler/processResponse.html +++ b/doc/api/monadart/HttpBodyHandler/processResponse.html @@ -27,40 +27,51 @@
+
- -
-

-
method
processResponse -

- -
- -
+
+
+ +
+

+
method
processResponse +

+
+ +
+
+ +
+
-
@@ -142,10 +154,14 @@

Source

+ + + + diff --git a/doc/api/monadart/HttpClientResponseBody-class.html b/doc/api/monadart/HttpClientResponseBody-class.html index 2e6dd17ba..17133916b 100644 --- a/doc/api/monadart/HttpClientResponseBody-class.html +++ b/doc/api/monadart/HttpClientResponseBody-class.html @@ -27,41 +27,50 @@
+
- -
-

-
class
HttpClientResponseBody -

- -
- -
+
+
+ +
+

+
class
HttpClientResponseBody +

+
+ +
+
+ +
+
- + + + + diff --git a/doc/api/monadart/HttpClientResponseBody/HttpClientResponseBody.html b/doc/api/monadart/HttpClientResponseBody/HttpClientResponseBody.html index fb7a0585d..8d27c4ce0 100644 --- a/doc/api/monadart/HttpClientResponseBody/HttpClientResponseBody.html +++ b/doc/api/monadart/HttpClientResponseBody/HttpClientResponseBody.html @@ -4,7 +4,7 @@ - + HttpClientResponseBody constructor - HttpClientResponseBody class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
HttpClientResponseBody -

- -
- -
+
+
+ +
+

+
constructor
HttpClientResponseBody +

+
+ +
+
+
+ +
- -
-

-
property
response -

- -
- -
+
+
+ +
+

+
property
response +

+
+ +
+
+ + +
- -
-

-
class
HttpController -

- -
- -
+
+
+ +
+

+
class
HttpController +

+
+ +
+
+ +
+
- + + + + diff --git a/doc/api/monadart/HttpController/HttpController.html b/doc/api/monadart/HttpController/HttpController.html index 49c0d4006..5a6cbb720 100644 --- a/doc/api/monadart/HttpController/HttpController.html +++ b/doc/api/monadart/HttpController/HttpController.html @@ -4,7 +4,7 @@ - + HttpController constructor - HttpController class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
HttpController -

- -
- -
+
+
+ +
+

+
constructor
HttpController +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/HttpController/acceptedContentTypes.html b/doc/api/monadart/HttpController/acceptedContentTypes.html index 0dcb571cc..7ae089970 100644 --- a/doc/api/monadart/HttpController/acceptedContentTypes.html +++ b/doc/api/monadart/HttpController/acceptedContentTypes.html @@ -27,39 +27,50 @@
+
- -
-

-
property
acceptedContentTypes -

- -
- -
+
+
+ +
+

+
property
acceptedContentTypes +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/HttpController/exceptionHandler.html b/doc/api/monadart/HttpController/exceptionHandler.html index dd9e35cf4..99b25f5d3 100644 --- a/doc/api/monadart/HttpController/exceptionHandler.html +++ b/doc/api/monadart/HttpController/exceptionHandler.html @@ -27,39 +27,50 @@
+
- -
-

-
property
exceptionHandler -

- -
- -
+
+
+ +
+

+
property
exceptionHandler +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/HttpController/handleRequest.html b/doc/api/monadart/HttpController/handleRequest.html new file mode 100644 index 000000000..ed18e106b --- /dev/null +++ b/doc/api/monadart/HttpController/handleRequest.html @@ -0,0 +1,172 @@ + + + + + + + handleRequest method - HttpController class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
method
handleRequest +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ void + handleRequest( +
+
+ ResourceRequest req +
+ )
+ +
+ +

Not documented.

+ +
+ +
+

Source

+
void handleRequest(ResourceRequest req) {
+  resourceRequest = req;
+  _process();
+}
+
+ +
+ +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/HttpController/pathVariables.html b/doc/api/monadart/HttpController/pathVariables.html new file mode 100644 index 000000000..88f7075d3 --- /dev/null +++ b/doc/api/monadart/HttpController/pathVariables.html @@ -0,0 +1,162 @@ + + + + + + + pathVariables property - HttpController class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
property
pathVariables +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ Map<String,String> + pathVariables +
+ read-only +
+
+ +
+ +

Parameters parsed from the URI of the request, if any exist.

+ +
+ +
+ +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/HttpController/requestBody.html b/doc/api/monadart/HttpController/requestBody.html index 61d16b9d3..b18aa5648 100644 --- a/doc/api/monadart/HttpController/requestBody.html +++ b/doc/api/monadart/HttpController/requestBody.html @@ -27,39 +27,50 @@
+
- -
-

-
property
requestBody -

- -
- -
+
+
+ +
+

+
property
requestBody +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/HttpController/resourceRequest.html b/doc/api/monadart/HttpController/resourceRequest.html index 7f26766ef..8a29f0993 100644 --- a/doc/api/monadart/HttpController/resourceRequest.html +++ b/doc/api/monadart/HttpController/resourceRequest.html @@ -27,39 +27,50 @@
+
- -
-

-
property
resourceRequest -

- -
- -
+
+
+ +
+

+
property
resourceRequest +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/HttpController/responseBodyEncoder.html b/doc/api/monadart/HttpController/responseBodyEncoder.html index 346f50fa0..3bd78fdcc 100644 --- a/doc/api/monadart/HttpController/responseBodyEncoder.html +++ b/doc/api/monadart/HttpController/responseBodyEncoder.html @@ -27,39 +27,50 @@
+
- -
-

-
property
responseBodyEncoder -

- -
- -
+
+
+ +
+

+
property
responseBodyEncoder +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/HttpController/responseContentType.html b/doc/api/monadart/HttpController/responseContentType.html index d47aea957..0ae4c33ea 100644 --- a/doc/api/monadart/HttpController/responseContentType.html +++ b/doc/api/monadart/HttpController/responseContentType.html @@ -27,39 +27,50 @@
+
- -
-

-
property
responseContentType -

- -
- -
+
+
+ +
+

+
property
responseContentType +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/HttpMethod-class.html b/doc/api/monadart/HttpMethod-class.html index 7c475d8c3..1c344c1c1 100644 --- a/doc/api/monadart/HttpMethod-class.html +++ b/doc/api/monadart/HttpMethod-class.html @@ -27,40 +27,51 @@
+
- -
-

-
class
HttpMethod -

- -
- -
+
+
+ +
+

+
class
HttpMethod +

+
+ +
+
+ +
+
- + + + + diff --git a/doc/api/monadart/HttpMethod/HttpMethod.html b/doc/api/monadart/HttpMethod/HttpMethod.html index 6048f5be6..d0efc284f 100644 --- a/doc/api/monadart/HttpMethod/HttpMethod.html +++ b/doc/api/monadart/HttpMethod/HttpMethod.html @@ -4,7 +4,7 @@ - + HttpMethod constructor - HttpMethod class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
HttpMethod -

- -
- -
+
+
+ +
+

+
constructor
HttpMethod +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/HttpMethod/matchesRequest.html b/doc/api/monadart/HttpMethod/matchesRequest.html index 238bc9fcd..0a3da403a 100644 --- a/doc/api/monadart/HttpMethod/matchesRequest.html +++ b/doc/api/monadart/HttpMethod/matchesRequest.html @@ -27,40 +27,51 @@
+
- -
-

-
method
matchesRequest -

- -
- -
+
+
+ +
+

+
method
matchesRequest +

+
+ +
+
+ +
+
-
@@ -156,10 +168,14 @@

Source

+ + + + diff --git a/doc/api/monadart/HttpMethod/method.html b/doc/api/monadart/HttpMethod/method.html index bf2c0fbff..8a5388142 100644 --- a/doc/api/monadart/HttpMethod/method.html +++ b/doc/api/monadart/HttpMethod/method.html @@ -27,39 +27,50 @@
+
- -
-

-
property
method -

- -
- -
+
+
+ +
+

+
property
method +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/HttpMultipartFormData-class.html b/doc/api/monadart/HttpMultipartFormData-class.html index 8b35df9f7..3df603aab 100644 --- a/doc/api/monadart/HttpMultipartFormData-class.html +++ b/doc/api/monadart/HttpMultipartFormData-class.html @@ -27,43 +27,52 @@
+
- -
-

-
class
HttpMultipartFormData -

- -
- -
+
+
+ +
+

+
class
HttpMultipartFormData +

+
+ +
+
+ +
+
- + + + + diff --git a/doc/api/monadart/HttpMultipartFormData/HttpMultipartFormData.html b/doc/api/monadart/HttpMultipartFormData/HttpMultipartFormData.html index 62de36607..d20b3dc32 100644 --- a/doc/api/monadart/HttpMultipartFormData/HttpMultipartFormData.html +++ b/doc/api/monadart/HttpMultipartFormData/HttpMultipartFormData.html @@ -4,7 +4,7 @@ - + HttpMultipartFormData constructor - HttpMultipartFormData class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
HttpMultipartFormData -

- -
- -
+
+
+ +
+

+
constructor
HttpMultipartFormData +

+
+ +
+
+
+
+
- +
+
- +
+
- +
- -
-

-
property
contentType -

- -
- -
+
+
+ +
+

+
property
contentType +

+
+ +
+
+
+
+
- +
- -
-

-
property
isBinary -

- -
- -
+
+
+ +
+

+
property
isBinary +

+
+ +
+
+
+
+
- +
- -
-

-
property
isText -

- -
- -
+
+
+ +
+

+
property
isText +

+
+ +
+
+
+
+
- +
- -
-

-
method
parse -

- -
- -
+
+
+ +
+

+
method
parse +

+
+ +
+
+
+
+
- + + + + diff --git a/doc/api/monadart/HttpMultipartFormData/value.html b/doc/api/monadart/HttpMultipartFormData/value.html index 9e824708d..0a7ebc7c1 100644 --- a/doc/api/monadart/HttpMultipartFormData/value.html +++ b/doc/api/monadart/HttpMultipartFormData/value.html @@ -27,41 +27,51 @@
+
- -
-

-
method
value -

- -
- -
+
+
+ +
+

+
method
value +

+
+ +
+
+
+
+
- + + + + diff --git a/doc/api/monadart/HttpRequestBody-class.html b/doc/api/monadart/HttpRequestBody-class.html index afc68c9dd..234ab6458 100644 --- a/doc/api/monadart/HttpRequestBody-class.html +++ b/doc/api/monadart/HttpRequestBody-class.html @@ -27,41 +27,50 @@
+
- -
-

-
class
HttpRequestBody -

- -
- -
+
+
+ +
+

+
class
HttpRequestBody +

+
+ +
+
+
+
+
- + + + + diff --git a/doc/api/monadart/HttpRequestBody/HttpRequestBody.html b/doc/api/monadart/HttpRequestBody/HttpRequestBody.html index 10b955c3c..156cc431e 100644 --- a/doc/api/monadart/HttpRequestBody/HttpRequestBody.html +++ b/doc/api/monadart/HttpRequestBody/HttpRequestBody.html @@ -4,7 +4,7 @@ - + HttpRequestBody constructor - HttpRequestBody class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
HttpRequestBody -

- -
- -
+
+
+ +
+

+
constructor
HttpRequestBody +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/HttpRequestBody/request.html b/doc/api/monadart/HttpRequestBody/request.html index fb811270d..32a9ae783 100644 --- a/doc/api/monadart/HttpRequestBody/request.html +++ b/doc/api/monadart/HttpRequestBody/request.html @@ -27,39 +27,50 @@
+
- -
-

-
property
request -

- -
- -
+
+
+ +
+

+
property
request +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/RequestHandler-class.html b/doc/api/monadart/RequestHandler-class.html new file mode 100644 index 000000000..c22c4e30f --- /dev/null +++ b/doc/api/monadart/RequestHandler-class.html @@ -0,0 +1,225 @@ + + + + + + + RequestHandler class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
class
RequestHandler +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ +

Not documented.

+ +
+ +
+
+ + + +
Implemented by
+
+ +
+
+ + + + + +
+

Constructors

+ +
+
+ RequestHandler() +
+
+

+
+
+
+ + +
+

Methods

+
+
+ handleRequest(ResourceRequest req) + → + void + +
+
+

+
+
+
+ +
+ + + +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/RequestHandler/RequestHandler.html b/doc/api/monadart/RequestHandler/RequestHandler.html new file mode 100644 index 000000000..e982dccad --- /dev/null +++ b/doc/api/monadart/RequestHandler/RequestHandler.html @@ -0,0 +1,146 @@ + + + + + + + RequestHandler constructor - RequestHandler class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
constructor
RequestHandler +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ + RequestHandler() +
+ +
+ +

Not documented.

+ +
+ + +
+ +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/RequestHandler/handleRequest.html b/doc/api/monadart/RequestHandler/handleRequest.html new file mode 100644 index 000000000..9f881de9e --- /dev/null +++ b/doc/api/monadart/RequestHandler/handleRequest.html @@ -0,0 +1,154 @@ + + + + + + + handleRequest method - RequestHandler class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
method
handleRequest +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ void + handleRequest( +
+
+ ResourceRequest req +
+ )
+ +
+ +

Not documented.

+ +
+ +
+

Source

+
void handleRequest(ResourceRequest req);
+
+ +
+ +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/RequestHandlerGenerator-class.html b/doc/api/monadart/RequestHandlerGenerator-class.html new file mode 100644 index 000000000..d9de72adf --- /dev/null +++ b/doc/api/monadart/RequestHandlerGenerator-class.html @@ -0,0 +1,224 @@ + + + + + + + RequestHandlerGenerator class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
class
RequestHandlerGenerator<T> +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ +

Not documented.

+ +
+ +
+
+ +
Implements
+
+ +
+ + + +
+
+ + + + + +
+

Constructors

+ +
+
+ RequestHandlerGenerator() +
+
+

+
+
+
+ + +
+

Methods

+
+
+ handleRequest(ResourceRequest req) + → + void + +
+
+

+
+
+
+ +
+ + + +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/RequestHandlerGenerator/RequestHandlerGenerator.html b/doc/api/monadart/RequestHandlerGenerator/RequestHandlerGenerator.html new file mode 100644 index 000000000..e89152cdc --- /dev/null +++ b/doc/api/monadart/RequestHandlerGenerator/RequestHandlerGenerator.html @@ -0,0 +1,146 @@ + + + + + + + RequestHandlerGenerator constructor - RequestHandlerGenerator class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
constructor
RequestHandlerGenerator +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ + RequestHandlerGenerator() +
+ +
+ +

Not documented.

+ +
+ + +
+ +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/RequestHandlerGenerator/handleRequest.html b/doc/api/monadart/RequestHandlerGenerator/handleRequest.html new file mode 100644 index 000000000..ab0781205 --- /dev/null +++ b/doc/api/monadart/RequestHandlerGenerator/handleRequest.html @@ -0,0 +1,157 @@ + + + + + + + handleRequest method - RequestHandlerGenerator class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
method
handleRequest +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ void + handleRequest( +
+
+ ResourceRequest req +
+ )
+ +
+ +

Not documented.

+ +
+ +
+

Source

+
void handleRequest(ResourceRequest req) {
+  var handler = reflectClass(T).newInstance(new Symbol(""), []).reflectee as RequestHandler;
+  handler.handleRequest(req);
+}
+
+ +
+ +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/ResourcePattern-class.html b/doc/api/monadart/ResourcePattern-class.html index ea2921b79..e03d6ba14 100644 --- a/doc/api/monadart/ResourcePattern-class.html +++ b/doc/api/monadart/ResourcePattern-class.html @@ -27,42 +27,53 @@
+
- -
-

-
class
ResourcePattern -

- -
- -
+
+
+ +
+

+
class
ResourcePattern +

+
+ +
+
+
+
+
- + + + + diff --git a/doc/api/monadart/ResourcePattern/ResourcePattern.html b/doc/api/monadart/ResourcePattern/ResourcePattern.html index 70da02b7b..7d5dc6093 100644 --- a/doc/api/monadart/ResourcePattern/ResourcePattern.html +++ b/doc/api/monadart/ResourcePattern/ResourcePattern.html @@ -4,7 +4,7 @@ - + ResourcePattern constructor - ResourcePattern class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
ResourcePattern -

- -
- -
+
+
+ +
+

+
constructor
ResourcePattern +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/ResourcePattern/matchHead.html b/doc/api/monadart/ResourcePattern/matchHead.html index 278279162..853f6dac0 100644 --- a/doc/api/monadart/ResourcePattern/matchHead.html +++ b/doc/api/monadart/ResourcePattern/matchHead.html @@ -27,39 +27,50 @@
+
- -
-

-
property
matchHead -

- -
- -
+
+
+ +
+

+
property
matchHead +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/ResourcePattern/matchSpecFromElements.html b/doc/api/monadart/ResourcePattern/matchSpecFromElements.html index 84d1c81a5..e781c4ac9 100644 --- a/doc/api/monadart/ResourcePattern/matchSpecFromElements.html +++ b/doc/api/monadart/ResourcePattern/matchSpecFromElements.html @@ -27,40 +27,51 @@
+
- -
-

-
method
matchSpecFromElements -

- -
- -
+
+
+ +
+

+
method
matchSpecFromElements +

+
+ +
+
+
+
+
-
@@ -170,10 +182,14 @@

Source

+ + + + diff --git a/doc/api/monadart/ResourcePattern/matchUri.html b/doc/api/monadart/ResourcePattern/matchUri.html new file mode 100644 index 000000000..818f5d4d1 --- /dev/null +++ b/doc/api/monadart/ResourcePattern/matchUri.html @@ -0,0 +1,217 @@ + + + + + + + matchUri method - ResourcePattern class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
method
matchUri +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ ResourcePatternMatch + matchUri( +
+
+ Uri uri +
+ )
+ +
+ +

Not documented.

+ +
+ +
+

Source

+
ResourcePatternMatch matchUri(Uri uri) {
+  ResourcePatternMatch match = new ResourcePatternMatch();
+
+  var incomingPathSegments = uri.pathSegments;
+  var incomingPathIndex = 0;
+  var resourceSet = matchHead;
+  var resourceIterator = resourceSet.elements.iterator;
+
+  while(resourceSet != null) {
+    while (resourceIterator.moveNext()) {
+      // If we run into a *, then we're definitely a match so just grab the end of the path and return it.
+
+      var resourceSegment = resourceIterator.current;
+      if (resourceSegment.matchesRemaining) {
+        var remainingString = incomingPathSegments.sublist(incomingPathIndex, incomingPathSegments.length).join("/");
+        match.remainingPath = remainingString;
+
+        return match;
+      } else {
+        // If we're out of path segments, then we don't match
+        if(incomingPathIndex >= incomingPathSegments.length) {
+          return null;
+        }
+
+        var pathSegment = incomingPathSegments[incomingPathIndex];
+        incomingPathIndex ++;
+
+        bool matches = resourceSegment.fullMatchForString(pathSegment);
+        if(!matches) {
+          // There was a path segment available, but it did not match
+          return null;
+        }
+
+        // We match!
+        if(resourceSegment.name != null) {
+          match.variables[resourceSegment.name] = pathSegment;
+        }
+
+        match.segments.add(pathSegment);
+      }
+    }
+    resourceSet = resourceSet.nextOptionalSet;
+
+    // If we have path remaining, then we either have optional left or we don't have a match
+    if(incomingPathIndex < incomingPathSegments.length) {
+      if(resourceSet == null) {
+        return null;
+      } else {
+        resourceIterator = resourceSet.elements.iterator;
+      }
+    }
+  }
+
+  return match;
+}
+
+ +
+ +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/ResourcePattern/remainingPath.html b/doc/api/monadart/ResourcePattern/remainingPath.html index 3b73ae03e..d6db054e5 100644 --- a/doc/api/monadart/ResourcePattern/remainingPath.html +++ b/doc/api/monadart/ResourcePattern/remainingPath.html @@ -27,39 +27,50 @@
+
- -
-

-
property
remainingPath -

- -
- -
+
+
+ +
+

+
property
remainingPath +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/ResourcePattern/resourceElementsFromPathElements.html b/doc/api/monadart/ResourcePattern/resourceElementsFromPathElements.html index ed8c77ea0..4da77c97b 100644 --- a/doc/api/monadart/ResourcePattern/resourceElementsFromPathElements.html +++ b/doc/api/monadart/ResourcePattern/resourceElementsFromPathElements.html @@ -27,40 +27,51 @@
+
- -
-

-
method
resourceElementsFromPathElements -

- -
- -
+
+
+ +
+

+
method
resourceElementsFromPathElements +

+
+ +
+
+
+
+
-
@@ -141,10 +153,14 @@

Source

+ + + + diff --git a/doc/api/monadart/ResourcePattern/splitPattern.html b/doc/api/monadart/ResourcePattern/splitPattern.html index 30d722f93..f69c58139 100644 --- a/doc/api/monadart/ResourcePattern/splitPattern.html +++ b/doc/api/monadart/ResourcePattern/splitPattern.html @@ -27,40 +27,51 @@
+
- -
-

-
method
splitPattern -

- -
- -
+
+
+ +
+

+
method
splitPattern +

+
+ +
+
+
+
+
-
@@ -146,10 +158,14 @@

Source

+ + + + diff --git a/doc/api/monadart/ResourcePatternMatch-class.html b/doc/api/monadart/ResourcePatternMatch-class.html new file mode 100644 index 000000000..935428b47 --- /dev/null +++ b/doc/api/monadart/ResourcePatternMatch-class.html @@ -0,0 +1,242 @@ + + + + + + + ResourcePatternMatch class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
class
ResourcePatternMatch +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ +

A representation of a Route match, containing the elements of the matched path.

+

Instances of this class can be used by handlers after the router to inspect +specifics of the incoming path without having to dissect the path on their own.

+ +
+ + + + + +
+

Properties

+ +
+
+ remainingPath + → String +
+
+
+ read / write +
+

If a match specification uses the asterisk 'match all' token, +the part of the path matched by that token will be stored in this property. +

+
+
+ segments + → List<String> +
+
+
+ read / write +
+

A list of the segments in a matched path. +

+
+
+ variables + → Map<String,String> +
+
+
+ read / write +
+

A map of variable to values in this match. +

+
+
+
+ +
+

Constructors

+ +
+
+ ResourcePatternMatch() +
+
+

+
+
+
+ + + +
+ + + +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/ResourcePatternMatch/ResourcePatternMatch.html b/doc/api/monadart/ResourcePatternMatch/ResourcePatternMatch.html new file mode 100644 index 000000000..c9213d338 --- /dev/null +++ b/doc/api/monadart/ResourcePatternMatch/ResourcePatternMatch.html @@ -0,0 +1,150 @@ + + + + + + + ResourcePatternMatch constructor - ResourcePatternMatch class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
constructor
ResourcePatternMatch +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ + ResourcePatternMatch() +
+ +
+ +

Not documented.

+ +
+ + +
+ +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/ResourcePatternMatch/remainingPath.html b/doc/api/monadart/ResourcePatternMatch/remainingPath.html new file mode 100644 index 000000000..cd9a8a0fa --- /dev/null +++ b/doc/api/monadart/ResourcePatternMatch/remainingPath.html @@ -0,0 +1,154 @@ + + + + + + + remainingPath property - ResourcePatternMatch class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
property
remainingPath +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ String + remainingPath +
+ read / write +
+
+ +
+ +

If a match specification uses the asterisk 'match all' token, +the part of the path matched by that token will be stored in this property.

+

The remaining path will will be a single string, including any path delimeters (/), +but will not have a leading path delimeter.

+ +
+ +
+ +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/ResourcePatternMatch/segments.html b/doc/api/monadart/ResourcePatternMatch/segments.html new file mode 100644 index 000000000..32a0b02e7 --- /dev/null +++ b/doc/api/monadart/ResourcePatternMatch/segments.html @@ -0,0 +1,154 @@ + + + + + + + segments property - ResourcePatternMatch class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
property
segments +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ List<String> + segments +
+ read / write +
+
+ +
+ +

A list of the segments in a matched path.

+

This property will contain every segment of the matched path, including +constant segments. It will not contain any part of the path caught by +the asterisk 'match all' token, however. Those are in remainingPath.

+ +
+ +
+ +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/ResourcePatternMatch/variables.html b/doc/api/monadart/ResourcePatternMatch/variables.html new file mode 100644 index 000000000..5f53af669 --- /dev/null +++ b/doc/api/monadart/ResourcePatternMatch/variables.html @@ -0,0 +1,159 @@ + + + + + + + variables property - ResourcePatternMatch class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
property
variables +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ Map<String,String> + variables +
+ read / write +
+
+ +
+ +

A map of variable to values in this match.

+

If a path has variables (indicated by the :name syntax) in the path, +the matching segments for the path will be stored in the map. The key +will be the variable name (without the colon) and the value will be the +path segment as a string.

+

Example: +Consider a match specification /users/:id. If the evaluated path is +/users/2 +This property will be {'id' : '2'}.

+ +
+ +
+ +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/ResourceRequest-class.html b/doc/api/monadart/ResourceRequest-class.html index 54d3036d1..3138a5df3 100644 --- a/doc/api/monadart/ResourceRequest-class.html +++ b/doc/api/monadart/ResourceRequest-class.html @@ -27,40 +27,51 @@
+
- -
-

-
class
ResourceRequest -

- -
- -
+
+
+ +
+

+
class
ResourceRequest +

+
+ +
+
+
+
+
- + + + + diff --git a/doc/api/monadart/ResourceRequest/ResourceRequest.html b/doc/api/monadart/ResourceRequest/ResourceRequest.html index 820db92de..aed477140 100644 --- a/doc/api/monadart/ResourceRequest/ResourceRequest.html +++ b/doc/api/monadart/ResourceRequest/ResourceRequest.html @@ -4,7 +4,7 @@ - + ResourceRequest constructor - ResourceRequest class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
ResourceRequest -

- -
- -
+
+
+ +
+

+
constructor
ResourceRequest +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/ResourceRequest/context.html b/doc/api/monadart/ResourceRequest/context.html index ecaee1dce..4f442019b 100644 --- a/doc/api/monadart/ResourceRequest/context.html +++ b/doc/api/monadart/ResourceRequest/context.html @@ -27,39 +27,50 @@
+
- -
-

-
property
context -

- -
- -
+
+
+ +
+

+
property
context +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/ResourceRequest/path.html b/doc/api/monadart/ResourceRequest/path.html new file mode 100644 index 000000000..940cfe645 --- /dev/null +++ b/doc/api/monadart/ResourceRequest/path.html @@ -0,0 +1,160 @@ + + + + + + + path property - ResourceRequest class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
property
path +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ ResourcePatternMatch + path +
+ read / write +
+
+ +
+ +

The path and any extracted variable parameters from the URI of this request.

+

Typically set by a Router instance when the request has been piped through one, +this property will contain a list of each path segment, a map of matched variables, +and any remaining wildcard path. For example, if the path '/users/:id' and a the request URI path is '/users/1', +path will have segments of 'users', '1' and variables of {'id' : '1'}.

+ +
+ +
+ +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/ResourceRequest/request.html b/doc/api/monadart/ResourceRequest/request.html index ab9eb2766..ee0838b12 100644 --- a/doc/api/monadart/ResourceRequest/request.html +++ b/doc/api/monadart/ResourceRequest/request.html @@ -27,39 +27,50 @@
+
- -
-

-
property
request -

- -
- -
+
+
+ +
+

+
property
request +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/ResourceRequest/respond.html b/doc/api/monadart/ResourceRequest/respond.html index 7b1c80b30..96685779b 100644 --- a/doc/api/monadart/ResourceRequest/respond.html +++ b/doc/api/monadart/ResourceRequest/respond.html @@ -27,40 +27,51 @@
+
- -
-

-
method
respond -

- -
- -
+
+
+ +
+

+
method
respond +

+
+ +
+
+ +
+
-
@@ -152,10 +164,14 @@

Source

+ + + + diff --git a/doc/api/monadart/ResourceRequest/response.html b/doc/api/monadart/ResourceRequest/response.html index f5f99cab5..93c261056 100644 --- a/doc/api/monadart/ResourceRequest/response.html +++ b/doc/api/monadart/ResourceRequest/response.html @@ -27,39 +27,50 @@
+
- -
-

-
property
response -

- -
- -
+
+
+ +
+

+
property
response +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Response-class.html b/doc/api/monadart/Response-class.html index a331026ba..2d3f7f8ed 100644 --- a/doc/api/monadart/Response-class.html +++ b/doc/api/monadart/Response-class.html @@ -27,39 +27,50 @@
+
- -
-

-
class
Response -

- -
- -
+
+
+ +
+

+
class
Response +

+
+ +
+
+ +
+
- + + + + diff --git a/doc/api/monadart/Response/Response.accepted.html b/doc/api/monadart/Response/Response.accepted.html index 8a73451dd..f972673b6 100644 --- a/doc/api/monadart/Response/Response.accepted.html +++ b/doc/api/monadart/Response/Response.accepted.html @@ -4,7 +4,7 @@ - + Response.accepted constructor - Response class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
Response.accepted -

- -
- -
+
+
+ +
+

+
constructor
Response.accepted +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/Response/Response.badRequest.html b/doc/api/monadart/Response/Response.badRequest.html index caf27673e..f589503a1 100644 --- a/doc/api/monadart/Response/Response.badRequest.html +++ b/doc/api/monadart/Response/Response.badRequest.html @@ -4,7 +4,7 @@ - + Response.badRequest constructor - Response class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
Response.badRequest -

- -
- -
+
+
+ +
+

+
constructor
Response.badRequest +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Response/Response.conflict.html b/doc/api/monadart/Response/Response.conflict.html index eedb5133f..d55ea03d3 100644 --- a/doc/api/monadart/Response/Response.conflict.html +++ b/doc/api/monadart/Response/Response.conflict.html @@ -4,7 +4,7 @@ - + Response.conflict constructor - Response class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
Response.conflict -

- -
- -
+
+
+ +
+

+
constructor
Response.conflict +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Response/Response.created.html b/doc/api/monadart/Response/Response.created.html index 23c0abc25..7907789b5 100644 --- a/doc/api/monadart/Response/Response.created.html +++ b/doc/api/monadart/Response/Response.created.html @@ -4,7 +4,7 @@ - + Response.created constructor - Response class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
Response.created -

- -
- -
+
+
+ +
+

+
constructor
Response.created +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Response/Response.forbidden.html b/doc/api/monadart/Response/Response.forbidden.html index 241509e3d..235b1798e 100644 --- a/doc/api/monadart/Response/Response.forbidden.html +++ b/doc/api/monadart/Response/Response.forbidden.html @@ -4,7 +4,7 @@ - + Response.forbidden constructor - Response class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
Response.forbidden -

- -
- -
+
+
+ +
+

+
constructor
Response.forbidden +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Response/Response.gone.html b/doc/api/monadart/Response/Response.gone.html index c8100c235..207f68b81 100644 --- a/doc/api/monadart/Response/Response.gone.html +++ b/doc/api/monadart/Response/Response.gone.html @@ -4,7 +4,7 @@ - + Response.gone constructor - Response class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
Response.gone -

- -
- -
+
+
+ +
+

+
constructor
Response.gone +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Response/Response.html b/doc/api/monadart/Response/Response.html index 1fc898062..3995bf741 100644 --- a/doc/api/monadart/Response/Response.html +++ b/doc/api/monadart/Response/Response.html @@ -4,7 +4,7 @@ - + Response constructor - Response class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
Response -

- -
- -
+
+
+ +
+

+
constructor
Response +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Response/Response.notFound.html b/doc/api/monadart/Response/Response.notFound.html index 6aa49816d..bd5acf0b3 100644 --- a/doc/api/monadart/Response/Response.notFound.html +++ b/doc/api/monadart/Response/Response.notFound.html @@ -4,7 +4,7 @@ - + Response.notFound constructor - Response class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
Response.notFound -

- -
- -
+
+
+ +
+

+
constructor
Response.notFound +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Response/Response.ok.html b/doc/api/monadart/Response/Response.ok.html index 386f4d1a6..bae47fc1b 100644 --- a/doc/api/monadart/Response/Response.ok.html +++ b/doc/api/monadart/Response/Response.ok.html @@ -4,7 +4,7 @@ - + Response.ok constructor - Response class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
Response.ok -

- -
- -
+
+
+ +
+

+
constructor
Response.ok +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Response/Response.serverError.html b/doc/api/monadart/Response/Response.serverError.html index 7629d3e65..f6bac1a3b 100644 --- a/doc/api/monadart/Response/Response.serverError.html +++ b/doc/api/monadart/Response/Response.serverError.html @@ -4,7 +4,7 @@ - + Response.serverError constructor - Response class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
Response.serverError -

- -
- -
+
+
+ +
+

+
constructor
Response.serverError +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Response/Response.unauthorized.html b/doc/api/monadart/Response/Response.unauthorized.html index 033e7b26b..b32199ee9 100644 --- a/doc/api/monadart/Response/Response.unauthorized.html +++ b/doc/api/monadart/Response/Response.unauthorized.html @@ -4,7 +4,7 @@ - + Response.unauthorized constructor - Response class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
Response.unauthorized -

- -
- -
+
+
+ +
+

+
constructor
Response.unauthorized +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Response/body.html b/doc/api/monadart/Response/body.html index 65bb2fbff..00198f762 100644 --- a/doc/api/monadart/Response/body.html +++ b/doc/api/monadart/Response/body.html @@ -27,39 +27,50 @@
+
- -
-

-
property
body -

- -
- -
+
+
+ +
+

+
property
body +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Response/headers.html b/doc/api/monadart/Response/headers.html index 64c85c4d4..8c75949f9 100644 --- a/doc/api/monadart/Response/headers.html +++ b/doc/api/monadart/Response/headers.html @@ -27,39 +27,50 @@
+
- -
-

-
property
headers -

- -
- -
+
+
+ +
+

+
property
headers +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Response/statusCode.html b/doc/api/monadart/Response/statusCode.html index 5f60eb9ff..2ea054b73 100644 --- a/doc/api/monadart/Response/statusCode.html +++ b/doc/api/monadart/Response/statusCode.html @@ -27,39 +27,50 @@
+
- -
-

-
property
statusCode -

- -
- -
+
+
+ +
+

+
property
statusCode +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/Router-class.html b/doc/api/monadart/Router-class.html index 78dadff9a..b38e1cdb2 100644 --- a/doc/api/monadart/Router-class.html +++ b/doc/api/monadart/Router-class.html @@ -27,40 +27,51 @@
+
- -
-

-
class
Router -

- -
- -
+
+
+ +
+

+
class
Router +

+
+ +
+
+ +
+
- + + + + diff --git a/doc/api/monadart/Router/Router.html b/doc/api/monadart/Router/Router.html index 77820f1f9..37343e143 100644 --- a/doc/api/monadart/Router/Router.html +++ b/doc/api/monadart/Router/Router.html @@ -4,7 +4,7 @@ - + Router constructor - Router class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
Router -

- -
- -
+
+
+ +
+

+
constructor
Router +

+
+ +
+
+
+
+
-
@@ -128,10 +142,14 @@
Router
+ + + + diff --git a/doc/api/monadart/Router/addRoute.html b/doc/api/monadart/Router/addRoute.html index ffb387385..ba14fdace 100644 --- a/doc/api/monadart/Router/addRoute.html +++ b/doc/api/monadart/Router/addRoute.html @@ -27,40 +27,51 @@
+
- -
-

-
method
addRoute -

- -
- -
+
+
+ +
+

+
method
addRoute +

+
+ +
+
+ +
+
-
@@ -178,10 +184,14 @@

Source

+ + + + diff --git a/doc/api/monadart/Router/addRouteHandler.html b/doc/api/monadart/Router/addRouteHandler.html new file mode 100644 index 000000000..f4df75ca6 --- /dev/null +++ b/doc/api/monadart/Router/addRouteHandler.html @@ -0,0 +1,167 @@ + + + + + + + addRouteHandler method - Router class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
method
addRouteHandler +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ void + addRouteHandler( +
+
+ String routePattern,
RequestHandler handler +
+ )
+ +
+ +

Not documented.

+ +
+ +
+

Source

+
void addRouteHandler(String routePattern, RequestHandler handler) {
+  var route = _createRoute(routePattern, handler: handler);
+
+  route.streamController.stream.listen(handler.handleRequest);
+}
+
+ +
+ +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/Router/basePath.html b/doc/api/monadart/Router/basePath.html index 7be408fa7..15b5418f5 100644 --- a/doc/api/monadart/Router/basePath.html +++ b/doc/api/monadart/Router/basePath.html @@ -27,39 +27,50 @@
+
- -
-

-
property
basePath -

- -
- -
+
+
+ +
+

+
property
basePath +

+
+ +
+
+ +
+
-
@@ -133,10 +147,14 @@
Router
+ + + + diff --git a/doc/api/monadart/Router/handleRequest.html b/doc/api/monadart/Router/handleRequest.html new file mode 100644 index 000000000..c368d5a50 --- /dev/null +++ b/doc/api/monadart/Router/handleRequest.html @@ -0,0 +1,187 @@ + + + + + + + handleRequest method - Router class - monadart library - Dart API + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+
+ +
+

+
method
handleRequest +

+
+ +
+
+
+ +
+ +
+
+ + + +
+ +
+ void + handleRequest( +
+
+ ResourceRequest req +
+ )
+ +
+ +

Routes a ResourceRequest through the routes of this Router.

+

This is the entry point for ResourceRequests into this router. A request will +either be inserted into a stream for a matching route or will be handled +by the unhandledRequestHandler. This method is typically used +as a listener to a Stream of ResourceRequests.

+ +
+ +
+

Source

+
/// Routes a [ResourceRequest] through the routes of this [Router].
+///
+/// This is the entry point for [ResourceRequest]s into this router. A request will
+/// either be inserted into a stream for a matching route or will be handled
+/// by the [unhandledRequestHandler]. This method is typically used
+/// as a listener to a [Stream] of [ResourceRequest]s.
+void handleRequest(ResourceRequest req) {
+  for (var route in _routes) {
+    var routeMatch = route.pattern.matchUri(req.request.uri);
+
+    if(routeMatch != null) {
+      req.path = routeMatch;
+
+      route.streamController.add(req);
+
+      return;
+    }
+  }
+
+  _unhandledRequestHandler(req);
+}
+
+ +
+ +
+
+ +
+
+
+

+ + monadart 0.0.1 api docs + + • + + + Dart + + + • + + cc license + +

+
+
+
+ + + + + + + + + + + + diff --git a/doc/api/monadart/Router/unhandledRequestHandler.html b/doc/api/monadart/Router/unhandledRequestHandler.html index 62bc5d2c2..3ae731c46 100644 --- a/doc/api/monadart/Router/unhandledRequestHandler.html +++ b/doc/api/monadart/Router/unhandledRequestHandler.html @@ -27,39 +27,50 @@
+
- -
-

-
property
unhandledRequestHandler -

- -
- -
+
+
+ +
+

+
property
unhandledRequestHandler +

+
+ +
+
+ +
+
-
@@ -133,10 +147,14 @@
Router
+ + + + diff --git a/doc/api/monadart/VirtualDirectory-class.html b/doc/api/monadart/VirtualDirectory-class.html index 46ae2cd13..feb0fa983 100644 --- a/doc/api/monadart/VirtualDirectory-class.html +++ b/doc/api/monadart/VirtualDirectory-class.html @@ -27,41 +27,51 @@
+
- -
-

-
class
VirtualDirectory -

- -
- -
+
+
+ +
+

+
class
VirtualDirectory +

+
+ +
+
+ +
+
- + + + + diff --git a/doc/api/monadart/VirtualDirectory/VirtualDirectory.html b/doc/api/monadart/VirtualDirectory/VirtualDirectory.html index 8215c433f..393efe9a6 100644 --- a/doc/api/monadart/VirtualDirectory/VirtualDirectory.html +++ b/doc/api/monadart/VirtualDirectory/VirtualDirectory.html @@ -4,7 +4,7 @@ - + VirtualDirectory constructor - VirtualDirectory class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
VirtualDirectory -

- -
- -
+
+
+ +
+

+
constructor
VirtualDirectory +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/VirtualDirectory/allowDirectoryListing.html b/doc/api/monadart/VirtualDirectory/allowDirectoryListing.html index 5041c762f..43f1d9f41 100644 --- a/doc/api/monadart/VirtualDirectory/allowDirectoryListing.html +++ b/doc/api/monadart/VirtualDirectory/allowDirectoryListing.html @@ -27,41 +27,50 @@
+
- -
-

-
property
allowDirectoryListing -

- -
- -
+
+
+ +
+

+
property
allowDirectoryListing +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/VirtualDirectory/directoryHandler.html b/doc/api/monadart/VirtualDirectory/directoryHandler.html index 1b290bd6e..3dc571776 100644 --- a/doc/api/monadart/VirtualDirectory/directoryHandler.html +++ b/doc/api/monadart/VirtualDirectory/directoryHandler.html @@ -27,41 +27,50 @@
+
- -
-

-
property
directoryHandler -

- -
- -
+
+
+ +
+

+
property
directoryHandler +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/VirtualDirectory/errorPageHandler.html b/doc/api/monadart/VirtualDirectory/errorPageHandler.html index d0cc38858..22a31ce70 100644 --- a/doc/api/monadart/VirtualDirectory/errorPageHandler.html +++ b/doc/api/monadart/VirtualDirectory/errorPageHandler.html @@ -27,40 +27,50 @@
+
- -
-

-
property
errorPageHandler -

- -
- -
+
+
+ +
+

+
property
errorPageHandler +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/VirtualDirectory/followLinks.html b/doc/api/monadart/VirtualDirectory/followLinks.html index 5f19fec90..031f634aa 100644 --- a/doc/api/monadart/VirtualDirectory/followLinks.html +++ b/doc/api/monadart/VirtualDirectory/followLinks.html @@ -27,41 +27,50 @@
+
- -
-

-
property
followLinks -

- -
- -
+
+
+ +
+

+
property
followLinks +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/VirtualDirectory/jailRoot.html b/doc/api/monadart/VirtualDirectory/jailRoot.html index dabe38a27..1a1def6b0 100644 --- a/doc/api/monadart/VirtualDirectory/jailRoot.html +++ b/doc/api/monadart/VirtualDirectory/jailRoot.html @@ -27,41 +27,50 @@
+
- -
-

-
property
jailRoot -

- -
- -
+
+
+ +
+

+
property
jailRoot +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/VirtualDirectory/root.html b/doc/api/monadart/VirtualDirectory/root.html index 0c54929b4..12cc2a1f4 100644 --- a/doc/api/monadart/VirtualDirectory/root.html +++ b/doc/api/monadart/VirtualDirectory/root.html @@ -27,39 +27,50 @@
+
- -
-

-
property
root -

- -
- -
+
+
+ +
+

+
property
root +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/VirtualDirectory/serve.html b/doc/api/monadart/VirtualDirectory/serve.html index cac5a132d..41a0d5c27 100644 --- a/doc/api/monadart/VirtualDirectory/serve.html +++ b/doc/api/monadart/VirtualDirectory/serve.html @@ -27,40 +27,51 @@
+
- -
-

-
method
serve -

- -
- -
+
+
+ +
+

+
method
serve +

+
+ +
+
+ +
+
-
@@ -150,10 +162,14 @@

Source

+ + + + diff --git a/doc/api/monadart/VirtualDirectory/serveFile.html b/doc/api/monadart/VirtualDirectory/serveFile.html index ffb513b48..42d7762a8 100644 --- a/doc/api/monadart/VirtualDirectory/serveFile.html +++ b/doc/api/monadart/VirtualDirectory/serveFile.html @@ -27,40 +27,51 @@
+
- -
-

-
method
serveFile -

- -
- -
+
+
+ +
+

+
method
serveFile +

+
+ +
+
+ +
+
-
@@ -252,10 +264,14 @@

Source

+ + + + diff --git a/doc/api/monadart/VirtualDirectory/serveRequest.html b/doc/api/monadart/VirtualDirectory/serveRequest.html index fbd4b7316..8ca50d528 100644 --- a/doc/api/monadart/VirtualDirectory/serveRequest.html +++ b/doc/api/monadart/VirtualDirectory/serveRequest.html @@ -27,40 +27,51 @@
+
- -
-

-
method
serveRequest -

- -
- -
+
+
+ +
+

+
method
serveRequest +

+
+ +
+
+ +
+
-
@@ -177,10 +189,14 @@

Source

+ + + + diff --git a/doc/api/monadart/VirtualHost-class.html b/doc/api/monadart/VirtualHost-class.html index 65cf52c77..97ba22ed8 100644 --- a/doc/api/monadart/VirtualHost-class.html +++ b/doc/api/monadart/VirtualHost-class.html @@ -27,41 +27,51 @@
+
- -
-

-
class
VirtualHost -

- -
- -
+
+
+ +
+

+
class
VirtualHost +

+
+ +
+
+ +
+
- + + + + diff --git a/doc/api/monadart/VirtualHost/VirtualHost.html b/doc/api/monadart/VirtualHost/VirtualHost.html index bce78801a..c321fc296 100644 --- a/doc/api/monadart/VirtualHost/VirtualHost.html +++ b/doc/api/monadart/VirtualHost/VirtualHost.html @@ -4,7 +4,7 @@ - + VirtualHost constructor - VirtualHost class - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,39 +27,50 @@
+
- -
-

-
constructor
VirtualHost -

- -
- -
+
+
+ +
+

+
constructor
VirtualHost +

+
+ +
+
+
+
+
-
+ + + + diff --git a/doc/api/monadart/VirtualHost/addHost.html b/doc/api/monadart/VirtualHost/addHost.html index f5a11d4db..1d55742da 100644 --- a/doc/api/monadart/VirtualHost/addHost.html +++ b/doc/api/monadart/VirtualHost/addHost.html @@ -27,43 +27,51 @@
+
- -
-

-
method
addHost -

- -
- -
+
+
+ +
+

+
method
addHost +

+
+ +
+
+ +
+
-
@@ -151,10 +160,14 @@

Source

+ + + + diff --git a/doc/api/monadart/VirtualHost/addSource.html b/doc/api/monadart/VirtualHost/addSource.html index 302dc1ece..85db62ff5 100644 --- a/doc/api/monadart/VirtualHost/addSource.html +++ b/doc/api/monadart/VirtualHost/addSource.html @@ -27,40 +27,51 @@
+
- -
-

-
method
addSource -

- -
- -
+
+
+ +
+

+
method
addSource +

+
+ +
+
+ +
+
-
@@ -137,10 +149,14 @@

Source

+ + + + diff --git a/doc/api/monadart/VirtualHost/unhandled.html b/doc/api/monadart/VirtualHost/unhandled.html index e11499f9b..a488aa075 100644 --- a/doc/api/monadart/VirtualHost/unhandled.html +++ b/doc/api/monadart/VirtualHost/unhandled.html @@ -27,40 +27,50 @@
+
- -
-

-
property
unhandled -

- -
- -
+
+
+ +
+

+
property
unhandled +

+
+ +
+
+ +
+
-
+ + + + diff --git a/doc/api/monadart/httpDelete.html b/doc/api/monadart/httpDelete.html index bfe982361..c36bb2e97 100644 --- a/doc/api/monadart/httpDelete.html +++ b/doc/api/monadart/httpDelete.html @@ -4,7 +4,7 @@ - httpDelete property - monadart library - Dart API + httpDelete constant - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,37 +27,48 @@
+
- -
-

-
constant
httpDelete -

- -
- -
+
+
+ +
+

+
constant
httpDelete +

+
+ +
+
+ +
+ + + + + diff --git a/doc/api/monadart/httpGet.html b/doc/api/monadart/httpGet.html index 51c948ddd..a6fc2dea7 100644 --- a/doc/api/monadart/httpGet.html +++ b/doc/api/monadart/httpGet.html @@ -4,7 +4,7 @@ - httpGet property - monadart library - Dart API + httpGet constant - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,37 +27,48 @@
+
- -
-

-
constant
httpGet -

- -
- -
+
+
+ +
+

+
constant
httpGet +

+
+ +
+
+ +
+ + + + + diff --git a/doc/api/monadart/httpPatch.html b/doc/api/monadart/httpPatch.html index 86aa17ada..89d15be6d 100644 --- a/doc/api/monadart/httpPatch.html +++ b/doc/api/monadart/httpPatch.html @@ -4,7 +4,7 @@ - httpPatch property - monadart library - Dart API + httpPatch constant - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,37 +27,48 @@
+
- -
-

-
constant
httpPatch -

- -
- -
+
+
+ +
+

+
constant
httpPatch +

+
+ +
+
+ +
+ + + + + diff --git a/doc/api/monadart/httpPost.html b/doc/api/monadart/httpPost.html index e4289da79..9b6bf6df6 100644 --- a/doc/api/monadart/httpPost.html +++ b/doc/api/monadart/httpPost.html @@ -4,7 +4,7 @@ - httpPost property - monadart library - Dart API + httpPost constant - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,37 +27,48 @@
+
- -
-

-
constant
httpPost -

- -
- -
+
+
+ +
+

+
constant
httpPost +

+
+ +
+
+ +
+ + + + + diff --git a/doc/api/monadart/httpPut.html b/doc/api/monadart/httpPut.html index bef686c07..aaa2639ed 100644 --- a/doc/api/monadart/httpPut.html +++ b/doc/api/monadart/httpPut.html @@ -4,7 +4,7 @@ - httpPut property - monadart library - Dart API + httpPut constant - monadart library - Dart API @@ -13,7 +13,7 @@ - + @@ -27,37 +27,48 @@
+
- -
-

-
constant
httpPut -

- -
- -
+
+
+ +
+

+
constant
httpPut +

+
+ +
+
+ +
+ + + + + diff --git a/doc/api/monadart/monadart-library.html b/doc/api/monadart/monadart-library.html index acd0d856b..b2365c7a3 100644 --- a/doc/api/monadart/monadart-library.html +++ b/doc/api/monadart/monadart-library.html @@ -27,47 +27,58 @@
+
- -
-

-
library
monadart -

- -
- -
+
+
+ +
+

+
library
monadart +

+
+ +
+
+ +
+
- + + + + diff --git a/doc/api/static-assets/script.js b/doc/api/static-assets/script.js index 4e6c4ab8f..a92277d85 100644 --- a/doc/api/static-assets/script.js +++ b/doc/api/static-assets/script.js @@ -58,10 +58,143 @@ function shiftWindow() { scrollBy(0, -68); } +function initSearch() { + var searchIndex; // the JSON data + + var weights = { + 'library' : 2, + 'class' : 2, + 'typedef' : 3, + 'method' : 4, + 'accessor' : 4, + 'operator' : 4, + 'property' : 4, + 'constructor' : 4 + }; + + function findMatches(q, cb) { + var allMatches = []; // ist of matches + + function score(element, num) { + var weightFactor = weights[element.type] || 4; + return {e: element, score: (num / weightFactor) >> 0}; + } + + $.each(searchIndex, function(i, element) { + // TODO: prefer matches in the current library + // TODO: help prefer a named constructor + + var lowerName = element.name.toLowerCase(); + var lowerQ = q.toLowerCase(); + var previousMatchCount = allMatches.length; + + if (element.name === q) { + // exact match, maximum score + allMatches.push(score(element, 2000)); + } else if (element.name === 'dart:'+q) { + // exact match for a dart: library + allMatches.push(score(element, 2000)); + } else if (lowerName === 'dart:'+lowerQ) { + // case-insensitive match for a dart: library + allMatches.push(score(element, 1800)); + } else if (lowerName === lowerQ) { + // case-insensitive exact match + allMatches.push(score(element, 1700)); + } + + // only care about exact matches if length is 2 or less + // and only continue if we didn't find a match above + if (q.length <= 2 || previousMatchCount < allMatches.length) return; + + if (element.name.indexOf(q) === 0) { + // starts with + allMatches.push(score(element, 750)); + } else if (lowerName.indexOf(lowerQ) === 0) { + // case-insensitive starts with + allMatches.push(score(element, 650)); + } else if (element.name.indexOf(q) >= 0) { + // contains + allMatches.push(score(element, 500)); + } else if (lowerName.indexOf(lowerQ) >= 0) { + // case insensitive contains + allMatches.push(score(element, 400)); + } + }); + + allMatches.sort(function(a, b) { + var x = b.score - a.score; + if (x === 0) { + // tie-breaker: shorter name wins + return a.e.name.length - b.e.name.length; + } else { + return x; + } + }); + + var sortedMatches = []; + for (var i = 0; i < allMatches.length; i++) { + sortedMatches.push(allMatches[i].e); + } + + cb(sortedMatches); + }; + + function initTypeahead() { + $('#search-box').prop('disabled', false); + $('#search-box').prop('placeholder', 'Search'); + $(document).keypress(function(event) { + if (event.which == 47 /* / */) { + event.preventDefault(); + $('#search-box').focus(); + } + }); + + $('#search-box.typeahead').typeahead({ + hint: true, + highlight: true, + minLength: 1 + }, + { + name: 'elements', + limit: 10, + source: findMatches, + display: function(element) { return element.name; }, + templates: { + suggestion: function(match) { + return [ + '
', + match.name, + ' ', + match.type.toLowerCase(), + (match.enclosedBy ? [ + '
from ', + match.enclosedBy.name, + '
'].join('') : ''), + '
' + ].join(''); + } + } + }); + + $('#search-box.typeahead').bind('typeahead:select', function(ev, suggestion) { + window.location = suggestion.href; + }); + } + + var jsonReq = new XMLHttpRequest(); + jsonReq.open('GET', 'index.json', true); + jsonReq.addEventListener('load', function() { + searchIndex = JSON.parse(jsonReq.responseText); + initTypeahead(); + }); + jsonReq.send(); +} + document.addEventListener("DOMContentLoaded", function() { prettyPrint(); initScroller(); initSideNav(); + initSearch(); // Make sure the anchors scroll past the fixed page header (#648). if (location.hash) shiftWindow(); diff --git a/doc/api/static-assets/styles.css b/doc/api/static-assets/styles.css index 99a4ed2a6..5a36cff90 100644 --- a/doc/api/static-assets/styles.css +++ b/doc/api/static-assets/styles.css @@ -1,11 +1,11 @@ -/* Palette generated by Material Palette - materialpalette.com/blue-grey/light-blue */ +/* Palette generated by Material Palette - materialpalette.com/blue/cyan */ -.dark-primary-color { background: #455A64; } -.default-primary-color { background: #607D8B; } -.light-primary-color { background: #CFD8DC; } +.dark-primary-color { background: #1976D2; } +.default-primary-color { background: #2196F3; } +.light-primary-color { background: #BBDEFB; } .text-primary-color { color: #FFFFFF; } -.accent-color { background: #03A9F4; } +.accent-color { background: #00BCD4; } .primary-text-color { color: #212121; } .secondary-text-color { color: #727272; } .divider-color { border-color: #B6B6B6; } @@ -22,6 +22,7 @@ body { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; overflow-x: hidden; + color: #212121; } nav { @@ -31,22 +32,26 @@ nav { /* some of this is to reset bootstrap */ nav.navbar { background-color: inherit; - min-height: 56px; + min-height: 48px; border: 0; - display: flex; - flex-direction: column; - justify-content: center; - display: -webkit-flex; - -webkit-flex-direction: column; - -webkit-justify-content: center; +} + +nav.navbar .row { + padding-top: 8px; } nav .container { white-space: nowrap; } +@media screen and (min-width: 500px) and (max-width: 768px) { + .navbar-right { + float: right!important; + } +} + header { - background-color: #607D8B; + background-color: #2196F3; color: white; box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37); } @@ -63,6 +68,17 @@ header .masthead { padding-top: 64px; } +header .contents { + padding: 0; +} + +@media screen and (max-width:768px) { + header .contents { + padding-left: 15px; + padding-right: 15px; + } +} + .body { margin-top: 24px; } @@ -98,6 +114,10 @@ h5 { font-size: 16px; } +strong { + font-weight: 500; +} + .subtitle { font-size: 17px; min-height: 1.4em; @@ -113,29 +133,24 @@ p { margin-bottom: 1em; } -p, -ul, -li { - color: #727272; -} - p.no-docs { font-style: italic; } -a { - color: #455A64; +a, a:hover { + color: #1976D2; } -pre { +pre.prettyprint { font-family: 'Source Code Pro', monospace; color: black; border-radius: 4px; - font-size: 14px; + font-size: 13px; word-wrap: normal; line-height: 1.4; + background: #f7f7f7; border: 1px solid #f0f0f0; - margin: 16px; + margin: 16px 0 16px 0; padding: 8px; } @@ -150,11 +165,8 @@ pre code { code { font-family: 'Source Code Pro', monospace; /* overriding bootstrap */ - font-size: 15px; color: inherit; - border-radius: 0; - padding: 0; - background-color: inherit; + background-color: #f7f7f7; } @media(max-width: 768px) { @@ -198,7 +210,7 @@ header li { } header h1 .kind { - color: #CFD8DC; + color: #DDDDDD; text-transform: uppercase; font-size: 13px; } @@ -208,15 +220,25 @@ dt { } dd { - margin-bottom: 16px; - color: #727272; + color: #212121; +} + +dd.callable, dd.constant, dd.property { + margin-bottom: 24px; +} + +dd p { + margin-top: 4px; + white-space: nowrap; + overflow-x: hidden; + text-overflow: ellipsis; } section.summary h2 { color: #727272; margin-bottom: 16px; padding-bottom: 4px; - border-bottom: 1px solid #CFD8DC; + border-bottom: 1px solid #DDDDDD; } /* indents wrapped lines */ @@ -228,10 +250,16 @@ section.summary dt { dl.dl-horizontal dt { font-style: normal; text-align: left; + color: #727272; +} + +dl.dl-horizontal dt::after { + content: ':'; } dt .name { font-size: 17px; + font-weight: 500; } dl dt.callable .name { @@ -243,8 +271,13 @@ dl dt.callable .name { white-space: nowrap; } +.signature { + color: #727272; +} + .signature a { - color: rgb(51, 51, 51); + /* 50% mix of default-primary-color and primary-text-color. */ + color: #4674a2; } .optional { @@ -290,7 +323,7 @@ footer .container-fluid { } .copyright a { - color: #727272; + color: #212121; } .markdown h1 { @@ -321,6 +354,7 @@ footer .container-fluid { .gt-separated { list-style: none; padding: 0; + margin: 0; } .gt-separated li { @@ -328,7 +362,7 @@ footer .container-fluid { } .gt-separated li:before { - background-image: url("data:image/svg+xml;utf8,"); + background-image: url("data:image/svg+xml;utf8,"); background-position: center; content: "\00a0"; margin: 0 6px 0 4px; @@ -344,9 +378,12 @@ footer .container-fluid { margin: 0; } -.is-inherited { - color: #727272; +/* The little slug line under a declaration for things like "const", + "read-only", etc. */ +.features { + font-size: 14px; font-style: italic; + color: #727272; } .multi-line-signature { @@ -361,6 +398,12 @@ footer .container-fluid { line-height: 1; } +@media screen and (min-width: 768px) { + nav ol.breadcrumbs { + float: left; + } +} + @media screen and (max-width: 768px) { .breadcrumbs { margin: 0 0 24px 0; @@ -368,11 +411,11 @@ footer .container-fluid { } .self-crumb { - color: #CFD8DC; + color: #DDDDDD; } nav .self-name { - color: #CFD8DC; + color: #DDDDDD; display: none; } @@ -420,10 +463,6 @@ nav .self-name { font-style: italic; } -.readable-writable { - font-style: italic; -} - section.multi-line-signature div.parameters { margin-left: 24px; } @@ -447,12 +486,7 @@ ul.subnav li { } ul.subnav li a { - color: #CFD8DC; -} - -ul.subnav li a:hover { color: #FFFFFF; - text-decoration: none; } ul.subnav li { @@ -503,6 +537,7 @@ span.top-level-variable-type { padding: 16px; } +.sidebar h5, .sidebar ol li { text-overflow: ellipsis; overflow: hidden; @@ -513,7 +548,8 @@ span.top-level-variable-type { } .sidebar ol li.section-title { - font-size: 12px; + font-size: 13px; + color: #B6B6B6; text-transform: uppercase; line-height: 20px; margin-top: 24px; @@ -536,11 +572,6 @@ button { /* left-nav disappears, and can transition in from the left */ @media screen and (max-width:768px) { - .main-content { - padding-left: 0; - padding-right: 0; - } - #sidenav-left-toggle { display: inline; background: no-repeat url("data:image/svg+xml;utf8,"); @@ -552,7 +583,7 @@ button { } #overlay-under-drawer.active { - opacity: 0.7; + opacity: 0.4; height: 100%; z-index: 1999; position: fixed; @@ -605,12 +636,99 @@ button { } } -/* source code method bodies */ +#overlay-under-drawer { + display: none; +} + +/* find-as-you-type search box */ -.source-code pre { - margin: 16px 0 16px 0; +/* override bootstrap defaults */ +.form-control { + border-radius: 0; + border: 0; } -#overlay-under-drawer { - display: none; +form.search { + display: inline; +} + +@media screen and (max-width: 500px) { + form.search { + display: none; + } +} + +.typeahead, +.tt-query, +.tt-hint { + width: 200px; + height: 30px; + padding: 8px 12px; + line-height: 30px; + outline: none; +} + +.typeahead { + background-color: #fff; + border-radius: 2px; +} + +.tt-query { + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.tt-hint { + color: #999 +} + +.tt-menu { + right:0; + left: inherit !important; + width: 422px; + max-height: 250px; + overflow-y: auto; + font-size: 14px; + margin: 0; + padding: 8px 0; + background-color: #fff; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.2); + -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2); + -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2); + box-shadow: 0 5px 10px rgba(0,0,0,.2); +} + +.tt-suggestion { + padding: 3px 20px; + color: #212121; +} + +.tt-suggestion:hover { + cursor: pointer; + color: #fff; + background-color: #0097cf; +} + +.tt-suggestion:hover .search-from-lib { + color: #ddd; +} + +.tt-suggestion.tt-cursor { + color: #fff; + background-color: #0097cf; +} + +.tt-suggestion.tt-cursor .search-from-lib { + color: #ddd; +} + +.tt-suggestion p { + margin: 0; +} + +.search-from-lib { + font-style: italic; + color: gray; } diff --git a/doc/api/static-assets/typeahead.bundle.min.js b/doc/api/static-assets/typeahead.bundle.min.js new file mode 100644 index 000000000..2940b3a38 --- /dev/null +++ b/doc/api/static-assets/typeahead.bundle.min.js @@ -0,0 +1,8 @@ +/*! + * typeahead.js 0.11.1 + * https://github.com/twitter/typeahead.js + * Copyright 2013-2015 Twitter, Inc. and other contributors; Licensed MIT + */ + +!function(a,b){"function"==typeof define&&define.amd?define("bloodhound",["jquery"],function(c){return a.Bloodhound=b(c)}):"object"==typeof exports?module.exports=b(require("jquery")):a.Bloodhound=b(jQuery)}(this,function(a){var b=function(){"use strict";return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(a){return!a||/^\s*$/.test(a)},escapeRegExChars:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(a){return"string"==typeof a},isNumber:function(a){return"number"==typeof a},isArray:a.isArray,isFunction:a.isFunction,isObject:a.isPlainObject,isUndefined:function(a){return"undefined"==typeof a},isElement:function(a){return!(!a||1!==a.nodeType)},isJQuery:function(b){return b instanceof a},toStr:function(a){return b.isUndefined(a)||null===a?"":a+""},bind:a.proxy,each:function(b,c){function d(a,b){return c(b,a)}a.each(b,d)},map:a.map,filter:a.grep,every:function(b,c){var d=!0;return b?(a.each(b,function(a,e){return(d=c.call(null,e,a,b))?void 0:!1}),!!d):d},some:function(b,c){var d=!1;return b?(a.each(b,function(a,e){return(d=c.call(null,e,a,b))?!1:void 0}),!!d):d},mixin:a.extend,identity:function(a){return a},clone:function(b){return a.extend(!0,{},b)},getIdGenerator:function(){var a=0;return function(){return a++}},templatify:function(b){function c(){return String(b)}return a.isFunction(b)?b:c},defer:function(a){setTimeout(a,0)},debounce:function(a,b,c){var d,e;return function(){var f,g,h=this,i=arguments;return f=function(){d=null,c||(e=a.apply(h,i))},g=c&&!d,clearTimeout(d),d=setTimeout(f,b),g&&(e=a.apply(h,i)),e}},throttle:function(a,b){var c,d,e,f,g,h;return g=0,h=function(){g=new Date,e=null,f=a.apply(c,d)},function(){var i=new Date,j=b-(i-g);return c=this,d=arguments,0>=j?(clearTimeout(e),e=null,g=i,f=a.apply(c,d)):e||(e=setTimeout(h,j)),f}},stringify:function(a){return b.isString(a)?a:JSON.stringify(a)},noop:function(){}}}(),c="0.11.1",d=function(){"use strict";function a(a){return a=b.toStr(a),a?a.split(/\s+/):[]}function c(a){return a=b.toStr(a),a?a.split(/\W+/):[]}function d(a){return function(c){return c=b.isArray(c)?c:[].slice.call(arguments,0),function(d){var e=[];return b.each(c,function(c){e=e.concat(a(b.toStr(d[c])))}),e}}}return{nonword:c,whitespace:a,obj:{nonword:d(c),whitespace:d(a)}}}(),e=function(){"use strict";function c(c){this.maxSize=b.isNumber(c)?c:100,this.reset(),this.maxSize<=0&&(this.set=this.get=a.noop)}function d(){this.head=this.tail=null}function e(a,b){this.key=a,this.val=b,this.prev=this.next=null}return b.mixin(c.prototype,{set:function(a,b){var c,d=this.list.tail;this.size>=this.maxSize&&(this.list.remove(d),delete this.hash[d.key],this.size--),(c=this.hash[a])?(c.val=b,this.list.moveToFront(c)):(c=new e(a,b),this.list.add(c),this.hash[a]=c,this.size++)},get:function(a){var b=this.hash[a];return b?(this.list.moveToFront(b),b.val):void 0},reset:function(){this.size=0,this.hash={},this.list=new d}}),b.mixin(d.prototype,{add:function(a){this.head&&(a.next=this.head,this.head.prev=a),this.head=a,this.tail=this.tail||a},remove:function(a){a.prev?a.prev.next=a.next:this.head=a.next,a.next?a.next.prev=a.prev:this.tail=a.prev},moveToFront:function(a){this.remove(a),this.add(a)}}),c}(),f=function(){"use strict";function c(a,c){this.prefix=["__",a,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+b.escapeRegExChars(this.prefix)),this.ls=c||h,!this.ls&&this._noop()}function d(){return(new Date).getTime()}function e(a){return JSON.stringify(b.isUndefined(a)?null:a)}function f(b){return a.parseJSON(b)}function g(a){var b,c,d=[],e=h.length;for(b=0;e>b;b++)(c=h.key(b)).match(a)&&d.push(c.replace(a,""));return d}var h;try{h=window.localStorage,h.setItem("~~~","!"),h.removeItem("~~~")}catch(i){h=null}return b.mixin(c.prototype,{_prefix:function(a){return this.prefix+a},_ttlKey:function(a){return this._prefix(a)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=b.noop},_safeSet:function(a,b){try{this.ls.setItem(a,b)}catch(c){"QuotaExceededError"===c.name&&(this.clear(),this._noop())}},get:function(a){return this.isExpired(a)&&this.remove(a),f(this.ls.getItem(this._prefix(a)))},set:function(a,c,f){return b.isNumber(f)?this._safeSet(this._ttlKey(a),e(d()+f)):this.ls.removeItem(this._ttlKey(a)),this._safeSet(this._prefix(a),e(c))},remove:function(a){return this.ls.removeItem(this._ttlKey(a)),this.ls.removeItem(this._prefix(a)),this},clear:function(){var a,b=g(this.keyMatcher);for(a=b.length;a--;)this.remove(b[a]);return this},isExpired:function(a){var c=f(this.ls.getItem(this._ttlKey(a)));return b.isNumber(c)&&d()>c?!0:!1}}),c}(),g=function(){"use strict";function c(a){a=a||{},this.cancelled=!1,this.lastReq=null,this._send=a.transport,this._get=a.limiter?a.limiter(this._get):this._get,this._cache=a.cache===!1?new e(0):h}var d=0,f={},g=6,h=new e(10);return c.setMaxPendingRequests=function(a){g=a},c.resetCache=function(){h.reset()},b.mixin(c.prototype,{_fingerprint:function(b){return b=b||{},b.url+b.type+a.param(b.data||{})},_get:function(a,b){function c(a){b(null,a),k._cache.set(i,a)}function e(){b(!0)}function h(){d--,delete f[i],k.onDeckRequestArgs&&(k._get.apply(k,k.onDeckRequestArgs),k.onDeckRequestArgs=null)}var i,j,k=this;i=this._fingerprint(a),this.cancelled||i!==this.lastReq||((j=f[i])?j.done(c).fail(e):g>d?(d++,f[i]=this._send(a).done(c).fail(e).always(h)):this.onDeckRequestArgs=[].slice.call(arguments,0))},get:function(c,d){var e,f;d=d||a.noop,c=b.isString(c)?{url:c}:c||{},f=this._fingerprint(c),this.cancelled=!1,this.lastReq=f,(e=this._cache.get(f))?d(null,e):this._get(c,d)},cancel:function(){this.cancelled=!0}}),c}(),h=window.SearchIndex=function(){"use strict";function c(c){c=c||{},c.datumTokenizer&&c.queryTokenizer||a.error("datumTokenizer and queryTokenizer are both required"),this.identify=c.identify||b.stringify,this.datumTokenizer=c.datumTokenizer,this.queryTokenizer=c.queryTokenizer,this.reset()}function d(a){return a=b.filter(a,function(a){return!!a}),a=b.map(a,function(a){return a.toLowerCase()})}function e(){var a={};return a[i]=[],a[h]={},a}function f(a){for(var b={},c=[],d=0,e=a.length;e>d;d++)b[a[d]]||(b[a[d]]=!0,c.push(a[d]));return c}function g(a,b){var c=0,d=0,e=[];a=a.sort(),b=b.sort();for(var f=a.length,g=b.length;f>c&&g>d;)a[c]b[d]?d++:(e.push(a[c]),c++,d++);return e}var h="c",i="i";return b.mixin(c.prototype,{bootstrap:function(a){this.datums=a.datums,this.trie=a.trie},add:function(a){var c=this;a=b.isArray(a)?a:[a],b.each(a,function(a){var f,g;c.datums[f=c.identify(a)]=a,g=d(c.datumTokenizer(a)),b.each(g,function(a){var b,d,g;for(b=c.trie,d=a.split("");g=d.shift();)b=b[h][g]||(b[h][g]=e()),b[i].push(f)})})},get:function(a){var c=this;return b.map(a,function(a){return c.datums[a]})},search:function(a){var c,e,j=this;return c=d(this.queryTokenizer(a)),b.each(c,function(a){var b,c,d,f;if(e&&0===e.length)return!1;for(b=j.trie,c=a.split("");b&&(d=c.shift());)b=b[h][d];return b&&0===c.length?(f=b[i].slice(0),void(e=e?g(e,f):f)):(e=[],!1)}),e?b.map(f(e),function(a){return j.datums[a]}):[]},all:function(){var a=[];for(var b in this.datums)a.push(this.datums[b]);return a},reset:function(){this.datums={},this.trie=e()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),c}(),i=function(){"use strict";function a(a){this.url=a.url,this.ttl=a.ttl,this.cache=a.cache,this.prepare=a.prepare,this.transform=a.transform,this.transport=a.transport,this.thumbprint=a.thumbprint,this.storage=new f(a.cacheKey)}var c;return c={data:"data",protocol:"protocol",thumbprint:"thumbprint"},b.mixin(a.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(a){this.cache&&(this.storage.set(c.data,a,this.ttl),this.storage.set(c.protocol,location.protocol,this.ttl),this.storage.set(c.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var a,b={};return this.cache?(b.data=this.storage.get(c.data),b.protocol=this.storage.get(c.protocol),b.thumbprint=this.storage.get(c.thumbprint),a=b.thumbprint!==this.thumbprint||b.protocol!==location.protocol,b.data&&!a?b.data:null):null},fromNetwork:function(a){function b(){a(!0)}function c(b){a(null,e.transform(b))}var d,e=this;a&&(d=this.prepare(this._settings()),this.transport(d).fail(b).done(c))},clear:function(){return this.storage.clear(),this}}),a}(),j=function(){"use strict";function a(a){this.url=a.url,this.prepare=a.prepare,this.transform=a.transform,this.transport=new g({cache:a.cache,limiter:a.limiter,transport:a.transport})}return b.mixin(a.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(a,b){function c(a,c){b(a?[]:e.transform(c))}var d,e=this;if(b)return a=a||"",d=this.prepare(a,this._settings()),this.transport.get(d,c)},cancelLastRequest:function(){this.transport.cancel()}}),a}(),k=function(){"use strict";function d(d){var e;return d?(e={url:null,ttl:864e5,cache:!0,cacheKey:null,thumbprint:"",prepare:b.identity,transform:b.identity,transport:null},d=b.isString(d)?{url:d}:d,d=b.mixin(e,d),!d.url&&a.error("prefetch requires url to be set"),d.transform=d.filter||d.transform,d.cacheKey=d.cacheKey||d.url,d.thumbprint=c+d.thumbprint,d.transport=d.transport?h(d.transport):a.ajax,d):null}function e(c){var d;if(c)return d={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:b.identity,transport:null},c=b.isString(c)?{url:c}:c,c=b.mixin(d,c),!c.url&&a.error("remote requires url to be set"),c.transform=c.filter||c.transform,c.prepare=f(c),c.limiter=g(c),c.transport=c.transport?h(c.transport):a.ajax,delete c.replace,delete c.wildcard,delete c.rateLimitBy,delete c.rateLimitWait,c}function f(a){function b(a,b){return b.url=f(b.url,a),b}function c(a,b){return b.url=b.url.replace(g,encodeURIComponent(a)),b}function d(a,b){return b}var e,f,g;return e=a.prepare,f=a.replace,g=a.wildcard,e?e:e=f?b:a.wildcard?c:d}function g(a){function c(a){return function(c){return b.debounce(c,a)}}function d(a){return function(c){return b.throttle(c,a)}}var e,f,g;return e=a.limiter,f=a.rateLimitBy,g=a.rateLimitWait,e||(e=/^throttle$/i.test(f)?d(g):c(g)),e}function h(c){return function(d){function e(a){b.defer(function(){g.resolve(a)})}function f(a){b.defer(function(){g.reject(a)})}var g=a.Deferred();return c(d,e,f),g}}return function(c){var f,g;return f={initialize:!0,identify:b.stringify,datumTokenizer:null,queryTokenizer:null,sufficient:5,sorter:null,local:[],prefetch:null,remote:null},c=b.mixin(f,c||{}),!c.datumTokenizer&&a.error("datumTokenizer is required"),!c.queryTokenizer&&a.error("queryTokenizer is required"),g=c.sorter,c.sorter=g?function(a){return a.sort(g)}:b.identity,c.local=b.isFunction(c.local)?c.local():c.local,c.prefetch=d(c.prefetch),c.remote=e(c.remote),c}}(),l=function(){"use strict";function c(a){a=k(a),this.sorter=a.sorter,this.identify=a.identify,this.sufficient=a.sufficient,this.local=a.local,this.remote=a.remote?new j(a.remote):null,this.prefetch=a.prefetch?new i(a.prefetch):null,this.index=new h({identify:this.identify,datumTokenizer:a.datumTokenizer,queryTokenizer:a.queryTokenizer}),a.initialize!==!1&&this.initialize()}var e;return e=window&&window.Bloodhound,c.noConflict=function(){return window&&(window.Bloodhound=e),c},c.tokenizers=d,b.mixin(c.prototype,{__ttAdapter:function(){function a(a,b,d){return c.search(a,b,d)}function b(a,b){return c.search(a,b)}var c=this;return this.remote?a:b},_loadPrefetch:function(){function b(a,b){return a?c.reject():(e.add(b),e.prefetch.store(e.index.serialize()),void c.resolve())}var c,d,e=this;return c=a.Deferred(),this.prefetch?(d=this.prefetch.fromCache())?(this.index.bootstrap(d),c.resolve()):this.prefetch.fromNetwork(b):c.resolve(),c.promise()},_initialize:function(){function a(){b.add(b.local)}var b=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(a),this.initPromise},initialize:function(a){return!this.initPromise||a?this._initialize():this.initPromise},add:function(a){return this.index.add(a),this},get:function(a){return a=b.isArray(a)?a:[].slice.call(arguments),this.index.get(a)},search:function(a,c,d){function e(a){var c=[];b.each(a,function(a){!b.some(f,function(b){return g.identify(a)===g.identify(b)})&&c.push(a)}),d&&d(c)}var f,g=this;return f=this.sorter(this.index.search(a)),c(this.remote?f.slice():f),this.remote&&f.length=j?(clearTimeout(e),e=null,g=i,f=a.apply(c,d)):e||(e=setTimeout(h,j)),f}},stringify:function(a){return b.isString(a)?a:JSON.stringify(a)},noop:function(){}}}(),c=function(){"use strict";function a(a){var g,h;return h=b.mixin({},f,a),g={css:e(),classes:h,html:c(h),selectors:d(h)},{css:g.css,html:g.html,classes:g.classes,selectors:g.selectors,mixin:function(a){b.mixin(a,g)}}}function c(a){return{wrapper:'',menu:'
'}}function d(a){var c={};return b.each(a,function(a,b){c[b]="."+a}),c}function e(){var a={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return b.isMsie()&&b.mixin(a.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),a}var f={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return a}(),d=function(){"use strict";function c(b){b&&b.el||a.error("EventBus initialized without el"),this.$el=a(b.el)}var d,e;return d="typeahead:",e={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"},b.mixin(c.prototype,{_trigger:function(b,c){var e;return e=a.Event(d+b),(c=c||[]).unshift(e),this.$el.trigger.apply(this.$el,c),e},before:function(a){var b,c;return b=[].slice.call(arguments,1),c=this._trigger("before"+a,b),c.isDefaultPrevented()},trigger:function(a){var b;this._trigger(a,[].slice.call(arguments,1)),(b=e[a])&&this._trigger(b,[].slice.call(arguments,1))}}),c}(),e=function(){"use strict";function a(a,b,c,d){var e;if(!c)return this;for(b=b.split(i),c=d?h(c,d):c,this._callbacks=this._callbacks||{};e=b.shift();)this._callbacks[e]=this._callbacks[e]||{sync:[],async:[]},this._callbacks[e][a].push(c);return this}function b(b,c,d){return a.call(this,"async",b,c,d)}function c(b,c,d){return a.call(this,"sync",b,c,d)}function d(a){var b;if(!this._callbacks)return this;for(a=a.split(i);b=a.shift();)delete this._callbacks[b];return this}function e(a){var b,c,d,e,g;if(!this._callbacks)return this;for(a=a.split(i),d=[].slice.call(arguments,1);(b=a.shift())&&(c=this._callbacks[b]);)e=f(c.sync,this,[b].concat(d)),g=f(c.async,this,[b].concat(d)),e()&&j(g);return this}function f(a,b,c){function d(){for(var d,e=0,f=a.length;!d&&f>e;e+=1)d=a[e].apply(b,c)===!1;return!d}return d}function g(){var a;return a=window.setImmediate?function(a){setImmediate(function(){a()})}:function(a){setTimeout(function(){a()},0)}}function h(a,b){return a.bind?a.bind(b):function(){a.apply(b,[].slice.call(arguments,0))}}var i=/\s+/,j=g();return{onSync:c,onAsync:b,off:d,trigger:e}}(),f=function(a){"use strict";function c(a,c,d){for(var e,f=[],g=0,h=a.length;h>g;g++)f.push(b.escapeRegExChars(a[g]));return e=d?"\\b("+f.join("|")+")\\b":"("+f.join("|")+")",c?new RegExp(e):new RegExp(e,"i")}var d={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};return function(e){function f(b){var c,d,f;return(c=h.exec(b.data))&&(f=a.createElement(e.tagName),e.className&&(f.className=e.className),d=b.splitText(c.index),d.splitText(c[0].length),f.appendChild(d.cloneNode(!0)),b.parentNode.replaceChild(f,d)),!!c}function g(a,b){for(var c,d=3,e=0;e