Package com.emc.atmos.api

Examples of com.emc.atmos.api.ChecksummedInputStream


            // response
            if (checksumHeader != null && rangeHeader == null
                    && HttpMethod.GET.equals(request.getMethod()) && response.getLength() > 0) {
                l4j.debug("wschecksum detected (" + checksumHeader + "); wrapping entity stream");
                ChecksumValue checksum = new ChecksumValueImpl(checksumHeader);
                response.setEntityInputStream(new ChecksummedInputStream(response.getEntityInputStream(), checksum));
            }

            return response;
        } catch (NoSuchAlgorithmException e) {
            throw new RuntimeException(e);
View Full Code Here

TOP

Related Classes of com.emc.atmos.api.ChecksummedInputStream

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.