Sending query parameters with Domino-rest is as easy annotating the method argument with @QueryParam and this will automatically adds it as a query parameter to the request path. for example having the following service :
@RequestFactory
public interface MoviesService {
@Path("library/movies/:movieName")
@GET
Movie getMovieByName(@PathParam("movieName") String movieName);
@Path("library/movies")
@GET
List<Movie> listMovies();
@Path("library/movies/:name")
@PUT
@SuccessCodes({200})
void updateMovie(@beanParam @RequestBody Movie movie);
}
Then making a request call like this :
MoviesServiceFactory.INSTANCE
.getMovieByName("hulk")
.onSuccess(movie ->{})
.send();
Then the request will be made to the following endpoint with the provided query param:
http://localhost:8080/service/library/movies?name=hulk