This commit is contained in:
parent
bcc7d4de68
commit
41bc91cb98
3
doc/drill08.md
Normal file
3
doc/drill08.md
Normal file
@ -0,0 +1,3 @@
|
||||
exercise 03 use `Client` from exercise 02
|
||||
|
||||
exercise 04 use `ReplicatedFinder` from exercise 03
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user