Modifier and Type | Field and Description |
---|---|
protected boolean |
allowCompression |
protected java.lang.String |
basece |
protected static java.lang.String |
CHECKSUMTAG |
protected static java.lang.String |
CONSTRAINTTAG |
protected static java.lang.String[] |
DAP4EXTENSIONS |
protected static java.lang.String |
DAP4PROTO |
protected static java.lang.String[] |
DAPEXTENSIONS |
protected static java.lang.String |
DAPVERSION |
protected static java.lang.String |
DATASUFFIX |
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 java.lang.String |
originalurl |
protected static java.lang.String |
PROTOTAG |
protected static java.lang.String |
QUERYSTART |
protected int |
status |
protected XURI |
xuri |
checksummode, d4data, databuffer, DEBUG, order
context, dmr, PARSEDEBUG, path
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() |
java.lang.String |
getCapabilities(java.lang.String url)
Provide a method for getting the capabilities document.
|
static boolean |
match(java.lang.String url,
DapContext context)
A path is a DAP4 path if at least one of the following is true.
|
DSP |
open(java.lang.String url,
DapContext context) |
protected void |
setURL(java.lang.String url) |
build, build, getChecksumMode, getData, getDataDataset, getOrder, setChecksumMode, setDataDataset, setOrder
getContext, getDMR, getPath, open, parseDMR, processAttributes, setContext, setDataset, setPath, setRequestResponse, suppress
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 CHECKSUMTAG
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 java.lang.String originalurl
protected boolean allowCompression
protected java.lang.String basece
protected int status
protected XURI xuri
public static boolean match(java.lang.String url, DapContext context)
url
- context
- Any parameters that may help to decide.public DSP open(java.lang.String url, DapContext context) throws DapException
open
in interface DSP
open
in class AbstractDSP
DapException
public void close()
protected void build() throws DapException
DapException
protected java.io.InputStream callServer(java.lang.String methodurl) throws DapException
DapException
public java.lang.String getCapabilities(java.lang.String url) throws java.io.IOException
url
- for accessing the documentDapException
java.io.IOException
protected static java.lang.String buildURL(java.lang.String baseurl, java.lang.String suffix, DapDataset template, java.lang.String ce)
protected void setURL(java.lang.String url) throws DapException
DapException