title: how to utilize Sharepoint Search Query API using REST endpoint in Java?
body: <p>To search for list items across multiple web sites in a SharePoint site collection,earlier we've used SPSiteDataQuery class and exposed as a WCF Service endpoint.
  Now,we've to use custom REST endpoint in a provider hosted application.Is it required?As search Rest api's are available now(&quot;http://server/_api/search/query?query_parameter=value&amp;query_parameter=value&quot;),can we directly use the api in Java?</p>