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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.struts.action.ActionForward
    execute(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 an ActionForward instance describing where and how control should be forwarded, or null if the response has already been completed.
      Overrides:
      execute in class org.apache.struts.action.Action
      Parameters:
      mapping - The ActionMapping used to select this instance
      form - NOT YET DOCUMENTED
      request - The HTTP request we are processing
      response - The HTTP response we are creating
      Returns:
      NOT YET DOCUMENTED
      Throws:
      IOException - if an input/output error occurs
      ServletException - if a servlet exception occurs