Uses of Class
uws.service.UWSUrl

Packages that use UWSUrl
uws   
uws.job   
uws.service   
uws.service.actions   
 

Uses of UWSUrl in uws
 

Methods in uws with parameters of type UWSUrl
static void UWSToolBox.printURL(UWSUrl url)
          Displays all the fields of the given UWSUrl.
static void UWSToolBox.printURL(UWSUrl url, java.io.OutputStream output)
          Displays all the fields of the given UWSUrl in the given output stream.
 

Uses of UWSUrl in uws.job
 

Methods in uws.job that return UWSUrl
 UWSUrl JobList.getUrl()
          Gets the UWS URL of this jobs list in function of its UWS.
 

Uses of UWSUrl in uws.service
 

Fields in uws.service declared as UWSUrl
protected  UWSUrl AbstractUWS.urlInterpreter
          The "interpreter" of UWS URLs.
 

Methods in uws.service that return UWSUrl
 UWSUrl AbstractUWS.getUrlInterpreter()
          Gets the UWS URL interpreter of this UWS.
 UWSUrl UWSUrl.homePage()
          Gets the base UWS URI = UWS home page.
 UWSUrl UWSUrl.jobDestruction(java.lang.String jobListName, java.lang.String jobId)
          Gets the UWS URL to get the destruction time.
 UWSUrl UWSUrl.jobError(java.lang.String jobListName, java.lang.String jobId)
          Gets the UWS URL to get the error summary.
 UWSUrl UWSUrl.jobExecDuration(java.lang.String jobListName, java.lang.String jobId)
          Gets the UWS URL to get the execution duration.
 UWSUrl UWSUrl.jobName(java.lang.String jobListName, java.lang.String jobId)
          Gets the UWS URL to get the runID.
 UWSUrl UWSUrl.jobOwner(java.lang.String jobListName, java.lang.String jobId)
          Gets the UWS URL to get the owner ID.
 UWSUrl UWSUrl.jobParameter(java.lang.String jobListName, java.lang.String jobId, java.lang.String paramName)
          Gets the UWS URL to get the parameters/parameter.
 UWSUrl UWSUrl.jobParameters(java.lang.String jobListName, java.lang.String jobId)
          Gets the UWS URL to get the parameters.
 UWSUrl UWSUrl.jobPhase(java.lang.String jobListName, java.lang.String jobId)
          Gets the UWS URL to get the phase.
 UWSUrl UWSUrl.jobQuote(java.lang.String jobListName, java.lang.String jobId)
          Gets the UWS URL to get the quote.
 UWSUrl UWSUrl.jobResult(java.lang.String jobListName, java.lang.String jobId, java.lang.String resultId)
          Gets the UWS URL to get the specified result.
 UWSUrl UWSUrl.jobResults(java.lang.String jobListName, java.lang.String jobId)
          Gets the UWS URL to get the results.
 UWSUrl UWSUrl.jobSummary(java.lang.String jobListName, java.lang.String jobId)
          Gets the UWS URL to get the summary.
 UWSUrl UWSUrl.listJobs(java.lang.String jobListName)
          Gets the UWS URL to get the specified jobs list.
 

Methods in uws.service with parameters of type UWSUrl
 boolean ExtendedUWS.AddJobWithConstructor.apply(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 java.lang.String UserIdentifier.extractUserId(UWSUrl urlInterpreter, javax.servlet.http.HttpServletRequest request)
          Extracts the ID of the user/owner of the current session.
 void AbstractUWS.setUrlInterpreter(UWSUrl urlInterpreter)
          Sets the UWS URL interpreter to use in this UWS.
 

Constructors in uws.service with parameters of type UWSUrl
AbstractUWS(UWSUrl urlInterpreter)
          Builds a UWS with the given UWS URL interpreter.
BasicUWS(java.lang.Class<J> cl, UWSUrl urlInterpreter)
          Builds a BasicUWS with the class object of the type of job to manage and the UWS URL interpreter to use.
ExtendedUWS(UWSUrl urlInterpreter)
          Builds an ExtendedUWS with the UWS URL interpreter to use.
QueuedBasicUWS(java.lang.Class<J> cl, int nbMaxRunningJobs, UWSUrl urlInterpreter)
          Builds a QueuedBasicUWS.
QueuedExtendedUWS(int nbMaxRunningJobs, UWSUrl urlInterpreter)
          Builds a QueuedExtendedUWS with the UWS URL interpreter to use.
UWSUrl(UWSUrl toCopy)
          Builds a copy of the given UWSUrl.
 

Uses of UWSUrl in uws.service.actions
 

Methods in uws.service.actions with parameters of type UWSUrl
abstract  boolean UWSAction.apply(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Applies this UWS action in function of the given request and writes the result in the given response.
 boolean JobSummary.apply(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Gets the specified job (and throw an error if not found), chooses the serializer and write the serialization of the job in the given response.
 boolean AddJob.apply(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Gets the specified jobs list (throw an error if not found), creates a new job, adds it to the jobs list and makes a redirection to the summary of this new job.
 boolean GetJobParam.apply(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Gets the specified job (and throw an error if not found), chooses the serializer and write the serialization of the job attribute in the given response.
 boolean DestroyJob.apply(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Gets the specified jobs list (throw an error if not found), gets the specified job (throw an error if not found), destroys the job and makes a redirection to the jobs list.
 boolean ListJobs.apply(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Gets the specified jobs list (and throw an error if not found), chooses the serializer and write the serialization of the jobs list in the given response.
 boolean SetJobParam.apply(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Gets the specified job (and throw an error if not found), changes the value of the specified job attribute and makes a redirection to the job summary.
 boolean ShowHomePage.apply(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Writes the UWS home page in the given HttpServletResponse. 3 cases are possible: Default home page (AbstractUWS.isDefaultHomePage() returns true): write the appropriate (considering the Accept header of the HTTP-Request) serialization of this UWS.
protected  J UWSAction.getJob(UWSUrl urlInterpreter)
          Extracts the job ID from the given UWS URL and gets the corresponding job from the UWS.
protected  J UWSAction.getJob(UWSUrl urlInterpreter, JL jobsList)
          Extracts the job ID from the given UWS URL and gets the corresponding job from the given jobs list.
protected  JL UWSAction.getJobsList(UWSUrl urlInterpreter)
          Extracts the name of the jobs list from the given UWS URL and gets the jobs list from the UWS.
abstract  boolean UWSAction.match(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request)
          Indicates whether the given request corresponds to this UWS action.
 boolean JobSummary.match(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request)
          Checks whether: a job list name is specified in the given UWS URL (note: the existence of the jobs list is not checked), a job ID is given in the UWS URL (note: the existence of the job is not checked), there is no job attribute, the HTTP method is HTTP-GET.
 boolean AddJob.match(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request)
          Checks whether: a job list name is specified in the given UWS URL (note: by default, the existence of the jobs list is not checked), the UWS URL does not make a reference to a job (so: no job ID), the HTTP method is HTTP-POST.
 boolean GetJobParam.match(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request)
          Checks whether: a job list name is specified in the given UWS URL (note: the existence of the jobs list is not checked), a job ID is given in the UWS URL (note: the existence of the job is not checked), there is a job attribute, the HTTP method is HTTP-GET.
 boolean DestroyJob.match(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request)
          Checks whether: a job list name is specified in the given UWS URL (note: the existence of the jobs list is not checked), a job ID is given in the UWS URL (note: the existence of the job is not checked), the HTTP method is HTTP-DELETE...
 boolean ListJobs.match(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request)
          Checks whether: a job list name is specified in the given UWS URL (note: the existence of the jobs list is not checked), the UWS URL does not make a reference to a job (so: no job ID), the HTTP method is HTTP-GET.
 boolean SetJobParam.match(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request)
          Checks whether: a job list name is specified in the given UWS URL (note: by default, the existence of the jobs list is not checked), a job ID is given in the UWS URL (note: by default, the existence of the job is not checked), if the HTTP method is HTTP-POST: there is exactly one attribute and at least one parameter if the HTTP method is HTTP-PUT: there are at least two attributes (AbstractJob.PARAM_PARAMETERS/{parameter_name}) and there are at least two parameters
 boolean ShowHomePage.match(UWSUrl urlInterpreter, java.lang.String userId, javax.servlet.http.HttpServletRequest request)
          Checks whether there is no jobs list name.