diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-10-26 00:17:24 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-10-26 00:17:24 +0200 |
commit | fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb (patch) | |
tree | 911c8e9b208b9ba77f00531668d1d99b40fcb8e3 /api/pl.treksoft.kvision.remote/index.html | |
parent | 4f5db77ec2db6c87cb93ceb9f7ea9ab311247f17 (diff) | |
download | kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.tar.gz kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.tar.bz2 kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.zip |
API documentation for KVision 2.0.0
Diffstat (limited to 'api/pl.treksoft.kvision.remote/index.html')
-rw-r--r-- | api/pl.treksoft.kvision.remote/index.html | 107 |
1 files changed, 77 insertions, 30 deletions
diff --git a/api/pl.treksoft.kvision.remote/index.html b/api/pl.treksoft.kvision.remote/index.html index 72968669..09bda884 100644 --- a/api/pl.treksoft.kvision.remote/index.html +++ b/api/pl.treksoft.kvision.remote/index.html @@ -32,13 +32,6 @@ </tr> <tr> <td> -<p><a href="-dummy-web-socket-session/index.html">DummyWebSocketSession</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">DummyWebSocketSession</span></code></td> -</tr> -<tr> -<td> <p><a href="-j-s-o-n/index.html">JSON</a></p> </td> <td> @@ -48,12 +41,10 @@ </tr> <tr> <td> -<p><a href="-k-v-controller/index.html">KVController</a></p> +<p><a href="-k-v-handler/index.html">KVHandler</a></p> </td> <td> -<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">KVController</span></code> -<p>Controller for handling automatic routes.</p> -</td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">KVHandler</span></code></td> </tr> <tr> <td> @@ -66,6 +57,13 @@ </tr> <tr> <td> +<p><a href="-k-v-router-configuration/index.html">KVRouterConfiguration</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">KVRouterConfiguration</span></code></td> +</tr> +<tr> +<td> <p><a href="-k-v-service-manager/index.html">KVServiceManager</a></p> </td> <td> @@ -78,9 +76,14 @@ <p><a href="-k-v-web-socket-config/index.html">KVWebSocketConfig</a></p> </td> <td> -<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">KVWebSocketConfig</span></code> -<p>Automatic websockets configuration.</p> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">KVWebSocketConfig</span></code></td> +</tr> +<tr> +<td> +<p><a href="-k-v-web-socket-handler/index.html">KVWebSocketHandler</a></p> </td> +<td> +<code><span class="keyword">class </span><span class="identifier">KVWebSocketHandler</span></code></td> </tr> <tr> <td> @@ -138,10 +141,38 @@ </tr> <tr> <td> -<p><a href="-web-socket-session-holder/index.html">WebSocketSessionHolder</a></p> +<p><a href="-with-principal/index.html">WithPrincipal</a></p> +</td> +<td> +<code><span class="keyword">interface </span><span class="identifier">WithPrincipal</span></code></td> +</tr> +<tr> +<td> +<p><a href="-with-profile/index.html">WithProfile</a></p> +</td> +<td> +<code><span class="keyword">interface </span><span class="identifier">WithProfile</span></code></td> +</tr> +<tr> +<td> +<p><a href="-with-request/index.html">WithRequest</a></p> +</td> +<td> +<code><span class="keyword">interface </span><span class="identifier">WithRequest</span></code></td> +</tr> +<tr> +<td> +<p><a href="-with-web-session/index.html">WithWebSession</a></p> +</td> +<td> +<code><span class="keyword">interface </span><span class="identifier">WithWebSession</span></code></td> +</tr> +<tr> +<td> +<p><a href="-with-web-socket-session/index.html">WithWebSocketSession</a></p> </td> <td> -<code><span class="keyword">object </span><span class="identifier">WebSocketSessionHolder</span></code></td> +<code><span class="keyword">interface </span><span class="identifier">WithWebSocketSession</span></code></td> </tr> </tbody> </table> @@ -173,6 +204,13 @@ <tbody> <tr> <td> +<p><a href="-id.html">Id</a></p> +</td> +<td> +<code><span class="keyword">actual</span> <span class="keyword">typealias </span><span class="identifier">Id</span> <span class="symbol">=</span> <a href="-id.html"><span class="identifier">Id</span></a></code></td> +</tr> +<tr> +<td> <p><a href="-profile/index.html">Profile</a></p> </td> <td> @@ -180,6 +218,13 @@ <p>A user profile.</p> </td> </tr> +<tr> +<td> +<p><a href="-transient.html">Transient</a></p> +</td> +<td> +<code><span class="keyword">actual</span> <span class="keyword">typealias </span><span class="identifier">Transient</span> <span class="symbol">=</span> <a href="-transient.html"><span class="identifier">Transient</span></a></code></td> +</tr> </tbody> </table> <h3>Properties</h3> @@ -208,13 +253,6 @@ <td> <code><span class="keyword">val </span><span class="identifier">injectorKey</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code></td> </tr> -<tr> -<td> -<p><a href="-k-v_-r-o-u-t-e_-i-d_-a-t-t-r-i-b-u-t-e.html">KV_ROUTE_ID_ATTRIBUTE</a></p> -</td> -<td> -<code><span class="keyword">const</span> <span class="keyword">val </span><span class="identifier">KV_ROUTE_ID_ATTRIBUTE</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td> -</tr> </tbody> </table> <h3>Functions</h3> @@ -222,20 +260,20 @@ <tbody> <tr> <td> -<p><a href="add-path-patterns-from-services.html">addPathPatternsFromServices</a></p> +<p><a href="apply-routes.html">applyRoutes</a></p> </td> <td> -<code><span class="keyword">fun </span><span class="identifier"><ERROR CLASS></span><span class="symbol">.</span><span class="identifier">addPathPatternsFromServices</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$addPathPatternsFromServices(, kotlin.collections.List((pl.treksoft.kvision.remote.KVServiceManager((kotlin.Any)))))/services">services</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="-k-v-service-manager/index.html"><span class="identifier">KVServiceManager</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> -<p>A function to gather paths for an interceptor from a list of service managers.</p> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <span class="identifier"><ERROR CLASS></span><span class="symbol">.</span><span class="identifier">applyRoutes</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$applyRoutes(, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.remote.applyRoutes.T)))/serviceManager">serviceManager</span><span class="symbol">:</span> <a href="-k-v-service-manager/index.html"><span class="identifier">KVServiceManager</span></a><span class="symbol"><</span><a href="apply-routes.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>A function to generate routes based on definitions from the service manager.</p> </td> </tr> <tr> <td> -<p><a href="apply-routes.html">applyRoutes</a></p> +<p><a href="get-server-web-exchange-matcher.html">getServerWebExchangeMatcher</a></p> </td> <td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <span class="identifier"><ERROR CLASS></span><span class="symbol">.</span><span class="identifier">applyRoutes</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$applyRoutes(, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.remote.applyRoutes.T)))/serviceManager">serviceManager</span><span class="symbol">:</span> <a href="-k-v-service-manager/index.html"><span class="identifier">KVServiceManager</span></a><span class="symbol"><</span><a href="apply-routes.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> -<p>A function to generate routes based on definitions from the service manager.</p> +<code><span class="keyword">fun </span><span class="identifier">getServerWebExchangeMatcher</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.remote$getServerWebExchangeMatcher(kotlin.Array((pl.treksoft.kvision.remote.KVServiceManager((kotlin.Any)))))/services">services</span><span class="symbol">:</span> <a href="-k-v-service-manager/index.html"><span class="identifier">KVServiceManager</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol"><</span><span class="identifier"><ERROR CLASS></span><span class="symbol">></span></code> +<p>A function to gather paths for spring security matchers.</p> </td> </tr> <tr> @@ -269,11 +307,20 @@ </tr> <tr> <td> +<p><a href="service-matchers.html">serviceMatchers</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier"><ERROR CLASS></span><span class="symbol">.</span><span class="identifier">serviceMatchers</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.remote$serviceMatchers(, kotlin.Array((pl.treksoft.kvision.remote.KVServiceManager((kotlin.Any)))))/services">services</span><span class="symbol">:</span> <a href="-k-v-service-manager/index.html"><span class="identifier">KVServiceManager</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code><br/> +<code><span class="keyword">fun </span><span class="identifier">serviceMatchers</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.remote$serviceMatchers(kotlin.Array((pl.treksoft.kvision.remote.KVServiceManager((kotlin.Any)))))/services">services</span><span class="symbol">:</span> <a href="-k-v-service-manager/index.html"><span class="identifier">KVServiceManager</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code> +<p>A function to gather paths for spring security matchers.</p> +</td> +</tr> +<tr> +<td> <p><a href="with-profile.html">withProfile</a></p> </td> <td> -<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">RESP</span><span class="symbol">></span> <span class="identifier"><ERROR CLASS></span><span class="symbol">.</span><span class="identifier">withProfile</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$withProfile(, kotlin.coroutines.SuspendFunction1((pl.treksoft.kvision.remote.Profile, pl.treksoft.kvision.remote.withProfile.RESP)))/block">block</span><span class="symbol">:</span> <span class="keyword">suspend </span><span class="symbol">(</span><a href="-profile/index.html"><span class="identifier">Profile</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="with-profile.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="with-profile.html#RESP"><span class="identifier">RESP</span></a></code><br/> -<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">RESP</span><span class="symbol">></span> <span class="identifier">withProfile</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$withProfile(kotlin.coroutines.SuspendFunction1((pl.treksoft.kvision.remote.Profile, pl.treksoft.kvision.remote.withProfile.RESP)))/block">block</span><span class="symbol">:</span> <span class="keyword">suspend </span><span class="symbol">(</span><a href="-profile/index.html"><span class="identifier">Profile</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="with-profile.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="with-profile.html#RESP"><span class="identifier">RESP</span></a></code> +<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">RESP</span><span class="symbol">></span> <span class="identifier"><ERROR CLASS></span><span class="symbol">.</span><span class="identifier">withProfile</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$withProfile(, kotlin.coroutines.SuspendFunction1((pl.treksoft.kvision.remote.Profile, pl.treksoft.kvision.remote.withProfile.RESP)))/block">block</span><span class="symbol">:</span> <span class="keyword">suspend </span><span class="symbol">(</span><a href="-profile/index.html"><span class="identifier">Profile</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="with-profile.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="with-profile.html#RESP"><span class="identifier">RESP</span></a></code> <p>A helper extension function for processing with authenticated user profile.</p> </td> </tr> |