@ApiParam(value = "Http Servlet request object", required = true)
@Context final HttpServletRequest hsr,
@Context final UriInfo uriInfo) throws GenieException {
LOG.info("Called to submit job: " + job);
if (job == null) {
throw new GenieException(
HttpURLConnection.HTTP_PRECON_FAILED,
"No job entered. Unable to submit.");
}
// get client's host from the context