Esri Geoportal Server
1.0

com.esri.gpt.catalog.arcgis.metadata
Class AGSInterrogator

java.lang.Object
  extended by com.esri.gpt.catalog.arcgis.metadata.AGSInterrogator

public class AGSInterrogator
extends Object

Interrogates an ArcGIS server target to determine the REST and SOAP endpoints for an ArcGIS server services catalog.


Constructor Summary
AGSInterrogator(HttpClientRequest httpClient, AGSTarget target)
          Constructs with a supplied processing context and ArcGIS server target.
AGSInterrogator(ProcessingContext context, AGSTarget target)
          Constructs with a supplied processing context and ArcGIS server target.
 
Method Summary
 boolean interrogate(URL url, String response)
          Interrogates the character response from a target resource URL attempting to determine the REST and SOAP endpoints for an ArcGIS server services catalog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AGSInterrogator

public AGSInterrogator(ProcessingContext context,
                       AGSTarget target)
Constructs with a supplied processing context and ArcGIS server target.

Parameters:
context - the processing context
target - the ArcGIS server target

AGSInterrogator

public AGSInterrogator(HttpClientRequest httpClient,
                       AGSTarget target)
Constructs with a supplied processing context and ArcGIS server target.

Parameters:
httpClient - HTTP client
target - the ArcGIS server target
Method Detail

interrogate

public boolean interrogate(URL url,
                           String response)
                    throws IOException
Interrogates the character response from a target resource URL attempting to determine the REST and SOAP endpoints for an ArcGIS server services catalog.

Parameters:
url - the target URL associated with the resource being interrogated
response - the character based response previously returned from the target URL
Returns:
true if the target was recognized as an ArcGIS server endpoint
Throws:
IOException

Esri Geoportal Server
1.0

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