| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowCompression |
protected java.lang.String |
basece |
protected static java.lang.String |
CONSTRAINTTAG |
protected java.lang.Object |
context |
protected static java.lang.String[] |
DAP4EXTENSIONS |
protected static java.lang.String[][] |
DAP4FRAGMARKERS |
protected static java.lang.String |
DAP4PROTO |
protected static java.lang.String[][] |
DAP4QUERYMARKERS |
protected static java.lang.String[] |
DAP4SCHEMES |
protected static java.lang.String[] |
DAPEXTENSIONS |
protected static java.lang.String |
DAPVERSION |
protected static java.lang.String |
DATASUFFIX |
protected static boolean |
DEBUG |
protected static int |
DFALTPRELOADSIZE |
protected static java.lang.String |
DMRSUFFIX |
protected static java.lang.String |
DMRVERSION |
protected static java.lang.String |
DSRSUFFIX |
protected static java.lang.String |
FILEPROTO |
protected static java.lang.String |
PROTOTAG |
protected static java.lang.String |
QUERYSTART |
protected int |
status |
protected XURI |
xuri |
databuffer, DUMPDAP, DUMPDMRdmr, DMRNS, location, PARSEDEBUG, rootcursor, TESTING, UCARTAGOPAQUE, UCARTAGORIGTYPE, UCARTAGUNLIMITED, UCARTAGVLEN, USEDOM, variables| Constructor and Description |
|---|
HttpDSP() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
build()
Open a connection and make a request for the (possibly constrained) DMR.
|
protected static java.lang.String |
buildURL(java.lang.String baseurl,
java.lang.String suffix,
DapDataset template,
java.lang.String ce) |
protected java.io.InputStream |
callServer(java.lang.String methodurl) |
void |
close() |
boolean |
dspMatch(java.lang.String url,
DapContext context)
A path is a DAP4 path if at least one of the following is true.
|
java.lang.String |
getCapabilities(java.lang.String url)
Provide a method for getting the capabilities document.
|
HttpDSP |
open(java.lang.String url)
"open" a reference to a data source and return the DSP wrapper.
|
protected void |
parseURL(java.lang.String url) |
addVariableData, getChecksumMode, getContext, getDMR, getLocation, getOrder, getVariableData, parseDMR, printDMR, processAttributes, setChecksumMode, setContext, setDataset, setDMR, setLocation, setOrder, suppressprotected static final boolean DEBUG
protected static final java.lang.String DAPVERSION
protected static final java.lang.String DMRVERSION
protected static final java.lang.String DAP4PROTO
protected static final java.lang.String FILEPROTO
protected static final java.lang.String DMRSUFFIX
protected static final java.lang.String DATASUFFIX
protected static final java.lang.String DSRSUFFIX
protected static final java.lang.String QUERYSTART
protected static final java.lang.String CONSTRAINTTAG
protected static final java.lang.String PROTOTAG
protected static final int DFALTPRELOADSIZE
protected static final java.lang.String[] DAPEXTENSIONS
protected static final java.lang.String[] DAP4EXTENSIONS
protected static final java.lang.String[][] DAP4QUERYMARKERS
protected static final java.lang.String[][] DAP4FRAGMARKERS
protected static final java.lang.String[] DAP4SCHEMES
protected boolean allowCompression
protected java.lang.String basece
protected int status
protected XURI xuri
protected java.lang.Object context
public boolean dspMatch(java.lang.String url,
DapContext context)
url - context - Any parameters that may help to decide.public HttpDSP open(java.lang.String url) throws DapException
AbstractDSPopen in interface DSPopen in class AbstractDSPurl - - Object that defines the data sourceDapExceptionpublic void close()
close in interface DSPclose in class AbstractDSPprotected void build()
throws DapException
DapExceptionprotected java.io.InputStream callServer(java.lang.String methodurl)
throws DapException
DapExceptionpublic java.lang.String getCapabilities(java.lang.String url)
throws java.io.IOException
url - for accessing the documentDapExceptionjava.io.IOExceptionprotected static java.lang.String buildURL(java.lang.String baseurl,
java.lang.String suffix,
DapDataset template,
java.lang.String ce)
protected void parseURL(java.lang.String url)
throws DapException
DapException