This project has retired. For details please refer to its Attic page.
Files and Libraries

Files and Libraries

The following files and libraries are available:

Java Client Library

Created Apr 1, 2016 9:37:30 PM


The Java client-side library is used to access the Web service API for this application.

The JAX-WS client-side library is used to provide the set of Java objects that can be serialized to/from XML using JAXB. This is useful for accessing the REST endpoints that are published by this application.

REST Example (Raw JAXB) url = new + "/queryapi/savedqueries"); JAXBContext context = JAXBContext.newInstance( ResourceModifiedResponse.class, SavedQuery.class ); connection = url.openConnection(); connection.setDoOutput(true); connection.connect(); Unmarshaller unmarshaller = context.createUnmarshaller(); Marshaller marshaller = context.createMarshaller(); marshaller.marshal(savedQuery, connection.getOutputStream()); ResourceModifiedResponse result = (ResourceModifiedResponse) unmarshaller.unmarshal( connection.getInputStream() ); //handle the result as needed...

REST Example (Jersey client)

com.sun.jersey.api.client.Client client = com.sun.jersey.api.client.Client.create(); ResourceModifiedResponse result = client.resource(baseUrl + "/queryapi/savedqueries") .entity(savedQuery) .post(ResourceModifiedResponse.class); //handle the result as needed...


name size description
lens-client.jar 40.30K The binaries for the Java client library.
lens-client-sources.jar 21.95K The sources for the Java client library.