001/**
002 * Copyright 2015 DuraSpace, Inc.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017package org.fcrepo.client;
018
019/**
020 * Header constants used in calls to the Fedora API
021 * 
022 * @author bbpennel
023 */
024public class FedoraHeaderConstants {
025
026    public static final String DESCRIBED_BY = "describedby";
027
028    public static final String CONTENT_TYPE = "Content-Type";
029
030    public static final String CONTENT_DISPOSITION = "Content-Disposition";
031
032    public static final String CONTENT_DISPOSITION_FILENAME = "filename";
033
034    public static final String CONTENT_DISPOSITION_CREATION_DATE = "creation-date";
035
036    public static final String CONTENT_DISPOSITION_MODIFICATION_DATE = "modification-date";
037
038    public static final String CONTENT_DISPOSITION_SIZE = "size";
039
040    public static final String SLUG = "Slug";
041
042    public static final String DIGEST = "digest";
043
044    public static final String LOCATION = "Location";
045
046    public static final String ACCEPT = "Accept";
047
048    public static final String PREFER = "Prefer";
049
050    public static final String RANGE = "Range";
051
052    public static final String IF_NONE_MATCH = "If-None-Match";
053
054    public static final String IF_MODIFIED_SINCE = "If-Modified-Since";
055
056    public static final String IF_MATCH = "If-Match";
057
058    public static final String IF_UNMODIFIED_SINCE = "If-Unmodified-Since";
059
060    public static final String LAST_MODIFIED = "Last-Modified";
061
062    public static final String ETAG = "ETag";
063
064    public static final String DESTINATION = "Destination";
065
066    public static final String LINK = "Link";
067
068    private FedoraHeaderConstants() {
069    }
070}