|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use UWSException | |
---|---|
uws | |
uws.job | |
uws.job.manager | |
uws.job.serializer | |
uws.service | |
uws.service.actions | |
uws.service.controller |
Uses of UWSException in uws |
---|
Methods in uws that throw UWSException | |
---|---|
static boolean |
UWSToolBox.publishErrorSummary(AbstractJob j,
java.lang.Exception ex,
ErrorType type,
java.lang.String errorFileUri,
java.lang.String errorsDirectory,
java.lang.String errorFileName)
Sets an error summary corresponding to the given Exception with the given error type. |
static boolean |
UWSToolBox.publishErrorSummary(AbstractJob j,
java.lang.Exception ex,
ErrorType type,
java.net.URL errorFileUrl,
java.lang.String errorsDirectory,
java.lang.String errorFileName)
Deprecated. Replaced by UWSToolBox.publishErrorSummary(AbstractJob, Exception, ErrorType, String, String, String) |
static boolean |
UWSToolBox.publishErrorSummary(AbstractJob j,
java.lang.String msg,
ErrorType type)
Sets an error summary to the given job with the given message and the given error type and sets the phase member to ERROR . |
Uses of UWSException in uws.job |
---|
Fields in uws.job declared as UWSException | |
---|---|
protected UWSException |
JobThread.lastError
The last error which has occurred during the execution of this thread. |
Methods in uws.job that return UWSException | |
---|---|
UWSException |
JobThread.getError()
Gets the last error which has occurred during the execution of this thread. |
UWSException |
AbstractJob.getWorkError()
Gets the error (if any) which has occurred during the job execution. |
Methods in uws.job with parameters of type UWSException | |
---|---|
void |
AbstractJob.error(UWSException ue)
Publishes the given exception as an error summary. |
protected boolean |
AbstractJob.publishExecutionError(UWSException ue)
Deprecated. Replaced by AbstractJob.error(UWSException) . |
Methods in uws.job that throw UWSException | |
---|---|
void |
AbstractJob.abort()
Stops immediately the job, sets its phase to ABORTED and sets its end time. |
java.lang.String |
JobList.addNewJob(J j)
Add the given job to the list except if a job with the same jobID already exists. |
boolean |
AbstractJob.addOrUpdateParameter(java.lang.String paramName,
java.lang.String paramValue)
Adds or updates the specified parameter with the given value ONLY IF the job can be updated (considering its current execution phase, see JobPhase.isJobUpdatable() ). |
boolean |
AbstractJob.addOrUpdateParameters(java.util.Map<java.lang.String,java.lang.String> params)
Adds or updates the given parameters ONLY IF the job can be updated (considering its current execution phase, see JobPhase.isJobUpdatable() ). |
boolean |
AbstractJob.addResult(Result res)
Adds the given result in the results list of this job. |
protected void |
AbstractJob.applyPhaseParam()
Looks for an additional parameters which corresponds to the Execution Phase. |
protected void |
AbstractJob.checkPhaseParam()
Deprecated. AbstractJob.applyPhaseParam() . |
void |
AbstractJob.error(ErrorSummary error)
Stops immediately the job, sets its error summary, sets its phase to ExecutionPhase.ERROR and sets its end time. |
void |
AbstractJob.error(UWSException ue)
Publishes the given exception as an error summary. |
protected abstract void |
AbstractJob.jobWork()
Does the job work (i.e. making a long computation or executing a query on a Database). |
protected boolean |
AbstractJob.loadAdditionalParams()
Method called when updating one or several parameters using the functions AbstractJob.addOrUpdateParameter(String, String) and
AbstractJob.addOrUpdateParameters(Map) or at the job creation. |
protected java.util.Map<java.lang.String,java.lang.String> |
AbstractJob.loadDefaultParams(java.util.Map<java.lang.String,java.lang.String> lstParam)
Loads the given parameters: all known parameters (with write access) are updated whereas others are returned in a new map in which all keys are in lower case. |
void |
AbstractJob.notifyObservers(ExecutionPhase oldPhase)
Notifies all the observer of this job that its phase has changed. |
protected boolean |
AbstractJob.publishExecutionError(UWSException ue)
Deprecated. Replaced by AbstractJob.error(UWSException) . |
void |
AbstractJob.serialize(java.io.OutputStream output,
java.lang.String[] attributes,
UWSSerializer serializer)
Serializes the specified attribute of this job in the given output stream by using the given serializer. |
void |
SerializableUWSObject.serialize(java.io.OutputStream output,
UWSSerializer serializer)
Serializes the whole object in the given output stream and thanks to the given serializer. |
void |
SerializableUWSObject.serialize(java.io.OutputStream output,
UWSSerializer serializer,
java.lang.String ownerId)
Serializes the while object in the given output stream, considering the given owner ID and thanks to the given serializer. |
java.lang.String |
AbstractJob.serialize(java.lang.String[] attributes,
UWSSerializer serializer)
Serializes the specified attribute of this job by using the given serializer. |
java.lang.String |
SerializableUWSObject.serialize(UWSSerializer serializer)
Serializes the whole object thanks to the given serializer. |
abstract java.lang.String |
SerializableUWSObject.serialize(UWSSerializer serializer,
java.lang.String ownerId)
Serializes the whole object considering the given owner ID (supposed to be the ID of the current user) and thanks to the given serializer. |
java.lang.String |
AbstractJob.serialize(UWSSerializer serializer,
java.lang.String ownerId)
|
java.lang.String |
Result.serialize(UWSSerializer serializer,
java.lang.String ownerId)
|
java.lang.String |
ErrorSummary.serialize(UWSSerializer serializer,
java.lang.String ownerId)
|
java.lang.String |
JobList.serialize(UWSSerializer serializer,
java.lang.String ownerId)
|
protected void |
JobPhase.setAbortedPhase(boolean force)
Changes the current phase to ABORTED . |
protected void |
JobPhase.setCompletedPhase(boolean force)
Changes the current phase to COMPLETED . |
protected void |
JobPhase.setErrorPhase(boolean force)
Changes the current phase to ERROR . |
void |
AbstractJob.setErrorSummary(ErrorSummary errorSummary)
Sets the error that occurs during the execution of this job. |
protected void |
JobPhase.setExecutingPhase(boolean force)
Changes the current phase to EXECUTING . |
void |
AbstractJob.setExecutionManager(ExecutionManager newManager)
Sets the execution manager of this job. |
protected void |
JobPhase.setHeldPhase(boolean force)
Changes the current phase to HELD . |
void |
AbstractJob.setJobList(JobList<? extends AbstractJob> jobList)
Sets its jobs list. |
protected void |
JobPhase.setPendingPhase(boolean force)
Changes the current phase to PENDING . |
void |
AbstractJob.setPhase(ExecutionPhase p)
Sets the current phase of this job. |
void |
JobPhase.setPhase(ExecutionPhase p)
Lets changing the current phase of the associated job considering the order of execution phases. |
void |
AbstractJob.setPhase(ExecutionPhase p,
boolean force)
Sets the current phase of this job, respecting or not the imposed order. |
void |
JobPhase.setPhase(ExecutionPhase p,
boolean force)
Lets changing the current phase of the associated job considering or not the order of execution phases. |
protected void |
JobPhase.setQueuedPhase(boolean force)
Changes the current phase to QUEUED . |
protected void |
JobPhase.setSuspendedPhase(boolean force)
Changes the current phase to SUSPENDED . |
protected void |
JobPhase.setUnknownPhase(boolean force)
Changes the current phase to UNKNOWN . |
void |
AbstractJob.start()
Starts the job by using the execution manager if any. |
void |
AbstractJob.start(boolean useManager)
Starts the job. |
void |
JobObserver.update(AbstractJob job,
ExecutionPhase oldPhase,
ExecutionPhase newPhase)
Used when one of the observed jobs notifies its observers of a modification of its execution phase. |
Constructors in uws.job that throw UWSException | |
---|---|
AbstractJob(java.util.Map<java.lang.String,java.lang.String> lstParam)
Builds a job with a map of all its parameters (UWS and additional parameters). |
|
AbstractJob(java.lang.String ownerID,
java.util.Map<java.lang.String,java.lang.String> lstParam)
Builds a job with the ID of the owner of this job and a map of all its parameters (UWS and additional parameters). |
|
AbstractJob(java.lang.String jobName,
java.lang.String ownerId,
long maxDuration,
java.util.Date destructTime,
java.util.Map<java.lang.String,java.lang.String> lstParam)
Builds a job with a job name/label, an owner ID, an execution duration, a destruction time and a map of all its parameters (UWS and additional parameters). |
|
AbstractJob(java.lang.String jobId,
java.lang.String jobName,
java.lang.String ownerId,
ExecutionPhase phase,
java.util.Date startTime,
java.util.Date endTime,
long maxDuration,
java.util.Date destructTime,
java.util.List<Result> results,
ErrorSummary errors,
java.util.Map<java.lang.String,java.lang.String> additionalParams)
MANUAL CONSTRUCTOR - DISCOURAGED Constructs a Job with all its parameters. |
|
JobList(java.lang.String jobListName)
Builds a jobs list with its name. |
|
JobPhase(AbstractJob j)
Builds the phase manager of the given job. |
|
JobThread(AbstractJob j)
Builds the JobThread instance which will be used by the given job to execute its task. |
Uses of UWSException in uws.job.manager |
---|
Methods in uws.job.manager that throw UWSException | |
---|---|
ExecutionPhase |
QueuedExecutionManager.execute(AbstractJob jobToExecute)
By default a job is executed if there are not yet more than QueuedExecutionManager.getMaxRunningJobs() running jobs. |
ExecutionPhase |
DefaultExecutionManager.execute(AbstractJob jobToExecute)
|
ExecutionPhase |
ExecutionManager.execute(AbstractJob jobToExecute)
Lets deciding whether the given job can start immediately or whether it must be put in the queue. |
void |
QueuedExecutionManager.refresh()
Removes the first queued job(s) from the queue and executes it (them) ONLY IF it (they) can be executed (see QueuedExecutionManager.isReadyForExecution(AbstractJob) ). |
void |
DefaultExecutionManager.refresh()
|
void |
ExecutionManager.refresh()
Refreshes the lists of running and queued jobs. |
void |
QueuedExecutionManager.remove(AbstractJob jobToRemove)
|
void |
DefaultExecutionManager.remove(AbstractJob jobToRemove)
|
void |
ExecutionManager.remove(AbstractJob jobToRemove)
Removes the job from this manager whatever is its current execution phase. |
void |
QueuedExecutionManager.setMaxRunningJobs(int maxRunningJobs)
Sets the maximum number of running jobs. |
void |
QueuedExecutionManager.update(AbstractJob job)
|
void |
DefaultExecutionManager.update(AbstractJob job)
|
void |
ExecutionManager.update(AbstractJob job)
Puts the given job into the appropriate list of jobs: if EXECUTING , the job must be put in the list of running jobs,
but if QUEUED , it must be put into the queue. |
Uses of UWSException in uws.job.serializer |
---|
Methods in uws.job.serializer that throw UWSException | |
---|---|
abstract java.lang.String |
UWSSerializer.getAdditionalParameter(java.lang.String paramName,
java.lang.String paramValue,
boolean root)
Serializes the specified parameter. |
java.lang.String |
JSONSerializer.getAdditionalParameter(java.lang.String paramName,
java.lang.String paramValue,
boolean root)
|
abstract java.lang.String |
UWSSerializer.getAdditionalParameters(AbstractJob job,
boolean root)
Serializes the parameters of the given job. |
java.lang.String |
JSONSerializer.getAdditionalParameters(AbstractJob job,
boolean root)
|
abstract java.lang.String |
UWSSerializer.getDestructionTime(AbstractJob job,
boolean root)
Serializes the destruction time of the given job. |
java.lang.String |
JSONSerializer.getDestructionTime(AbstractJob job,
boolean root)
|
abstract java.lang.String |
UWSSerializer.getEndTime(AbstractJob job,
boolean root)
Serializes the end time of the given job. |
java.lang.String |
JSONSerializer.getEndTime(AbstractJob job,
boolean root)
|
abstract java.lang.String |
UWSSerializer.getErrorSummary(ErrorSummary error,
boolean root)
Serializes the given error summary. |
java.lang.String |
JSONSerializer.getErrorSummary(ErrorSummary error,
boolean root)
|
abstract java.lang.String |
UWSSerializer.getExecutionDuration(AbstractJob job,
boolean root)
Serializes the execution duration of the given job. |
java.lang.String |
JSONSerializer.getExecutionDuration(AbstractJob job,
boolean root)
|
abstract java.lang.String |
UWSSerializer.getJob(AbstractJob job,
boolean root)
Serializes the whole given job. |
java.lang.String |
JSONSerializer.getJob(AbstractJob job,
boolean root)
|
java.lang.String |
UWSSerializer.getJob(AbstractJob job,
java.lang.String[] attributes,
boolean root)
Serializes the given parameter of the given job or serializes the whole job if the given attributes array is empty or null. |
abstract java.lang.String |
UWSSerializer.getJobID(AbstractJob job,
boolean root)
Serializes the ID of the given job. |
java.lang.String |
JSONSerializer.getJobID(AbstractJob job,
boolean root)
|
java.lang.String |
UWSSerializer.getJobList(JobList<? extends AbstractJob> jobsList,
boolean root)
Serializes the given jobs list. |
java.lang.String |
XMLSerializer.getJobList(JobList<? extends AbstractJob> jobsList,
java.lang.String ownerId,
boolean root)
|
abstract java.lang.String |
UWSSerializer.getJobList(JobList<? extends AbstractJob> jobsList,
java.lang.String ownerId,
boolean root)
Serializes the given jobs list. |
java.lang.String |
JSONSerializer.getJobList(JobList<? extends AbstractJob> jobsList,
java.lang.String ownerId,
boolean root)
|
abstract java.lang.String |
UWSSerializer.getOwnerID(AbstractJob job,
boolean root)
Serializes the owner ID of the given job. |
java.lang.String |
JSONSerializer.getOwnerID(AbstractJob job,
boolean root)
|
abstract java.lang.String |
UWSSerializer.getPhase(AbstractJob job,
boolean root)
Serializes the phase of the given job. |
java.lang.String |
JSONSerializer.getPhase(AbstractJob job,
boolean root)
|
abstract java.lang.String |
UWSSerializer.getQuote(AbstractJob job,
boolean root)
Serializes the quote of the given job. |
java.lang.String |
JSONSerializer.getQuote(AbstractJob job,
boolean root)
|
abstract java.lang.String |
UWSSerializer.getResult(Result result,
boolean root)
Serializes the given result. |
java.lang.String |
JSONSerializer.getResult(Result result,
boolean root)
|
abstract java.lang.String |
UWSSerializer.getResults(AbstractJob job,
boolean root)
Serializes the results of the given job. |
java.lang.String |
JSONSerializer.getResults(AbstractJob job,
boolean root)
|
abstract java.lang.String |
UWSSerializer.getRunID(AbstractJob job,
boolean root)
Serializes the run ID of the given job. |
java.lang.String |
JSONSerializer.getRunID(AbstractJob job,
boolean root)
|
abstract java.lang.String |
UWSSerializer.getStartTime(AbstractJob job,
boolean root)
Serializes the start time of the given job. |
java.lang.String |
JSONSerializer.getStartTime(AbstractJob job,
boolean root)
|
java.lang.String |
UWSSerializer.getUWS(AbstractUWS<? extends JobList<? extends AbstractJob>,? extends AbstractJob> uws)
Serializes the given UWS. |
abstract java.lang.String |
UWSSerializer.getUWS(AbstractUWS<? extends JobList<? extends AbstractJob>,? extends AbstractJob> uws,
java.lang.String userId)
Serializes the given UWS for the specified user. |
java.lang.String |
JSONSerializer.getUWS(AbstractUWS<? extends JobList<? extends AbstractJob>,? extends AbstractJob> uws,
java.lang.String userId)
|
Uses of UWSException in uws.service |
---|
Methods in uws.service with parameters of type UWSException | |
---|---|
void |
AbstractUWS.sendError(UWSException error,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Fills the response with the given error. |
Methods in uws.service that throw UWSException | ||
---|---|---|
protected void |
ExtendedUWS.addConstructor(JobList<? extends AbstractJob> jl)
Searches in ExtendedUWS.assocJobListClass for the Class object of the given jobs list,
gets the constructor with only one parameter of type Map<String,String> into this Class object,
and finally saves in ExtendedUWS.assocJobListConstructor the association between the given jobs list and the found constructor. |
|
|
ExtendedUWS.addJobList(JobList<J> jl,
java.lang.Class<J> cl)
Adds a JobList with the constructor of the type of job to use. |
|
boolean |
ExtendedUWS.AddJobWithConstructor.apply(UWSUrl urlInterpreter,
java.lang.String userId,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
|
AbstractJob |
ExtendedUWS.createJob(java.util.Map<java.lang.String,java.lang.String> parameters)
|
|
abstract J |
AbstractUWS.createJob(java.util.Map<java.lang.String,java.lang.String> parameters)
Creates a job of the type (extension of AbstractJob ) which parameterized this implementation of AbstractUWS. |
|
J |
BasicUWS.createJob(java.util.Map<java.lang.String,java.lang.String> parameters)
|
|
boolean |
AbstractUWS.executeRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Executes the given request according to the IVOA Proposed Recommendation of 2010-02-10. |
|
java.lang.String |
UserIdentifier.extractUserId(UWSUrl urlInterpreter,
javax.servlet.http.HttpServletRequest request)
Extracts the ID of the user/owner of the current session. |
|
protected java.lang.reflect.Constructor<J> |
BasicUWS.getConstructor()
Gets the constructor of the type of job to use. |
|
protected java.lang.reflect.Constructor<? extends AbstractJob> |
ExtendedUWS.getConstructor(JobList<? extends AbstractJob> jl)
Gets the constructor of the type of job to use. |
|
UWSSerializer |
AbstractUWS.getSerializer(java.lang.String mimeTypes)
Gets the serializer whose the MIME type is the same as the given one. |
|
void |
AbstractUWS.redirect(java.lang.String url,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Sends a redirection (with the HTTP status code 303) to the given URL/URI into the given response. |
|
void |
AbstractUWS.sendError(java.lang.Exception error,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Fills the response with the given error. |
|
void |
AbstractUWS.sendError(UWSException error,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Fills the response with the given error. |
|
java.lang.String |
AbstractUWS.serialize(UWSSerializer serializer,
java.lang.String ownerId)
|
|
void |
AbstractUWS.setDefaultSerializer(java.lang.String mimeType)
Sets the MIME of the serializer to use by default. |
|
void |
AbstractUWS.setExecutionManager(ExecutionManager newManager)
Sets its execution manager. |
|
void |
QueuedExtendedUWS.setMaxRunningJobs(int maxRunningJobs)
Sets the maximum number of jobs that can run in the same time. |
|
void |
QueuedBasicUWS.setMaxRunningJobs(int maxRunningJobs)
Sets the maximum number of jobs that can run in the same time. |
Constructors in uws.service that throw UWSException | |
---|---|
AbstractUWS(java.lang.String baseURI)
Builds a UWS with its base UWS URI. |
|
BasicUWS(java.lang.Class<J> cl)
Builds a BasicUWS with the class object of the type of job to manage. |
|
BasicUWS(java.lang.Class<J> cl,
java.lang.String baseURI)
Builds a BasicUWS with the class object of the type of job to manage and the base UWS URI. |
|
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(java.lang.String baseURI)
Builds an ExtendedUWS with its base URI. |
|
QueuedBasicUWS(java.lang.Class<J> cl,
int nbMaxRunningJobs)
Builds a QueuedBasicUWS. |
|
QueuedBasicUWS(java.lang.Class<J> cl,
int nbMaxRunningJobs,
java.lang.String baseURI)
Builds a QueuedBasicUWS. |
|
QueuedBasicUWS(java.lang.Class<J> cl,
int nbMaxRunningJobs,
UWSUrl urlInterpreter)
Builds a QueuedBasicUWS. |
|
QueuedExtendedUWS(int nbMaxRunningJobs)
Builds a QueuedExtendedUWS. |
|
QueuedExtendedUWS(int nbMaxRunningJobs,
java.lang.String baseURI)
Builds a QueuedExtendedUWS with its base URI. |
|
QueuedExtendedUWS(int nbMaxRunningJobs,
UWSUrl urlInterpreter)
Builds a QueuedExtendedUWS with the UWS URL interpreter to use. |
|
UWSUrl(javax.servlet.http.HttpServletRequest request)
Builds a UWSUrl considering the given request to set the baseURI. |
|
UWSUrl(java.lang.String baseURI)
Builds a UWSUrl with a fixed baseURI. |
Uses of UWSException in uws.service.actions |
---|
Methods in uws.service.actions that throw UWSException | |
---|---|
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. |
Uses of UWSException in uws.service.controller |
---|
Methods in uws.service.controller that throw UWSException | |
---|---|
void |
DestructionTimeController.control(AbstractJob jobToControl,
java.util.Date dateToCheck)
Controls the given destruction time. |
void |
ExecutionDurationController.control(AbstractJob jobToControl,
long durationToCheck)
Controls the given execution duration. |
void |
DestructionTimeController.control(AbstractJob job,
java.util.Map<java.lang.String,java.lang.String> params)
Extracts the destruction time from the given map and controls its value. |
void |
ExecutionDurationController.control(AbstractJob job,
java.util.Map<java.lang.String,java.lang.String> params)
Extracts the execution duration from the given map and controls its value. |
void |
DestructionTimeController.init(java.util.Map<java.lang.String,java.lang.String> params)
Controls the destruction time given in the map or initializes it with the default value if not present in the map. |
void |
ExecutionDurationController.init(java.util.Map<java.lang.String,java.lang.String> params)
Controls the execution duration given in the map or initializes it with the default value if not present in the map. |
void |
DestructionTimeController.setDefaultDestructionTime(AbstractJob job)
Sets the destruction time of the given job with the default value. |
void |
ExecutionDurationController.setDefaultExecutionDuration(AbstractJob job)
Sets the execution duration of the given job with the default value. |
void |
DestructionTimeController.setDestructionTime(AbstractJob job,
java.util.Date date)
Controls the given value and sets the destruction time of the given job with this value. |
void |
ExecutionDurationController.setExecutionDuration(AbstractJob job,
long duration)
Controls the given value and sets the execution duration of the given job with this value. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |