|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
edu.ucsb.nceas.metacat.oaipmh.provider.server.OAIHandler
public class OAIHandler
OAIHandler is the primary Servlet for OAICat.
| Field Summary | |
|---|---|
protected java.util.HashMap |
attributesMap
|
| Constructor Summary | |
|---|---|
OAIHandler()
|
|
| Method Summary | |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Peform the http GET action. |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Perform a POST action. |
protected boolean |
filterRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Override to do any pre-qualification; return false if the response should be returned immediately, without further action. |
java.util.HashMap |
getAttributes(java.util.Properties properties)
|
java.util.HashMap |
getAttributes(java.lang.String pathInfo)
|
static java.lang.String |
getResult(java.util.HashMap attributes,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.xml.transform.Transformer serverTransformer,
java.util.HashMap serverVerbs)
|
static java.lang.String |
getVERSION()
Get the VERSION number |
static java.io.Writer |
getWriter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Get a response Writer depending on acceptable encodings |
void |
init(javax.servlet.ServletConfig config)
init is called one time when the Servlet is loaded. |
static boolean |
isIntegratedWithMetacat()
Boolean to determine whether the Data Provider code is executing in a Metacat application. |
protected boolean |
isServiceUnavailable(java.util.Properties properties)
Should the server report itself down for maintenance? Override this method if you want to do this check another way. |
| 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, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.HashMap attributesMap
| Constructor Detail |
|---|
public OAIHandler()
| Method Detail |
|---|
public static java.lang.String getVERSION()
public static boolean isIntegratedWithMetacat()
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
doGet in class javax.servlet.http.HttpServletrequest - the servlet's request informationresponse - the servlet's response information
java.io.IOException - an I/O error occurred
javax.servlet.ServletException
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
doPost in class javax.servlet.http.HttpServletrequest - the servlet's request informationresponse - the servlet's response information
java.io.IOException - an I/O error occurred
javax.servlet.ServletException
protected boolean filterRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
request - response -
public java.util.HashMap getAttributes(java.util.Properties properties)
throws java.lang.Throwable
java.lang.Throwablepublic java.util.HashMap getAttributes(java.lang.String pathInfo)
public static java.lang.String getResult(java.util.HashMap attributes,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.xml.transform.Transformer serverTransformer,
java.util.HashMap serverVerbs)
throws java.lang.Throwable
java.lang.Throwable
public static java.io.Writer getWriter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
request - the servlet's request informationresponse - the servlet's response information
java.io.IOException - an I/O error occurred
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletconfig - servlet configuration information
javax.servlet.ServletException - there was a problem with initializationprotected boolean isServiceUnavailable(java.util.Properties properties)
properties -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||