Package io.crate.blob.v2

Examples of io.crate.blob.v2.BlobIndices


            writeFuture.addListener(ChannelFutureListener.CLOSE);
        }
    }

    private void fullContentResponse(HttpRequest request, String index, final String digest) throws  IOException {
        BlobShard blobShard = localBlobShard(index, digest);
        final RandomAccessFile raf = blobShard.blobContainer().getRandomAccessFile(digest);
        HttpResponse response = new DefaultHttpResponse(HTTP_1_1, OK);
        HttpHeaders.setContentLength(response, raf.length());
        setDefaultGetHeaders(response);
        logger.trace("HttpResponse: {}", response);
        ctx.getChannel().write(response);
View Full Code Here

TOP

Related Classes of io.crate.blob.v2.BlobIndices

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.