add documentation
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Raffaele Mignone 2020-04-25 18:54:20 +02:00
parent bcc7d4de68
commit 41bc91cb98
Signed by: norangebit
GPG Key ID: F5255658CB220573
2 changed files with 5 additions and 1 deletions

3
doc/drill08.md Normal file
View File

@ -0,0 +1,3 @@
exercise 03 use `Client` from exercise 02
exercise 04 use `ReplicatedFinder` from exercise 03

View File

@ -13,7 +13,8 @@ import javax.ws.rs.core.MediaType
@Produces(MediaType.APPLICATION_JSON)
@Path("/search")
class SearchService {
private val finder = ReplicatedObjectFactory(Finder::class.java).create("finder")
private val finder = ReplicatedObjectFactory(Finder::class.java)
.create("finder")
@GET
fun search(@QueryParam("str") str: String): Boolean {