Class EditRequestAJAXController
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
-
- edu.cornell.mannlib.vitro.webapp.edit.n3editing.controller.EditRequestAJAXController
-
- All Implemented Interfaces:
MultipartRequestWrapper.ParsingStrategy,Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
@WebServlet(name="EditRequestAJAX", urlPatterns="/editRequestAJAX") public class EditRequestAJAXController extends VitroHttpServletThis servlet is intended to handle all requests to create a form for use by the N3 editing system. It will examine the request parameters, determine which form to use, execute a EditConfiguration setup, and evaluate the view indicated by the EditConfiguration. Do not add code to this class to achieve some behavior in a form. Try adding the behavior logic to the code that generates the EditConfiguration for the form.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
VitroHttpServlet.PickListSorter
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.commons.logging.Loglog-
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 EditRequestAJAXController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)doGet does nothing.protected voiddoPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)doPost does the same thing as the doGet methodprotected EditConfigurationVTwogetEditConfiguration(VitroRequest vreq)protected AuthorizationRequestrequiredActions(VitroRequest vreq)-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
dumpRequestParameters, isAuthorizedToDisplayPage, maximumMultipartFileSize, redirectToInsufficientAuthorizationPage, redirectToLoginPage, redirectUnauthorizedRequest, service, sortForPickList, stashFileSizeException
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
-
-
-
-
Method Detail
-
requiredActions
protected AuthorizationRequest requiredActions(VitroRequest vreq)
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOExceptionDescription copied from class:VitroHttpServletdoPost does the same thing as the doGet method- Overrides:
doPostin classVitroHttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOExceptionDescription copied from class:VitroHttpServletdoGet does nothing.- Overrides:
doGetin classVitroHttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
getEditConfiguration
protected EditConfigurationVTwo getEditConfiguration(VitroRequest vreq)
-
-