|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet com.esri.gpt.framework.context.BaseServlet com.esri.gpt.control.rest.ManageDocumentServlet
public class ManageDocumentServlet
Provides an HTTP REST interface for the management of an XML based metadata document.
The URL pattern for this end-point is:
Constructor Summary | |
---|---|
ManageDocumentServlet()
|
Method Summary | |
---|---|
protected void |
doDelete(HttpServletRequest request,
HttpServletResponse response)
Deletes a document from the catalog. |
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Gets an XML document from the catalog. |
protected void |
doPost(HttpServletRequest request,
HttpServletResponse response)
Handles a POST request. |
protected void |
doPut(HttpServletRequest request,
HttpServletResponse response)
Publishes an XML document to the catalog. |
protected void |
execute(HttpServletRequest request,
HttpServletResponse response,
RequestContext context)
Provides a concrete executeUpdate() method to fulfill the sub-class requirement of the parent BaseServlet class. |
Methods inherited from class com.esri.gpt.framework.context.BaseServlet |
---|
authenticate, getCredentials, getLogger, getParameterValue, getRealm, readInputCharacters, writeCharacterResponse, writeHtmlResponse, writeXmlResponse |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doHead, doOptions, 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 |
Constructor Detail |
---|
public ManageDocumentServlet()
Method Detail |
---|
protected void doDelete(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doDelete
in class HttpServlet
request
- the servlet requestresponse
- the servlet response
ServletException
- if the request cannot be handled
IOException
- if an I/O error occurs while handling the requestprotected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet
in class BaseServlet
request
- the servlet requestresponse
- the servlet response
ServletException
- if the request cannot be handled
IOException
- if an I/O error occurs while handling the requestprotected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPost
in class BaseServlet
request
- the servlet requestresponse
- the servlet response
ServletException
- if the request cannot be handled
IOException
- if an I/O error occurs while handling the requestprotected void doPut(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPut
in class HttpServlet
request
- the servlet requestresponse
- the servlet response
ServletException
- if the request cannot be handled
IOException
- if an I/O error occurs while handling the requestprotected void execute(HttpServletRequest request, HttpServletResponse response, RequestContext context) throws Exception
execute
in class BaseServlet
request
- the HTTP requestresponse
- HTTP responsecontext
- request context
Exception
- if an exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |