<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_265) on Tue Aug 25 19:30:51 UTC 2020 -->
<title>MetaCatServlet (MetaCat API)</title>
<meta name="date" content="2020-08-25">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="MetaCatServlet (MetaCat API)";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MetaCatServlet.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../edu/ucsb/nceas/metacat/MetacatResultSet.Document.html" title="class in edu.ucsb.nceas.metacat"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../edu/ucsb/nceas/metacat/MetacatURL.html" title="class in edu.ucsb.nceas.metacat"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?edu/ucsb/nceas/metacat/MetaCatServlet.html" target="_top">Frames</a></li>
<li><a href="MetaCatServlet.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">edu.ucsb.nceas.metacat</div>
<h2 title="Class MetaCatServlet" class="title">Class MetaCatServlet</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>javax.servlet.GenericServlet</li>
<li>
<ul class="inheritance">
<li>javax.servlet.http.HttpServlet</li>
<li>
<ul class="inheritance">
<li>edu.ucsb.nceas.metacat.MetaCatServlet</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">MetaCatServlet</span>
extends javax.servlet.http.HttpServlet</pre>
<div class="block">A metadata catalog server implemented as a Java Servlet

 Valid actions are:
 
 action=login
     username
     password
     qformat
 action=logout
     qformat
 action=query -- query the values of all elements and attributes and return a result set of nodes
     meta_file_id --
     returndoctype --
     filterdoctype --
     returnfield --
     owner --
     site --
     operator --
     casesensitive --
     searchmode --
     anyfield --
 action=spatial_query -- run a spatial query.  these queries may include any of the
                         queries supported by the WFS / WMS standards
     xmax --
     ymax --
     xmin --
     ymin --
     skin --
     pagesize --
     pagestart --
 action=squery -- structured query (see pathquery.dtd)
     query --
     pagesize --
     pagestart --
 action=export -- export a zip format for data packadge
     docid -- 
 action=read -- read any metadata/data file from Metacat and from Internet
     archiveEntryName --
     docid --
     qformat --
     metadatadocid --
 action=readinlinedata -- read inline data only
     inlinedataid
 action=insert -- insert an XML document into the database store
     qformat -- 
     docid --
     doctext --
     dtdtext --
 action=insertmultipart -- insert an xml document into the database using multipart encoding
     qformat -- 
     docid --
 action=update -- update an XML document that is in the database store
     qformat -- 
     docid --
     doctext --
     dtdtext --
 action=delete -- delete an XML document from the database store
     docid --
 action=validate -- validate the xml contained in valtext
     valtext --
     docid --
 action=setaccess -- change access permissions for a user on a document.
     docid --
     principal --
     permission --
     permType --
     permOrder --
 action=getaccesscontrol -- retrieve acl info for Metacat document
     docid -- 
 action=getprincipals -- retrieve a list of principals in XML
 action=getalldocids -- retrieves a list of all docids registered with the system
     scope --
 action=getlastdocid --
     scope --
     username --
 action=isregistered -- checks to see if the provided docid is registered
     docid --
 action=getrevisionanddoctype -- get a document's revision and doctype from database 
     docid --
 action=getversion -- 
 action=getdoctypes -- retrieve all doctypes (publicID) 
 action=getdtdschema -- retrieve a DTD or Schema file
     doctype --
 action=getlog -- get a report of events that have occurred in the system
     ipAddress --  filter on one or more IP addresses>
     principal -- filter on one or more principals (LDAP DN syntax)
     docid -- filter on one or more document identifiers (with revision)
     event -- filter on event type (e.g., read, insert, update, delete)
     start -- filter out events before the start date-time
     end -- filter out events before the end date-time
 action=getloggedinuserinfo -- get user info for the currently logged in user
     ipAddress --  filter on one or more IP addresses>
     principal -- filter on one or more principals (LDAP DN syntax)
     docid -- filter on one or more document identifiers (with revision)
     event -- filter on event type (e.g., read, insert, update, delete)
     start -- filter out events before the start date-time
     end -- filter out events before the end date-time
 action=shrink -- Shrink the database connection pool size if it has grown and 
                  extra connections are no longer being used.
 action=buildindex --
     docid --
 action=refreshServices --
 action=scheduleWorkflow -- Schedule a workflow to be run.  Scheduling a workflow 
                            registers it with the scheduling engine and creates a row
                            in the scheduled_job table.  Note that this may be 
                            extracted into a separate servlet.
     delay -- The amount of time from now before the workflow should be run.  The 
              delay can be expressed in number of seconds, minutes, hours and days, 
              for instance 30s, 2h, etc.
     starttime -- The time that the workflow should first run.  If both are provided
                  this takes precedence over delay.  The time should be expressed as: 
                  MM/dd/yyyy HH:mm:ss with the timezone assumed to be that of the OS.
     endtime -- The time when the workflow should end. The time should be expressed as: 
                  MM/dd/yyyy HH:mm:ss with the timezone assumed to be that of the OS.
     intervalvalue -- The numeric value of the interval between runs
     intervalunit -- The unit of the interval between runs.  Can be s, m, h, d for 
                     seconds, minutes, hours and days respectively
     workflowid -- The lsid of the workflow that we want to schedule.  This workflow
                   must already exist in the database.
     karid -- The karid for the workflow that we want to schedule.
     workflowname -- The name of the workflow.
     forwardto -- If provided, forward to this page when processing is done.
     qformat -- If provided, render results using the stylesheets associated with
                this skin.  Default is xml.
 action=unscheduleWorkflow -- Unschedule a workflow.  Unscheduling a workflow 
                            removes it from the scheduling engine and changes the 
                            status in the scheduled_job table to " unscheduled.  Note 
                            that this may be extracted into a separate servlet.
     workflowjobname -- The job ID for the workflow run that we want to unschedule.  This
                      is held in the database as scheduled_job.name
     forwardto -- If provided, forward to this page when processing is done.
     qformat -- If provided, render results using the stylesheets associated with
                this skin.  Default is xml.
 action=rescheduleWorkflow -- Unschedule a workflow.  Rescheduling a workflow 
                            registers it with the scheduling engine and changes the 
                            status in the scheduled_job table to " scheduled.  Note 
                            that this may be extracted into a separate servlet.
     workflowjobname -- The job ID for the workflow run that we want to reschedule.  This
                      is held in the database as scheduled_job.name
     forwardto -- If provided, forward to this page when processing is done.
     qformat -- If provided, render results using the stylesheets associated with
                this skin.  Default is xml.
 action=deleteScheduledWorkflow -- Delete a workflow.  Deleting a workflow 
                            removes it from the scheduling engine and changes the 
                            status in the scheduled_job table to " deleted.  Note 
                            that this may be extracted into a separate servlet.
     workflowjobname -- The job ID for the workflow run that we want to delete.  This
                      is held in the database as scheduled_job.name
     forwardto -- If provided, forward to this page when processing is done.
     qformat -- If provided, render results using the stylesheets associated with
                this skin.  Default is xml.
 action=reindex -- rebuild the solr index for the specified pids.
     pid -- the id of the document which will be rebuilt slor index.
 action=reindexall -- rebuild the solr index for all objects in the systemmetadata table.
     
 Here are some of the common parameters for actions
     doctype -- document type list returned by the query (publicID) 
     qformat=xml -- display resultset from query in XML 
     qformat=html -- display resultset from query in HTML 
     qformat=zip -- zip resultset from query
     docid=34 -- display the document with the document ID number 34 
     doctext -- XML text of the document to load into the database 
     acltext -- XML access text for a document to load into the database 
     dtdtext -- XML DTD text for a new DTD to load into Metacat XML Catalog 
     query -- actual query text (to go with 'action=query' or 'action=squery')
     valtext -- XML text to be validated 
     scope --can limit the query by the scope of the id
     docid --the docid to check
     datadoc -- data document name (id)</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../serialized-form.html#edu.ucsb.nceas.metacat.MetaCatServlet">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html#APPLICATION_NAME">APPLICATION_NAME</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html#DEFAULT_ENCODING">DEFAULT_ENCODING</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html#EML2KEYWORD">EML2KEYWORD</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html#NONAMESPACELOCATION">NONAMESPACELOCATION</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html#SCHEMALOCATIONKEYWORD">SCHEMALOCATIONKEYWORD</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html#MetaCatServlet--">MetaCatServlet</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html#destroy--">destroy</a></span>()</code>
<div class="block">Close all db connections from the pool</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html#doGet-javax.servlet.http.HttpServletRequest-javax.servlet.http.HttpServletResponse-">doGet</a></span>(javax.servlet.http.HttpServletRequest&nbsp;request,
     javax.servlet.http.HttpServletResponse&nbsp;response)</code>
<div class="block">Handle "GET" method requests from HTTP clients</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html#doPost-javax.servlet.http.HttpServletRequest-javax.servlet.http.HttpServletResponse-">doPost</a></span>(javax.servlet.http.HttpServletRequest&nbsp;request,
      javax.servlet.http.HttpServletResponse&nbsp;response)</code>
<div class="block">Handle "POST" method requests from HTTP clients</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html#init-javax.servlet.ServletConfig-">init</a></span>(javax.servlet.ServletConfig&nbsp;config)</code>
<div class="block">Initialize the servlet by creating appropriate database connections</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html#initSecondHalf-javax.servlet.ServletContext-">initSecondHalf</a></span>(javax.servlet.ServletContext&nbsp;context)</code>
<div class="block">Initialize the remainder of the servlet.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html#isFullyInitialized--">isFullyInitialized</a></span>()</code>
<div class="block">Reports whether the MetaCatServlet has been fully initialized</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html#isReadOnly-javax.servlet.http.HttpServletResponse-">isReadOnly</a></span>(javax.servlet.http.HttpServletResponse&nbsp;response)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.javax.servlet.http.HttpServlet">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;javax.servlet.http.HttpServlet</h3>
<code>doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.javax.servlet.GenericServlet">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;javax.servlet.GenericServlet</h3>
<code>getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="SCHEMALOCATIONKEYWORD">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SCHEMALOCATIONKEYWORD</h4>
<pre>public static final&nbsp;java.lang.String SCHEMALOCATIONKEYWORD</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#edu.ucsb.nceas.metacat.MetaCatServlet.SCHEMALOCATIONKEYWORD">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="NONAMESPACELOCATION">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NONAMESPACELOCATION</h4>
<pre>public static final&nbsp;java.lang.String NONAMESPACELOCATION</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#edu.ucsb.nceas.metacat.MetaCatServlet.NONAMESPACELOCATION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="EML2KEYWORD">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EML2KEYWORD</h4>
<pre>public static final&nbsp;java.lang.String EML2KEYWORD</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#edu.ucsb.nceas.metacat.MetaCatServlet.EML2KEYWORD">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_NAME">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_NAME</h4>
<pre>public static final&nbsp;java.lang.String APPLICATION_NAME</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#edu.ucsb.nceas.metacat.MetaCatServlet.APPLICATION_NAME">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_ENCODING">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DEFAULT_ENCODING</h4>
<pre>public static final&nbsp;java.lang.String DEFAULT_ENCODING</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#edu.ucsb.nceas.metacat.MetaCatServlet.DEFAULT_ENCODING">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="MetaCatServlet--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MetaCatServlet</h4>
<pre>public&nbsp;MetaCatServlet()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="init-javax.servlet.ServletConfig-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>public&nbsp;void&nbsp;init(javax.servlet.ServletConfig&nbsp;config)
          throws javax.servlet.ServletException</pre>
<div class="block">Initialize the servlet by creating appropriate database connections</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>init</code>&nbsp;in interface&nbsp;<code>javax.servlet.Servlet</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>init</code>&nbsp;in class&nbsp;<code>javax.servlet.GenericServlet</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>javax.servlet.ServletException</code></dd>
</dl>
</li>
</ul>
<a name="initSecondHalf-javax.servlet.ServletContext-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initSecondHalf</h4>
<pre>public&nbsp;void&nbsp;initSecondHalf(javax.servlet.ServletContext&nbsp;context)
                    throws javax.servlet.ServletException</pre>
<div class="block">Initialize the remainder of the servlet. This is the part that can only
 be initialized after metacat properties have been configured</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - the servlet context of MetaCatServlet</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>javax.servlet.ServletException</code></dd>
</dl>
</li>
</ul>
<a name="destroy--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>destroy</h4>
<pre>public&nbsp;void&nbsp;destroy()</pre>
<div class="block">Close all db connections from the pool</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>destroy</code>&nbsp;in interface&nbsp;<code>javax.servlet.Servlet</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>destroy</code>&nbsp;in class&nbsp;<code>javax.servlet.GenericServlet</code></dd>
</dl>
</li>
</ul>
<a name="doGet-javax.servlet.http.HttpServletRequest-javax.servlet.http.HttpServletResponse-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doGet</h4>
<pre>public&nbsp;void&nbsp;doGet(javax.servlet.http.HttpServletRequest&nbsp;request,
                  javax.servlet.http.HttpServletResponse&nbsp;response)
           throws javax.servlet.ServletException,
                  java.io.IOException</pre>
<div class="block">Handle "GET" method requests from HTTP clients</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>doGet</code>&nbsp;in class&nbsp;<code>javax.servlet.http.HttpServlet</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>javax.servlet.ServletException</code></dd>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="doPost-javax.servlet.http.HttpServletRequest-javax.servlet.http.HttpServletResponse-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doPost</h4>
<pre>public&nbsp;void&nbsp;doPost(javax.servlet.http.HttpServletRequest&nbsp;request,
                   javax.servlet.http.HttpServletResponse&nbsp;response)
            throws javax.servlet.ServletException,
                   java.io.IOException</pre>
<div class="block">Handle "POST" method requests from HTTP clients</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>doPost</code>&nbsp;in class&nbsp;<code>javax.servlet.http.HttpServlet</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>javax.servlet.ServletException</code></dd>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
<a name="isFullyInitialized--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFullyInitialized</h4>
<pre>public static&nbsp;boolean&nbsp;isFullyInitialized()</pre>
<div class="block">Reports whether the MetaCatServlet has been fully initialized</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if fully intialized, false otherwise</dd>
</dl>
</li>
</ul>
<a name="isReadOnly-javax.servlet.http.HttpServletResponse-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isReadOnly</h4>
<pre>public static&nbsp;boolean&nbsp;isReadOnly(javax.servlet.http.HttpServletResponse&nbsp;response)
                          throws java.io.IOException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MetaCatServlet.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../edu/ucsb/nceas/metacat/MetacatResultSet.Document.html" title="class in edu.ucsb.nceas.metacat"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../edu/ucsb/nceas/metacat/MetacatURL.html" title="class in edu.ucsb.nceas.metacat"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?edu/ucsb/nceas/metacat/MetaCatServlet.html" target="_top">Frames</a></li>
<li><a href="MetaCatServlet.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright © 2020 Regents of the University of California. All Rights Reserved.</i></small></p>
</body>
</html>