/** * Checks whether: * * <ul> * <li>a job list name is specified in the given UWS URL <i>(<u>note:</u> by default, the * existence of the jobs list is not checked)</i>, * <li>the UWS URL does not make a reference to a job (so: no job ID), * <li>the HTTP method is HTTP-POST. * </ul> * * @see uws.service.actions.UWSAction#match(UWSUrl, JobOwner, HttpServletRequest) */ @Override public boolean match(UWSUrl urlInterpreter, JobOwner user, HttpServletRequest request) throws UWSException { return (urlInterpreter.hasJobList() && !urlInterpreter.hasJob() && request.getMethod().equalsIgnoreCase("post")); }