class ETagFilter implements ContainerResponseFilter {

    String removeLeadingAndTrailingQuotes(String value) {
        if (value.startsWith("\"")) {
            value = value.substring(1, value.length());
        }
        if (value.endsWith("\"")) {
            value = value.substring(0, value.length() - 1);
        }
        return value;
    }

}