@Path(value="2/full-text-search") public class FullTextSearch extends Object
| Constructor and Description |
|---|
FullTextSearch() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
searchByQuery(javax.servlet.http.HttpServletRequest httpServletRequest,
String query,
int from,
int quantity) |
@GET
@Path(value="search-by-query")
@Produces(value="application/json")
public javax.ws.rs.core.Response searchByQuery(@Context
javax.servlet.http.HttpServletRequest httpServletRequest,
@QueryParam(value="query") @NotNull(message="query cannot be null") @Size(min=1,message="query cannot be empty")
String query,
@DefaultValue(value="0") @QueryParam(value="from") @Min(value=0L,message="from cannot be negative")
int from,
@DefaultValue(value="10") @QueryParam(value="quantity") @Min(value=0L,message="quantity cannot be negative")
int quantity)
throws javax.validation.ValidationException
javax.validation.ValidationExceptionCopyright © 2019. All Rights Reserved.