|
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.arcims.ServletConnector
public class ServletConnector
Servlet Connector for an AtcIMS MetadataServer
Constructor Summary | |
---|---|
ServletConnector()
|
Method Summary | |
---|---|
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Handles a GET request. |
protected void |
execute(HttpServletRequest request,
HttpServletResponse response,
RequestContext context)
Executes a POST request. |
XsltTemplate |
getAxlToCswXsltTemplate()
Gets the axl to csw xslt template. |
XsltTemplate |
getCswToAxlXsltTemplate()
Gets the axl to csw xslt template. |
protected Logger |
getLogger()
Gets the logger. |
protected String |
getServiceName(HttpServletRequest request)
Gets the service name from the servlet request. |
String |
handleAgsUrl(RequestContext context,
String xml,
String sSourceUri)
Handle Ags url enpoints to publish catalog services |
String |
makeCswRequestFromAxl(RequestContext context,
HttpServletRequest request,
String axlRequest)
Makes csw requests from axl request and return axl response |
Methods inherited from class com.esri.gpt.framework.context.BaseServlet |
---|
authenticate, doPost, getCredentials, 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, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletConnector()
Method Detail |
---|
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet
in class BaseServlet
request
- the servlet requestresponse
- the servlet response
ServletException
IOException
protected void execute(HttpServletRequest request, HttpServletResponse response, RequestContext context) throws Exception
execute
in class BaseServlet
request
- the servlet requestresponse
- the servlet responsecontext
- the request context
Exception
- if an exception occurspublic String makeCswRequestFromAxl(RequestContext context, HttpServletRequest request, String axlRequest) throws SearchException, TransformerConfigurationException, TransformerException, DiscoveryException
context
- the RequestContextrequest
- the HttpServletRequestaxlRequest
- the axl request
SearchException
TransformerConfigurationException
TransformerException
DiscoveryException
public String handleAgsUrl(RequestContext context, String xml, String sSourceUri) throws Exception
context
- the RequestContextxml
- the xml stringsSourceUri
- the source Uri
Exception
public XsltTemplate getAxlToCswXsltTemplate() throws SearchException
SearchException
- the search exception
Searchception
- xlst template not initialized by configurationpublic XsltTemplate getCswToAxlXsltTemplate() throws SearchException
SearchException
- the search exception
Searchception
- xlst template not initialized by configurationprotected Logger getLogger()
getLogger
in class BaseServlet
protected String getServiceName(HttpServletRequest request)
request
- the servlet request
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |