Package org.dlese.dpc.schemedit.action
Class UcasProxyAction
java.lang.Object
org.apache.struts.action.Action
org.dlese.dpc.schemedit.action.UcasProxyAction
public final class UcasProxyAction
extends org.apache.struts.action.Action
Controller for proxing the UCAS PeopleDB REST service.
- Author:
- Jonathan Ostwald
-
Field Summary
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.struts.action.ActionForwardexecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, HttpServletRequest request, HttpServletResponse response) Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
Constructor Details
-
UcasProxyAction
public UcasProxyAction()
-
-
Method Details
-
execute
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it). Return anActionForwardinstance describing where and how control should be forwarded, ornullif the response has already been completed.- Overrides:
executein classorg.apache.struts.action.Action- Parameters:
mapping- The ActionMapping used to select this instanceform- NOT YET DOCUMENTEDrequest- The HTTP request we are processingresponse- The HTTP response we are creating- Returns:
- NOT YET DOCUMENTED
- Throws:
IOException- if an input/output error occursServletException- if a servlet exception occurs
-