Package edu.sc.seis.seisFile.fdsnws
Class AbstractQueryParams
java.lang.Object
edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
- Direct Known Subclasses:
FDSNDataSelectQueryParams
,FDSNEventQueryParams
,FDSNStationQueryParams
,IRISWSVirtualNetworkQueryParams
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendToParam
(String key, String value) void
clear()
void
clearParam
(String key) static DateTimeFormatter
formURI()
getHost()
int
getPort()
abstract String
Service name as defined by the fdsn, ie event, station or dataselect.void
setBaseURL
(URI uri) void
setFdsnQueryStyle
(String queryStyle) void
setFdsnwsPath
(String fdsnwsPath) void
void
void
void
void
void
sets the scheme, usually to either http or https.void
useHTTP()
void
useHTTPS()
-
Field Details
-
nodata
public int nodata -
NO_DATA
- See Also:
-
IRIS_HOST
- See Also:
-
DEFAULT_HOST
- See Also:
-
NEWLINE
- See Also:
-
-
Constructor Details
-
AbstractQueryParams
-
-
Method Details
-
setParam
-
setParam
-
setParam
-
setParam
-
appendToParam
-
setParam
-
clearParam
-
clear
public void clear() -
createDateFormat
-
formURI
- Throws:
URISyntaxException
-
setBaseURL
-
getParams
-
setScheme
sets the scheme, usually to either http or https. If the scheme is https and the current port is 80, the port is reset to 443 and vice versa.- Parameters:
scheme
- either http or https
-
useHTTPS
public void useHTTPS() -
useHTTP
public void useHTTP() -
getScheme
-
getPort
public int getPort() -
getFdsnwsPath
-
setFdsnwsPath
-
getFdsnQueryStyle
-
setFdsnQueryStyle
-
getFDSNMajorVersion
-
getServiceName
Service name as defined by the fdsn, ie event, station or dataselect. -
getHost
-
getParam
-