org.fcrepo.server.access
Class MethodParameterResolverServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.fcrepo.server.access.MethodParameterResolverServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class MethodParameterResolverServlet
- extends javax.servlet.http.HttpServlet
This servlet accepts the result of a posted web form containing information
about which method parameter values were selected for a dissemination
request.
The information is read from the form and translated into the corresponding
API-A-LITE interface dissemination request in the form of a URI. The initial
request is then redirected to the API-A-LITE interface to execute the
dissemination request.
- Version:
- $Id$
- Author:
- Ross Wayland
- See Also:
- Serialized Form
|
Method Summary |
void |
destroy()
|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Treat Get request identical to Post request. |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process Post request from web form. |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodParameterResolverServlet
public MethodParameterResolverServlet()
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Treat Get request identical to Post request.
- Overrides:
doGet in class javax.servlet.http.HttpServlet
- Parameters:
request - The servlet request.response - The servlet response.
- Throws:
javax.servlet.ServletException - If an error occurs that affects the servlet's basic operation.
IOException - If an error occurs within an input or output operation.
doPost
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Process Post request from web form.
- Overrides:
doPost in class javax.servlet.http.HttpServlet
- Parameters:
request - The servlet request.response - The servlet response.
- Throws:
javax.servlet.ServletException - If an error occurs that affects the servlet's basic operation.
IOException - If an error occurs within an input or output operation.
destroy
public void destroy()
- Specified by:
destroy in interface javax.servlet.Servlet- Overrides:
destroy in class javax.servlet.GenericServlet
Copyright © 2012 DuraSpace. All Rights Reserved.