/** * Make a GET request to retrieve the content of a resource * * @param url the URL of the resource to which to GET * @return a get request builder object */ public GetBuilder get(final URI url) { return new GetBuilder(url, this); }
List<URI> omits = Collections.singletonList(URI.create(SERVER_MANAGED_OMITTYPE)); try (FcrepoResponse response = new GetBuilder(passEntityUri, client) .accept(COMPACTED_ACCEPTTYPE) .preferRepresentation(include, omits)
List<URI> omits = Collections.singletonList(URI.create(SERVER_MANAGED_OMITTYPE)); try (FcrepoResponse response = new GetBuilder(passEntityUri, client) .accept(COMPACTED_ACCEPTTYPE) .preferRepresentation(include, omits)
try (FcrepoResponse response = new GetBuilder(uri, client) .accept(COMPACTED_ACCEPTTYPE) .preferRepresentation(null, omits)
try (FcrepoResponse response = new GetBuilder(uri, client) .accept(COMPACTED_ACCEPTTYPE) .preferRepresentation(null, omits)