ArcGIS Server Geoportal extension
10

com.esri.gpt.control.csw.inbound202
Class DiscoveryRequestParser

java.lang.Object
  extended by com.esri.gpt.control.csw.inbound202.DiscoveryRequestParser

public class DiscoveryRequestParser
extends Object

Parses a CSW discovery 2.0.2 request.


Constructor Summary
DiscoveryRequestParser(RequestContext requestContext)
          Constructs with an associated request context.
 
Method Summary
 DiscoveryResponse parse(HttpServletRequest request, String cswRequest)
          Parses and incoming CSW request and handles the appropriate action.
 DiscoveryResponse parse(String cswRequest)
          Parses and incoming CSW request and handles the appropriate action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscoveryRequestParser

public DiscoveryRequestParser(RequestContext requestContext)
Constructs with an associated request context.

Parameters:
requestContext - the request context
Method Detail

parse

public DiscoveryResponse parse(String cswRequest)
                        throws DiscoveryException
Parses and incoming CSW request and handles the appropriate action.

Parameters:
cswRequest - the incoming CSW request
Returns:
the CSW response
Throws:
DiscoveryException

parse

public DiscoveryResponse parse(HttpServletRequest request,
                               String cswRequest)
                        throws DiscoveryException,
                               XPathExpressionException,
                               ParserConfigurationException,
                               SAXException,
                               IOException
Parses and incoming CSW request and handles the appropriate action.

Parameters:
request - the HTTP servlet request
cswRequest - the incoming CSW request (post body)
Returns:
the CSW response
Throws:
XPathExpressionException
IOException
SAXException
ParserConfigurationException
DiscoveryException

ArcGIS Server Geoportal extension
10

Copyright 2010 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.