Package org.lilyproject.repository.api

Examples of org.lilyproject.repository.api.BlobAccess


        if (version != null) {
            versionNr = Long.parseLong(version);
        }

        try {
            final BlobAccess blobAccess = table.getBlob(recordId, versionNr, fieldQName, indexes);
            return Response.ok(blobAccess, MediaType.valueOf(blobAccess.getBlob().getMediaType())).build();
        } catch (RecordNotFoundException e) {
            throw new ResourceException(e, NOT_FOUND.getStatusCode());
        } catch (FieldNotFoundException e) {
            throw new ResourceException(e, NOT_FOUND.getStatusCode());
        } catch (BlobNotFoundException e) {
View Full Code Here

TOP

Related Classes of org.lilyproject.repository.api.BlobAccess

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.