public class RESTGetCoverageParser extends RESTParser<GetCoverageRequest>
ENUMERATOR_SEPARATOR, RANGE_SEPARATOR
Constructor and Description |
---|
RESTGetCoverageParser() |
Modifier and Type | Method and Description |
---|---|
boolean |
canParse(HTTPRequest request)
Overrides the parent canParse method to better identify GetCoverage requests
|
java.lang.String |
getOperationName() |
GetCoverageRequest |
parse(HTTPRequest request)
Parses the HTTPRequest into a GetCoverage request
|
void |
parseCRS(RESTUrl rUrl,
GetCoverageRequest ret)
Parses the parameters needed for the CRS extension
|
void |
parseSubsets(RESTUrl rUrl,
GetCoverageRequest ret)
Parses all the subsets and add them to the coverage request
|
public boolean canParse(HTTPRequest request)
canParse
in interface RequestParser<GetCoverageRequest>
canParse
in class RESTParser<GetCoverageRequest>
request
- the http requestpublic void parseSubsets(RESTUrl rUrl, GetCoverageRequest ret) throws WCSException
rUrl
- - A RESTUrl object from which subsets can be extractedret
- - the GetCoverageRequestWCSException
public void parseCRS(RESTUrl rUrl, GetCoverageRequest ret) throws WCSException
rUrl
- the REST urlret
- the GetCoverage requestWCSException
public GetCoverageRequest parse(HTTPRequest request) throws WCSException
request
- WCSException
public java.lang.String getOperationName()