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 Identityconfigprotected static RecordFactoryrf
-
Constructor Summary
Constructors Constructor Description OAI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)voiddoPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)static StringencodeAMP(String input)Special requirement in OAI for encoding & only in request URLstatic IdentitygetConfig()static RecordFactorygetRf()static voidsetConfig(Identity aConfig)static voidsetRf(RecordFactory aRf)voidwork(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:
doGetin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException- Overrides:
doPostin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
work
public void work(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException- Throws:
javax.servlet.ServletExceptionIOException
-
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)
-
-