Modifier and Type | Field and Description |
---|---|
protected boolean |
allowCompression |
protected String |
basece |
protected static String |
CHECKSUMTAG |
protected static String |
CONSTRAINTTAG |
protected static String[] |
DAP4EXTENSIONS |
protected static String |
DAP4PROTO |
protected static String[] |
DAPEXTENSIONS |
protected static String |
DAPVERSION |
protected static String |
DATASUFFIX |
protected static int |
DFALTPRELOADSIZE |
protected static String |
DMRSUFFIX |
protected static String |
DMRVERSION |
protected static String |
DSRSUFFIX |
protected static String |
FILEPROTO |
protected String |
originalurl |
protected static String |
PROTOTAG |
protected static 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 String |
buildURL(String baseurl,
String suffix,
DapDataset template,
String ce) |
protected InputStream |
callServer(String methodurl) |
void |
close() |
String |
getCapabilities(String url)
Provide a method for getting the capabilities document.
|
static boolean |
match(String url,
DapContext context)
A path is a DAP4 path if at least one of the following is true.
|
DSP |
open(String url,
DapContext context) |
protected void |
setURL(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 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 CHECKSUMTAG
protected static final String PROTOTAG
protected static final int DFALTPRELOADSIZE
protected static final String[] DAPEXTENSIONS
protected static final String[] DAP4EXTENSIONS
protected String originalurl
protected boolean allowCompression
protected String basece
protected int status
protected XURI xuri
public static boolean match(String url, DapContext context)
url
- context
- Any parameters that may help to decide.public DSP open(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 InputStream callServer(String methodurl) throws DapException
DapException
public String getCapabilities(String url) throws IOException
url
- for accessing the documentDapException
IOException
protected static String buildURL(String baseurl, String suffix, DapDataset template, String ce)
protected void setURL(String url) throws DapException
DapException
Copyright © 1999–2019 UCAR/Unidata. All rights reserved.