Package restx.http

Examples of restx.http.CacheControl


    }

    @Override
    public ETag provideETagFor(ETagSampleObject entity) {
        return new ETag(Hashing.md5().hashString(entity.getName(), Charsets.UTF_8).toString(),
                new CacheControl(-1, ImmutableList.of("must-revalidate")));
    }
View Full Code Here

TOP

Related Classes of restx.http.CacheControl

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.