Exemplo n.º 1
0
  @Override
  public SearchResults search(MessageContext context) throws PieceworkException {
    UriInfo uriInfo = context.getContext(UriInfo.class);

    MultivaluedMap<String, String> rawQueryParameters =
        uriInfo != null ? uriInfo.getQueryParameters() : null;
    return search(rawQueryParameters);
  }