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, 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
All Methods Instance Methods Concrete Methods 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, finalize, 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
-
-
-
-
Constructor Detail
-
FDSNDataSelectQuerier
public FDSNDataSelectQuerier(FDSNDataSelectQueryParams queryParams)
-
FDSNDataSelectQuerier
public FDSNDataSelectQuerier(FDSNDataSelectQueryParams queryParams, java.util.List<ChannelTimeWindow> request)
This uses POST instead of GET, allowing many channel time windows.
-
-
Method Detail
-
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
public DataRecordIterator getDataRecordIterator() throws SeisFileException
- 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
-
-