001/* 002 * The contents of this file are subject to the license and copyright 003 * detailed in the LICENSE and NOTICE files at the root of the source 004 * tree. 005 */ 006package org.fcrepo.client; 007 008/** 009 * Constants for external content handling defined by the Fedora specification, 010 * used to determine how to process the external content URI. 011 * 012 * @author bbpennel 013 * 014 */ 015public class ExternalContentHandling { 016 017 /** 018 * Requests that the server dereference the external content URI and treat that as if 019 * it were the entity body of the request. 020 */ 021 public static final String COPY = "copy"; 022 023 /** 024 * Requests that the server record the location of the external content and handle 025 * requests for that content using HTTP redirect responses with the Content-Location 026 * header specifying the external content location 027 */ 028 public static final String REDIRECT = "redirect"; 029 030 /** 031 * Requests that the server record the location of the external content and handle 032 * requests for that content by proxying. 033 */ 034 public static final String PROXY = "proxy"; 035 036 private ExternalContentHandling() { 037 } 038}