Class ControllerUtils
java.lang.Object
com.netflix.genie.web.apis.rest.v3.controllers.ControllerUtils
Utility methods re-used in various controllers.
- Since:
- 3.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getRemainingPath
(jakarta.servlet.http.HttpServletRequest request) Get the remaining path from a given request.
-
Method Details
-
getRemainingPath
Get the remaining path from a given request. e.g. if the request went to a method with the matching pattern of /api/v3/jobs/{id}/output/** and the request was /api/v3/jobs/{id}/output/blah.txt the return value of this method would be blah.txt.- Parameters:
request
- The http servlet request.- Returns:
- The remaining path
-