Class ErrorController
- java.lang.Object
-
- com.emc.documentum.rest.controller.AbstractController
-
- com.emc.documentum.rest.controller.common.ErrorController
-
@Controller("internal-error") @RequestMapping("/errors") public class ErrorController extends AbstractController
-
-
Field Summary
-
Fields inherited from class com.emc.documentum.rest.controller.AbstractController
POST_FROM_COLLECTION_MAP
-
-
Constructor Summary
Constructors Constructor Description ErrorController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<RestError>
errorRedirect(int httpStatus, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Methods inherited from class com.emc.documentum.rest.controller.AbstractController
getRenderedObject, getRenderedPage, initBinder, validateCollectionNotAllowed, validateOnlyPageItemsPerPageCollectionAllowed, validatePaginationNotAllowed, validateTargetControllerAccessible
-
-
-
-
Method Detail
-
errorRedirect
@RequestMapping(value="/redirect/{status}", produces={"application/json","application/xml","application/atom+xml","application/home+json","application/home+xml","application/vnd.emc.documentum+json","application/vnd.emc.documentum+xml","application/hal+json"}) public org.springframework.http.ResponseEntity<RestError> errorRedirect(@PathVariable("status") int httpStatus, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-