Package nl.b3p.commons.oai
Class OAI
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- nl.b3p.commons.oai.OAI
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class OAI extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static Identity
config
protected static RecordFactory
rf
-
Constructor Summary
Constructors Constructor Description OAI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 String
encodeAMP(String input)
Special requirement in OAI for encoding & only in request URLstatic Identity
getConfig()
static RecordFactory
getRf()
static void
setConfig(Identity aConfig)
static void
setRf(RecordFactory aRf)
void
work(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
config
protected static Identity config
-
rf
protected static RecordFactory rf
-
-
Method Detail
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Overrides:
doGet
in classjavax.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 classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
work
public void work(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Throws:
javax.servlet.ServletException
IOException
-
encodeAMP
public static String encodeAMP(String input)
Special requirement in OAI for encoding & only in request URL
-
getConfig
public static Identity getConfig()
-
setConfig
public static void setConfig(Identity aConfig)
-
getRf
public static RecordFactory getRf()
-
setRf
public static void setRf(RecordFactory aRf)
-
-