@Test public void testSearch() throws IOException { String actualJsonStr = reformatJson( client.search("FIND {dickenson.com} returning contact(id, phone, firstname, lastname, email)")); assertJsonStringEquals(ResourceUtil.readResource("/apiResponses/search.json"), actualJsonStr); }
@CheckForNull String search(String sosl) throws IOException { return executeGet("/search", new BasicNameValuePair("q", sosl)); }
HttpApiClient { @CheckForNull String search(String sosl) throws IOException { return executeGet("/search", new BasicNameValuePair("q", sosl)); } }
HttpApiClient { @CheckForNull String search(String sosl) throws IOException { return executeGet("/search", new BasicNameValuePair("q", sosl)); } HttpApiClient(@Nonnull String host, @Nonnull String oauthToken, @Nonnull ObjectMapper objectMapper,
            @Nonnull HttpClient client); }
HttpApiClient { @CheckForNull String search(String sosl) throws IOException { return executeGet("/search", new BasicNameValuePair("q", sosl)); } HttpApiClient(@Nonnull String host, @Nonnull String oauthToken, @Nonnull ObjectMapper objectMapper,
            @Nonnull HttpClient client);  }
HttpApiClient { @CheckForNull String search(String sosl) throws IOException { return executeGet("/search", new BasicNameValuePair("q", sosl)); } HttpApiClient(@Nonnull String host, @Nonnull String oauthToken, @Nonnull ObjectMapper objectMapper,
            @Nonnull HttpClient client);   }