public class FedoraDatastreamController extends VitroHttpServlet implements fedora.common.Constants
VitroHttpServlet.PickListSorter| Modifier and Type | Field and Description |
|---|---|
protected String |
checksumDataProperty |
protected String |
checksumNodeDateTimeProperty |
protected String |
checksumNodeProperty |
protected String |
checksumNodeValueProperty |
protected String |
contentTypeProperty |
protected String |
deleteNs |
protected String |
fedoraNs |
protected String |
fileLabelProperty |
protected String |
fileLocationProperty |
protected String |
fileNameProperty |
protected String |
fileSizeProperty |
protected String |
individualPrefix |
HTML_MIMETYPE, JSON_LD_MIMETYPE, JSON_MIMETYPE, N3_MIMETYPE, publicDateFormat, RDFXML_MIMETYPE, TTL_MIMETYPE, XHTML_MIMETYPEACCESS, ACTION, API, ATOM_APIM1_0, ATOM_ZIP1_1, ATOM1_1, AUDIT, AUDIT1_0, BATCH_MODIFY, BATCH_MODIFY1_1, BE_SECURITY, BE_SECURITY1_0, BINDING_SPEC, DATASTREAM, DC, DISSEMINATOR, DS_COMPOSITE_MODEL, DS_COMPOSITE_MODEL1_0, DS_INPUT_SPEC1_0, ENVIRONMENT, FCFG, FEDORA, FEDORA_HOME, FOXML, FOXML1_0, FOXML1_0_LEGACY, FOXML1_1, HTTP_REQUEST, MANAGEMENT, METHOD_MAP, METS, METS_EXT, METS_EXT1_0, METS_EXT1_0_LEGACY, METS_EXT1_1, MODEL, MULGARA, OAI_DC, OAI_DC2_0, OAI_FRIENDS, OAI_FRIENDS2_0, OAI_IDENTIFIER, OAI_IDENTIFIER2_0, OAI_PMH, OAI_PMH2_0, OAI_PROV, OAI_PROV2_0, OBJ_DATASTREAMS1_0, OBJ_HISTORY1_0, OBJ_ITEMS1_0, OBJ_METHODS1_0, OBJ_PROFILE1_0, OBJECT, OLD_XLINK, PID_LIST1_0, RDF, RDF_XSD, RECOVERY, RELS_EXT, RELS_EXT1_0, RELS_INT1_0, REPO_DESC1_0, RESOURCE, SDEF, SDEF_METHOD_MAP1_0, SDEP, SDEP_METHOD_MAP1_0, SERVICE_PROFILE, SOAP, SOAP_ENC, SUBJECT, TYPES, VIEW, WSDL, WSDL_HTTP, WSDL_MIME, XACML_POLICY, XACML_POLICY1_0, XLINK, XML_XSD, XMLNS, XSI| Constructor and Description |
|---|
FedoraDatastreamController() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteFile(javax.servlet.http.HttpServletRequest req,
Individual entity,
IndividualDao iwDao,
com.hp.hpl.jena.ontology.OntModel sessionOntModel) |
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
The get will present a form to the user.
|
void |
doPost(javax.servlet.http.HttpServletRequest rawRequest,
javax.servlet.http.HttpServletResponse res)
doPost does the same thing as the doGet method
|
void |
init() |
boolean |
isConfigured() |
boolean |
isConnected() |
long |
maximumMultipartFileSize()
Override this to change the maximum size of uploaded files in multipart
requests.
|
static String |
md5hashForFile(File file) |
void |
setup(com.hp.hpl.jena.ontology.OntModel model,
javax.servlet.ServletContext context) |
boolean |
stashFileSizeException()
Override this to change the way that exceptions are handled when parsing
a multipart request.
|
dumpRequestParameters, isAuthorizedToDisplayPage, redirectToInsufficientAuthorizationPage, redirectToLoginPage, redirectUnauthorizedRequest, service, sortForPickListdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, serviceprotected String contentTypeProperty
protected String fileSizeProperty
protected String fileNameProperty
protected String fileLocationProperty
protected String fileLabelProperty
protected String checksumNodeProperty
protected String checksumNodeDateTimeProperty
protected String checksumNodeValueProperty
protected String checksumDataProperty
protected String deleteNs
protected String individualPrefix
protected String fedoraNs
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws IOException,
javax.servlet.ServletException
doGet in class VitroHttpServletIOExceptionjavax.servlet.ServletExceptionpublic long maximumMultipartFileSize()
VitroHttpServletmaximumMultipartFileSize in interface MultipartRequestWrapper.ParsingStrategymaximumMultipartFileSize in class VitroHttpServletpublic boolean stashFileSizeException()
VitroHttpServletstashFileSizeException in interface MultipartRequestWrapper.ParsingStrategystashFileSizeException in class VitroHttpServletpublic void doPost(javax.servlet.http.HttpServletRequest rawRequest,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
VitroHttpServletdoPost in class VitroHttpServletjavax.servlet.ServletExceptionIOExceptionpublic boolean deleteFile(javax.servlet.http.HttpServletRequest req,
Individual entity,
IndividualDao iwDao,
com.hp.hpl.jena.ontology.OntModel sessionOntModel)
public void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic void setup(com.hp.hpl.jena.ontology.OntModel model,
javax.servlet.ServletContext context)
public boolean isConfigured()
public boolean isConnected()
Copyright © 2016. All rights reserved.