gov.nasa.worldwindx.applications.eurogeoss
Class CatalogConnection
java.lang.Object
gov.nasa.worldwindx.applications.eurogeoss.CatalogConnection
public class CatalogConnection
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connectTimeout
protected int connectTimeout
readTimeout
protected int readTimeout
serviceUrl
protected String serviceUrl
CatalogConnection
public CatalogConnection(String serviceUrl)
getConnectTimeout
public int getConnectTimeout()
getReadTimeout
public int getReadTimeout()
getRecords
public GetRecordsResponse getRecords(GetRecordsRequest request)
throws IOException,
XMLStreamException
- Throws:
IOException
XMLStreamException
getServiceUrl
public String getServiceUrl()
parseResponse
protected GetRecordsResponse parseResponse(InputStream in)
throws XMLStreamException
- Throws:
XMLStreamException
sendGetRecordsRequest
protected GetRecordsResponse sendGetRecordsRequest(GetRecordsRequest request,
HttpURLConnection connection)
throws IOException,
XMLStreamException
- Throws:
IOException
XMLStreamException
setConnectTimeout
public void setConnectTimeout(int timeout)
setReadTimeout
public void setReadTimeout(int timeout)