org.fcrepo.server.access
Class WSDLServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.fcrepo.server.access.WSDLServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class WSDLServlet
- extends javax.servlet.http.HttpServlet
Dynamically provides complete and accurate WSDL files for Fedora APIs. This
servlet directly includes the common XSD type definitions in each WSDL file
and ensures that the binding address reflects the base URL of the Fedora
instance, based on the request URI.
- Author:
- Chris Wilper
- See Also:
- Serialized Form
|
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Respond to an HTTP GET request. |
void |
init()
Initialize by setting serverDir based on FEDORA_HOME. |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDLServlet
public WSDLServlet()
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
- Respond to an HTTP GET request. The single parameter, "api", indicates
which WSDL file to provide. If no parameters are given, a simple HTML
index is given instead.
- Overrides:
doGet in class javax.servlet.http.HttpServlet
- Throws:
IOException
javax.servlet.ServletException
init
public void init()
throws javax.servlet.ServletException
- Initialize by setting serverDir based on FEDORA_HOME.
- Overrides:
init in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
Copyright © 2011 DuraSpace. All Rights Reserved.