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
Modifier and Type Method Description voidenableRestrictedData(java.lang.String username, java.lang.String password)voidenableRestrictedData(java.lang.String username, java.lang.String password, java.lang.String realm)java.net.URIformURI()java.net.URIformURIForPost()DataRecordIteratorgetDataRecordIterator()java.net.URLgetSchemaURL()There is no schema for dataselect.voidoutputRaw(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, validateMethods inherited from class java.lang.Object
clone, equals, 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:
getSchemaURLin 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:
outputRawin classAbstractFDSNQuerier- Throws:
java.net.MalformedURLExceptionjava.io.IOExceptionFDSNWSExceptionjava.net.URISyntaxException
-
formURI
public java.net.URI formURI() throws java.net.URISyntaxException- Specified by:
formURIin classAbstractFDSNQuerier- Throws:
java.net.URISyntaxException
-
formURIForPost
public java.net.URI formURIForPost() throws java.net.URISyntaxException- Throws:
java.net.URISyntaxException
-