Class RDFUploadController
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
-
- edu.cornell.mannlib.vedit.controller.BaseEditController
-
- edu.cornell.mannlib.vitro.webapp.controller.jena.JenaIngestController
-
- edu.cornell.mannlib.vitro.webapp.controller.jena.RDFUploadController
-
- All Implemented Interfaces:
MultipartRequestWrapper.ParsingStrategy,Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
@WebServlet(name="RDFUploadController", urlPatterns="/uploadRDF") public class RDFUploadController extends JenaIngestController- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.cornell.mannlib.vedit.controller.BaseEditController
BaseEditController.RoleInfo
-
Nested classes/interfaces inherited from class edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
VitroHttpServlet.PickListSorter
-
-
Field Summary
-
Fields inherited from class edu.cornell.mannlib.vedit.controller.BaseEditController
BASE_10, DISPLAY_DATE_FORMAT, ENTITY_TYPE_ATTRIBUTE_NAME, ENTITY_URI_ATTRIBUTE_NAME, FORCE_NEW, JSP_PREFIX, MULTIPLEXED_PARAMETER_NAME, PROPERTY_SUPPRESSIONS_NOT_RELATED, TYPE_SUPPRESSIONS, TYPE_SUPPRESSIONS_NOT_RELATED, URI_SUPPRESSIONS
-
Fields inherited from class edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
HTML_MIMETYPE, JSON_LD_MIMETYPE, JSON_MIMETYPE, N3_MIMETYPE, publicDateFormat, RDFXML_MIMETYPE, TTL_MIMETYPE, XHTML_MIMETYPE
-
-
Constructor Summary
Constructors Constructor Description RDFUploadController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse response)doPost does the same thing as the doGet methodvoidloadRDF(VitroRequest request, javax.servlet.http.HttpServletResponse response)longmaximumMultipartFileSize()Override this to change the maximum size of uploaded files in multipart requests.booleanstashFileSizeException()Override this to change the way that exceptions are handled when parsing a multipart request.-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.controller.jena.JenaIngestController
doCleanLiterals, doGenerateTBox, doGet, doProcessStrings, doSplitPropertyValues, doSubtractModels, getModel, getModelMaker, getModelType, isUsingMainStoreForIngest, showModelList
-
Methods inherited from class edu.cornell.mannlib.vedit.controller.BaseEditController
addAccessAttributes, addNotRelatedPropertySuppressions, addNotRelatedTypeSuppressions, addTypeSuppressions, addUriSuppressions, buildListOfSelectableRoles, createEpo, createEpo, getDefaultLandingPage, getSelfEditorRole, getSortedList, getWebappDaoFactory, getWebappDaoFactory, populateBeanFromParams, setRequestAttributes
-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
dumpRequestParameters, isAuthorizedToDisplayPage, redirectToInsufficientAuthorizationPage, redirectToLoginPage, redirectUnauthorizedRequest, service, sortForPickList
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
-
-
-
-
Method Detail
-
maximumMultipartFileSize
public long maximumMultipartFileSize()
Description copied from class:VitroHttpServletOverride this to change the maximum size of uploaded files in multipart requests.- Specified by:
maximumMultipartFileSizein interfaceMultipartRequestWrapper.ParsingStrategy- Overrides:
maximumMultipartFileSizein classVitroHttpServlet
-
stashFileSizeException
public boolean stashFileSizeException()
Description copied from class:VitroHttpServletOverride this to change the way that exceptions are handled when parsing a multipart request. Be aware that multipart parameters have been lost, and that may include form fields.- Specified by:
stashFileSizeExceptionin interfaceMultipartRequestWrapper.ParsingStrategy- Overrides:
stashFileSizeExceptionin classVitroHttpServlet
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOExceptionDescription copied from class:VitroHttpServletdoPost does the same thing as the doGet method- Overrides:
doPostin classVitroHttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
loadRDF
public void loadRDF(VitroRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
-