org.fcrepo.oai
Class OAIProviderServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.fcrepo.oai.OAIProviderServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
FedoraOAIProviderServlet, SampleOAIProviderServlet

public abstract class OAIProviderServlet
extends javax.servlet.http.HttpServlet

Author:
Chris Wilper
See Also:
Serialized Form

Field Summary
static String ACTION_LABEL
           
 
Constructor Summary
OAIProviderServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
static HashMap getAsParameterMap(String[] args)
           
abstract  OAIResponder getResponder()
           
 void test(String[] args)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, 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
 

Field Detail

ACTION_LABEL

public static final String ACTION_LABEL
See Also:
Constant Field Values
Constructor Detail

OAIProviderServlet

public OAIProviderServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

test

public void test(String[] args)
          throws OAIException,
                 RepositoryException
Throws:
OAIException
RepositoryException

getResponder

public abstract OAIResponder getResponder()
                                   throws RepositoryException
Throws:
RepositoryException

getAsParameterMap

public static HashMap getAsParameterMap(String[] args)


Copyright © 2012 DuraSpace. All Rights Reserved.