public abstract class AbstractNcssController extends Object implements org.springframework.web.servlet.mvc.LastModified
| Modifier and Type | Field and Description |
|---|---|
protected GridDataset |
gridDataset |
protected static String |
NETCDF_FORMAT_NAME |
protected String |
requestPathInfo |
protected static String |
servletCachePath |
protected static String |
servletPath |
| Constructor and Description |
|---|
AbstractNcssController() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildCacheUrl(String fileName) |
GridDataset |
getGridDataset() |
long |
getLastModified(javax.servlet.http.HttpServletRequest req) |
protected List<CalendarDate> |
getRequestedDates(GridDataset gds,
RequestParamsBean params) |
String |
getRequestPathInfo() |
static String |
getServletCachePath() |
static String |
getServletPath() |
protected SupportedFormat |
getSupportedFormat(RequestParamsBean params,
thredds.server.ncSubset.controller.SupportedOperation operation) |
protected void |
handleValidationErrorsResponse(javax.servlet.http.HttpServletResponse response,
int status,
org.springframework.validation.BindingResult validationResult) |
protected void |
setResponseHeaders(javax.servlet.http.HttpServletResponse response,
org.springframework.http.HttpHeaders httpHeaders) |
protected static final String NETCDF_FORMAT_NAME
protected static final String servletPath
protected static final String servletCachePath
protected String requestPathInfo
protected GridDataset gridDataset
public String getRequestPathInfo()
public GridDataset getGridDataset()
protected List<CalendarDate> getRequestedDates(GridDataset gds, RequestParamsBean params) throws OutOfBoundariesException, ParseException, TimeOutOfWindowException
gds - params - OutOfBoundariesExceptionParseExceptionTimeOutOfWindowExceptionprotected void handleValidationErrorsResponse(javax.servlet.http.HttpServletResponse response,
int status,
org.springframework.validation.BindingResult validationResult)
protected void setResponseHeaders(javax.servlet.http.HttpServletResponse response,
org.springframework.http.HttpHeaders httpHeaders)
protected SupportedFormat getSupportedFormat(RequestParamsBean params, thredds.server.ncSubset.controller.SupportedOperation operation) throws UnsupportedResponseFormatException
public static final String getServletPath()
public static final String getServletCachePath()
public long getLastModified(javax.servlet.http.HttpServletRequest req)
getLastModified in interface org.springframework.web.servlet.mvc.LastModifiedCopyright © 1999-2012 UCAR/Unidata. All Rights Reserved.