Package com.esri.gpt.server.csw.provider.components

Examples of com.esri.gpt.server.csw.provider.components.RequestHandler.handleGet()


      LOGGER.finer("cswRequest:\n"+cswRequest);
      handler = this.makeRequestHandler(request,response,context);
      if (cswRequest.length() > 0) {
        opResponse = handler.handleXML(cswRequest);
      } else {
        opResponse = handler.handleGet(request);
      }
      if (opResponse != null) {
        cswResponse = Val.chkStr(opResponse.getResponseXml());
        String fmt = Val.chkStr(opResponse.getOutputFormat());
        if (fmt.equalsIgnoreCase("text/xml")) {
View Full Code Here


      RequestOptions rOptions = handler.getOperationContext().getRequestOptions();
      rOptions.getTransactionOptions().setAutoApprove(true);
     
      // execute the testable action
      if (action.nodeName.equalsIgnoreCase("url")) {
        handler.handleGet(httpRequest);
      } else if (actionName.equalsIgnoreCase("xml")) {
        handler.handleXML(Val.chkStr(action.nodeText));
      } else if (actionName.equalsIgnoreCase("file")) {
        handler.handleXML(XmlIoUtil.readXml(action.dataFile.getCanonicalPath()));
      } else {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.