public class HttpDSP extends D4DSP
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowCompression |
protected String |
basece |
protected static String |
CONSTRAINTTAG |
protected Object |
context |
protected static String[] |
DAP4EXTENSIONS |
protected static String[][] |
DAP4FRAGMARKERS |
protected static String |
DAP4PROTO |
protected static String[][] |
DAP4QUERYMARKERS |
protected static String[] |
DAP4SCHEMES |
protected static String[] |
DAPEXTENSIONS |
protected static String |
DAPVERSION |
protected static String |
DATASUFFIX |
protected static boolean |
DEBUG |
protected static int |
DFALTPRELOADSIZE |
protected static String |
DMRSUFFIX |
protected static String |
DMRVERSION |
protected static String |
DSRSUFFIX |
protected static String |
FILEPROTO |
protected static String |
PROTOTAG |
protected static 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 String |
buildURL(String baseurl,
String suffix,
dap4.core.dmr.DapDataset template,
String ce) |
protected InputStream |
callServer(String methodurl) |
void |
close() |
boolean |
dspMatch(String url,
dap4.core.util.DapContext context)
A path is a DAP4 path if at least one of the following is true.
|
String |
getCapabilities(String url)
Provide a method for getting the capabilities document.
|
HttpDSP |
open(String url)
"open" a reference to a data source and return the DSP wrapper.
|
protected void |
parseURL(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 String DAPVERSION
protected static final String DMRVERSION
protected static final String DAP4PROTO
protected static final String FILEPROTO
protected static final String DMRSUFFIX
protected static final String DATASUFFIX
protected static final String DSRSUFFIX
protected static final String QUERYSTART
protected static final String CONSTRAINTTAG
protected static final String PROTOTAG
protected static final int DFALTPRELOADSIZE
protected static final String[] DAPEXTENSIONS
protected static final String[] DAP4EXTENSIONS
protected static final String[][] DAP4QUERYMARKERS
protected static final String[][] DAP4FRAGMARKERS
protected static final String[] DAP4SCHEMES
protected boolean allowCompression
protected String basece
protected int status
protected XURI xuri
protected Object context
public boolean dspMatch(String url, dap4.core.util.DapContext context)
url - context - Any parameters that may help to decide.public HttpDSP open(String url) throws dap4.core.util.DapException
AbstractDSPopen in interface dap4.core.data.DSPopen in class AbstractDSPurl - - Object that defines the data sourcedap4.core.util.DapExceptionpublic void close()
close in interface dap4.core.data.DSPclose in class AbstractDSPprotected void build()
throws dap4.core.util.DapException
dap4.core.util.DapExceptionprotected InputStream callServer(String methodurl) throws dap4.core.util.DapException
dap4.core.util.DapExceptionpublic String getCapabilities(String url) throws IOException
url - for accessing the documentdap4.core.util.DapExceptionIOExceptionprotected static String buildURL(String baseurl, String suffix, dap4.core.dmr.DapDataset template, String ce)
protected void parseURL(String url) throws dap4.core.util.DapException
dap4.core.util.DapException