|
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.server.csw.provider.CswServlet
public class CswServlet
CSW provider servlet.
Constructor Summary | |
---|---|
CswServlet()
|
Method Summary | |
---|---|
protected void |
execute(HttpServletRequest request,
HttpServletResponse response,
RequestContext context)
Executes a request. |
protected void |
executeCSW(HttpServletRequest request,
HttpServletResponse response,
RequestContext context)
Executes a CSW request. |
protected String |
handleException(Exception e)
Creation an ExceptionReport response when an exception is encountered. |
void |
init(ServletConfig config)
Initializes the servlet. |
protected RequestHandler |
makeRequestHandler(HttpServletRequest request,
HttpServletResponse response,
RequestContext context)
Makes a handler for the CSW request. |
protected String |
readFullXml(HttpServletRequest request,
HttpServletResponse response,
RequestContext context,
String id)
Reads the full XML associated with a document UUID. |
Methods inherited from class com.esri.gpt.framework.context.BaseServlet |
---|
authenticate, doGet, doPost, getCredentials, getLogger, getParameterValue, getRealm, readInputCharacters, writeCharacterResponse, writeHtmlResponse, writeXmlResponse |
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 |
Constructor Detail |
---|
public CswServlet()
Method Detail |
---|
public void init(ServletConfig config) throws ServletException
init
in interface Servlet
init
in class GenericServlet
config
- the servlet configuration
ServletException
- if an initialization exception occursprotected void execute(HttpServletRequest request, HttpServletResponse response, RequestContext context) throws Exception
execute
in class BaseServlet
request
- the HTTP servlet requestresponse
- the HTTP servlet responsecontext
- the request context
Exception
- if a processing exception occursprotected void executeCSW(HttpServletRequest request, HttpServletResponse response, RequestContext context) throws Exception
request
- the HTTP servlet requestresponse
- the HTTP servlet responsecontext
- the request context
Exception
- if a processing exception occursprotected String handleException(Exception e) throws Exception
e
- the exception
throws
- Exception if an authorization related exception occurs
Exception
protected RequestHandler makeRequestHandler(HttpServletRequest request, HttpServletResponse response, RequestContext context)
request
- the HTTP servlet requestresponse
- the HTTP servlet responsecontext
- the request context
protected String readFullXml(HttpServletRequest request, HttpServletResponse response, RequestContext context, String id) throws Exception
request
- the HTTP servlet requestresponse
- the HTTP servlet responsecontext
- the request contextid
- the document id
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 |