Esri Geoportal Server
1.0

com.esri.gpt.catalog.arcims
Class TestConnectionRequest

java.lang.Object
  extended by com.esri.gpt.catalog.arcims.ImsRequest
      extended by com.esri.gpt.catalog.arcims.HarvestRequest
          extended by com.esri.gpt.catalog.arcims.TestConnectionRequest

public class TestConnectionRequest
extends HarvestRequest

Test connection harvest request.


Field Summary
 
Fields inherited from class com.esri.gpt.catalog.arcims.ImsRequest
ACTION_STATUS_ERROR, ACTION_STATUS_NONE, ACTION_STATUS_OK, ACTION_STATUS_REPLACED, ACTION_STATUS_UNKNOWN
 
Constructor Summary
TestConnectionRequest(String url, int timeout, String serviceName)
          Creates instance of the request.
TestConnectionRequest(UsernamePasswordCredentials credentials, String url, int timeout, String serviceName)
          Creates instance of the request.
 
Method Summary
 boolean testConnection()
          Tests connection.
 
Methods inherited from class com.esri.gpt.catalog.arcims.ImsRequest
executeRequest, executeRequest, getActionStatus, getAxlRequest, getAxlResponse, getCredentials, getService, makeClient, onEndSaxElement, onStartSaxElement, setActionStatus, setAxlRequest, setAxlResponse, setCredentials, setService, wasActionOK
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestConnectionRequest

public TestConnectionRequest(String url,
                             int timeout,
                             String serviceName)
Creates instance of the request.

Parameters:
url - host url
timeout - connection timeout

TestConnectionRequest

public TestConnectionRequest(UsernamePasswordCredentials credentials,
                             String url,
                             int timeout,
                             String serviceName)
Creates instance of the request.

Parameters:
credentials - credentials
url - host url
timeout - connection timeout
Method Detail

testConnection

public boolean testConnection()
                       throws ImsServiceException
Tests connection.

Throws:
ImsServiceException

Esri Geoportal Server
1.0

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