Package edu.sc.seis.seisFile.fdsnws
Class FDSNDataSelectQuerier
java.lang.Object
edu.sc.seis.seisFile.fdsnws.AbstractFDSNQuerier
edu.sc.seis.seisFile.fdsnws.FDSNDataSelectQuerier
- All Implemented Interfaces:
java.lang.AutoCloseable
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, DEFAULT_USER_AGENT, proxyHost, proxyPort, proxyProtocol, 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()
java.net.URI
formURIForPost()
DataRecordIterator
getDataRecordIterator()
java.net.URL
getSchemaURL()
There is no schema for dataselect.void
outputRaw(java.io.OutputStream out)
Methods inherited from class edu.sc.seis.seisFile.fdsnws.AbstractFDSNQuerier
checkConnectionInitiated, close, connect, extractErrorMessage, extractRootCause, getAcceptHeader, getConnectionUri, getConnectTimeout, getErrorMessage, getInputStream, getProxyHost, getProxyPort, getProxyProtocol, getRawXML, getReader, getReadTimeout, getResponseCode, getUserAgent, isConnectionInitiated, isEmpty, isError, isValidate, outputRaw, processConnection, setAcceptHeader, setConnectTimeout, setProxyHost, setProxyPort, setProxyProtocol, setReadTimeout, setUserAgent, setValidate, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
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
-
formURIForPost
public java.net.URI formURIForPost() throws java.net.URISyntaxException- Throws:
java.net.URISyntaxException
-