com.esri.gpt.catalog.arcims
Class TestConnectionRequest
java.lang.Object
com.esri.gpt.catalog.arcims.ImsRequest
com.esri.gpt.catalog.arcims.HarvestRequest
com.esri.gpt.catalog.arcims.TestConnectionRequest
public class TestConnectionRequest
- extends HarvestRequest
Test connection harvest request.
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 |
TestConnectionRequest
public TestConnectionRequest(String url,
int timeout,
String serviceName)
- Creates instance of the request.
- Parameters:
url
- host urltimeout
- connection timeout
TestConnectionRequest
public TestConnectionRequest(UsernamePasswordCredentials credentials,
String url,
int timeout,
String serviceName)
- Creates instance of the request.
- Parameters:
credentials
- credentialsurl
- host urltimeout
- connection timeout
testConnection
public boolean testConnection()
throws ImsServiceException
- Tests connection.
- Throws:
ImsServiceException
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.