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:
AutoCloseable
-
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
ConstructorsConstructorDescriptionFDSNDataSelectQuerier
(FDSNDataSelectQueryParams queryParams) FDSNDataSelectQuerier
(FDSNDataSelectQueryParams queryParams, List<ChannelTimeWindow> request) This uses POST instead of GET, allowing many channel time windows. -
Method Summary
Modifier and TypeMethodDescriptionvoid
enableRestrictedData
(String username, String password) void
enableRestrictedData
(String username, String password, String realm) formURI()
There is no schema for dataselect.void
outputRaw
(OutputStream out) Methods inherited from class edu.sc.seis.seisFile.fdsnws.AbstractFDSNQuerier
checkConnectionInitiated, close, connect, extractErrorMessage, extractRootCause, getAcceptHeader, getConnectionUri, getConnectTimeout, getErrorMessage, getHttpResponse, 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 Details
-
FDSNDataSelectQuerier
-
FDSNDataSelectQuerier
public FDSNDataSelectQuerier(FDSNDataSelectQueryParams queryParams, List<ChannelTimeWindow> request) This uses POST instead of GET, allowing many channel time windows.
-
-
Method Details
-
getSchemaURL
There is no schema for dataselect. Returns null- Specified by:
getSchemaURL
in classAbstractFDSNQuerier
-
enableRestrictedData
-
enableRestrictedData
-
getDataRecordIterator
- Throws:
SeisFileException
-
outputRaw
public void outputRaw(OutputStream out) throws MalformedURLException, IOException, FDSNWSException, URISyntaxException - Overrides:
outputRaw
in classAbstractFDSNQuerier
- Throws:
MalformedURLException
IOException
FDSNWSException
URISyntaxException
-
formURI
- Specified by:
formURI
in classAbstractFDSNQuerier
- Throws:
URISyntaxException
-
formURIForPost
- Throws:
URISyntaxException
-