All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.demoiselle.jee.crud.ReservedHTTPHeaders Maven / Gradle / Ivy

There is a newer version: 3.0.4
Show newest version
/*
 * Demoiselle Framework
 *
 * License: GNU Lesser General Public License (LGPL), version 3 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.demoiselle.jee.crud;

/**
 * Hold the reserved HTTP Headers.
 * 
 * @author SERPRO
 *
 */
public enum ReservedHTTPHeaders {
    
    // Pagination
    HTTP_HEADER_CONTENT_RANGE("Content-Range"),
    HTTP_HEADER_ACCEPT_RANGE("Accept-Range"),
    HTTP_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS("Access-Control-Expose-Headers");
    
    private final String key;

    ReservedHTTPHeaders(String key){
        this.key = key;
    }
    
    public String getKey(){
        return this.key;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy