Package edu.sc.seis.seisFile.fdsnws
Class FDSNDataSelectQuerier
java.lang.Object
edu.sc.seis.seisFile.fdsnws.AbstractFDSNQuerier
edu.sc.seis.seisFile.fdsnws.FDSNDataSelectQuerier
public class FDSNDataSelectQuerier extends AbstractFDSNQuerier
-
Field Summary
Fields inherited from class edu.sc.seis.seisFile.fdsnws.AbstractFDSNQuerier
connectionUri, connectTimeout, DEFAULT_CONNECT_TIMEOUT, DEFAULT_READ_TIMEOUT, proxyHost, proxyPort, proxyScheme, readTimeout, validate
-
Constructor Summary
Constructors Constructor Description FDSNDataSelectQuerier(FDSNDataSelectQueryParams queryParams)
FDSNDataSelectQuerier(FDSNDataSelectQueryParams queryParams, java.util.List<ChannelTimeWindow> request)
This uses POST instead of GET, allowing many channel time windows. -
Method Summary
Modifier and Type Method Description void
enableRestrictedData(java.lang.String username, java.lang.String password)
void
enableRestrictedData(java.lang.String username, java.lang.String password, java.lang.String realm)
java.net.URI
formURI()
DataRecordIterator
getDataRecordIterator()
java.net.URL
getSchemaURL()
There is no schema for dataselect.void
initHttpClientBuilder()
void
outputRaw(java.io.OutputStream out)
Methods inherited from class edu.sc.seis.seisFile.fdsnws.AbstractFDSNQuerier
buildHttpClient, checkConnectionInitiated, close, connect, extractErrorMessage, extractRootCause, finalize, getAcceptHeader, getConnectionUri, getConnectTimeout, getErrorMessage, getInputStream, getProxyHost, getProxyPort, getProxyScheme, getRawXML, getReader, getReadTimeout, getResponseCode, getUserAgent, initHttpRequestConfigBuilder, isConnectionInitiated, isEmpty, isError, isValidate, outputRaw, processConnection, setAcceptHeader, setConnectTimeout, setProxyHost, setProxyPort, setProxyScheme, setReadTimeout, setUserAgent, setValidate, validate
-
Constructor Details
-
FDSNDataSelectQuerier
-
FDSNDataSelectQuerier
public FDSNDataSelectQuerier(FDSNDataSelectQueryParams queryParams, java.util.List<ChannelTimeWindow> request)This uses POST instead of GET, allowing many channel time windows.
-
-
Method Details
-
getSchemaURL
public java.net.URL getSchemaURL()There is no schema for dataselect. Returns null- Specified by:
getSchemaURL
in classAbstractFDSNQuerier
-
initHttpClientBuilder
public void initHttpClientBuilder()- Overrides:
initHttpClientBuilder
in classAbstractFDSNQuerier
-
enableRestrictedData
public void enableRestrictedData(java.lang.String username, java.lang.String password) -
enableRestrictedData
public void enableRestrictedData(java.lang.String username, java.lang.String password, java.lang.String realm) -
getDataRecordIterator
- Throws:
SeisFileException
-
outputRaw
public void outputRaw(java.io.OutputStream out) throws java.net.MalformedURLException, java.io.IOException, FDSNWSException, java.net.URISyntaxException- Overrides:
outputRaw
in classAbstractFDSNQuerier
- Throws:
java.net.MalformedURLException
java.io.IOException
FDSNWSException
java.net.URISyntaxException
-
formURI
public java.net.URI formURI() throws java.net.URISyntaxException- Specified by:
formURI
in classAbstractFDSNQuerier
- Throws:
java.net.URISyntaxException
-