public class AbstractNcssController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
servletCachePath |
protected static String |
servletPath |
| Constructor and Description |
|---|
AbstractNcssController() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getDatasetPath(javax.servlet.http.HttpServletRequest req) |
static String |
getDatasetPath(String path) |
static String |
getNCSSServletPath() |
static String |
getServletCachePath() |
org.springframework.http.ResponseEntity<String> |
handle(FileNotFoundException ncsse) |
org.springframework.http.ResponseEntity<String> |
handle(NcssException ncsse) |
org.springframework.http.ResponseEntity<String> |
handle(Throwable ex) |
org.springframework.http.ResponseEntity<String> |
handle(UnsupportedOperationException ex) |
protected void |
handleValidationErrorMessage(javax.servlet.http.HttpServletResponse response,
int status,
String errorMessage) |
protected void |
handleValidationErrorsResponse(javax.servlet.http.HttpServletResponse response,
int status,
org.springframework.validation.BindingResult validationResult) |
protected static final String servletPath
protected static final String servletCachePath
protected void handleValidationErrorsResponse(javax.servlet.http.HttpServletResponse response,
int status,
org.springframework.validation.BindingResult validationResult)
protected void handleValidationErrorMessage(javax.servlet.http.HttpServletResponse response,
int status,
String errorMessage)
@ExceptionHandler(value=java.io.FileNotFoundException.class) public org.springframework.http.ResponseEntity<String> handle(FileNotFoundException ncsse)
@ExceptionHandler(value=NcssException.class) public org.springframework.http.ResponseEntity<String> handle(NcssException ncsse)
@ExceptionHandler(value=java.lang.UnsupportedOperationException.class) public org.springframework.http.ResponseEntity<String> handle(UnsupportedOperationException ex)
@ExceptionHandler(value=java.lang.Throwable.class) public org.springframework.http.ResponseEntity<String> handle(Throwable ex)
public static String getNCSSServletPath()
public static String getServletCachePath()
public static String getDatasetPath(javax.servlet.http.HttpServletRequest req)
Copyright © 1999–2014 UCAR/Unidata. All rights reserved.