- saveAll() - Method in class uws.service.backup.DefaultUWSBackupManager
-
- saveAll() - Method in interface uws.service.backup.UWSBackupManager
-
Save all jobs lists and all information about the jobs owners.
- saveOwner(JobOwner) - Method in class uws.service.backup.DefaultUWSBackupManager
-
- saveOwner(JobOwner, boolean) - Method in class uws.service.backup.DefaultUWSBackupManager
-
- saveOwner(JobOwner) - Method in interface uws.service.backup.UWSBackupManager
-
Save ONLY the jobs of the given user and all information about this user.
- searchFile(String, ServletConfig) - Method in class uws.config.ConfigurableUWSServlet
-
Search the given file name/path in the directories of the classpath, then inside WEB-INF and finally inside META-INF.
- searchJobs(String) - Method in class uws.job.JobList
-
Gets all job whose the runID is equals (not case sensitive) to the given
runID.
- SEE_OTHER - Static variable in exception uws.UWSException
-
- sendError(UWSException, HttpServletRequest, String, JobOwner, String, HttpServletResponse) - Method in class uws.service.UWSService
-
Fills the response with the given error.
- sendError(Throwable, HttpServletRequest, String, JobOwner, String, HttpServletResponse) - Method in class uws.service.UWSService
-
Fills the response with the given error.
- sendError(UWSException, HttpServletRequest, String, JobOwner, String, HttpServletResponse) - Method in class uws.service.UWSServlet
-
Fills the response with the given error.
- sendError(Throwable, HttpServletRequest, String, JobOwner, String, HttpServletResponse) - Method in class uws.service.UWSServlet
-
Fills the response with the given error.
- SerializableUWSObject - Class in uws.job
-
This class defines the methods that an object of the UWS pattern must implement to be written in any format (by default, XML ; see
XMLSerializer
).
- SerializableUWSObject() - Constructor for class uws.job.SerializableUWSObject
-
- serialize(UWSSerializer, JobOwner) - Method in class uws.job.ErrorSummary
-
- serialize(ServletOutputStream, UWSSerializer, JobOwner, JobListRefiner) - Method in class uws.job.JobList
-
Serializes the while object in the given output stream,
considering the given owner, the given job filters and thanks to the
given serializer.
- serialize(UWSSerializer, JobOwner) - Method in class uws.job.JobList
-
- serialize(UWSSerializer, JobOwner) - Method in class uws.job.Result
-
- serialize(UWSSerializer) - Method in class uws.job.SerializableUWSObject
-
Serializes the whole object thanks to the given serializer.
- serialize(UWSSerializer, JobOwner) - Method in class uws.job.SerializableUWSObject
-
Serializes the whole object considering the given owner (supposed to be the current user)
and thanks to the given serializer.
- serialize(ServletOutputStream, UWSSerializer) - Method in class uws.job.SerializableUWSObject
-
Serializes the whole object in the given output stream and thanks to the given serializer.
- serialize(ServletOutputStream, UWSSerializer, JobOwner) - Method in class uws.job.SerializableUWSObject
-
Serializes the while object in the given output stream,
considering the given owner ID and thanks to the given serializer.
- serialize(UWSSerializer, JobOwner) - Method in class uws.job.UWSJob
-
- serialize(String[], UWSSerializer) - Method in class uws.job.UWSJob
-
Serializes the specified attribute of this job by using the given
serializer.
- serialize(ServletOutputStream, String[], UWSSerializer) - Method in class uws.job.UWSJob
-
Serializes the specified attribute of this job in the given output stream
by using the given serializer.
- serializers - Variable in class uws.service.UWSService
-
List of available serializers.
- service(HttpServletRequest, HttpServletResponse) - Method in class uws.config.ConfigurableUWSServlet
-
- service(ServletRequest, ServletResponse) - Method in class uws.service.UWSServlet
-
- service(HttpServletRequest, HttpServletResponse) - Method in class uws.service.UWSServlet
-
- SERVICE_UNAVAILABLE - Static variable in exception uws.UWSException
-
- ServiceErrorWriter - Interface in uws.service.error
-
Let's writing/formatting any Exception/Throwable in an HttpServletResponse
or in an error summary.
- set(String, Object) - Method in class uws.job.parameters.UWSParameters
-
Sets the given value to the specified parameter.
- SET_JOB_PARAM - Static variable in class uws.service.actions.UWSAction
-
- SET_UWS_PARAMETER - Static variable in class uws.service.actions.UWSAction
-
- setAbortedPhase(boolean) - Method in class uws.job.JobPhase
-
Changes the current phase to
ABORTED
.
- setArchivedPhase(boolean) - Method in class uws.job.JobPhase
-
- setAttributes(String[]) - Method in class uws.service.UWSUrl
-
Sets all the job attributes.
- setBackupFreq(long) - Method in class uws.service.backup.DefaultUWSBackupManager
-
Sets the backup frequency.
- setBackupManager(UWSBackupManager) - Method in class uws.service.UWSService
-
Sets its backup manager.
- setCompletedPhase(boolean) - Method in class uws.job.JobPhase
-
- setContentLength(HttpServletResponse, long) - Static method in class uws.UWSToolBox
-
Set the content length in the given HttpServletResponse
.
- setDateFormat(DateFormat) - Method in class uws.service.log.DefaultUWSLog
-
Sets the date formatter/parser to use for any date read/write into this logger.
- setDefault(Number) - Method in class uws.job.parameters.DurationParamController
-
- setDefault(Number) - Method in class uws.job.parameters.NumericParamController
-
Set the default value that the parameter must have if none is specified by the user.
- setDefaultDestructionInterval(int) - Method in class uws.job.parameters.DestructionTimeController
-
Sets the default interval in minutes from the initialization to the destruction of the concerned job.
- setDefaultDestructionInterval(int, DestructionTimeController.DateField) - Method in class uws.job.parameters.DestructionTimeController
-
Sets the default interval (in the given unit) from the initialization to the destruction of the concerned job.
- setDefaultDestructionTime(Date) - Method in class uws.job.parameters.DestructionTimeController
-
Sets the default destruction time.
- setDefaultExecutionDuration(long) - Method in class uws.job.parameters.ExecutionDurationController
-
Sets the default execution duration.
- setDefaultHomePage() - Method in class uws.service.UWSService
-
- setDefaultSerializer(String) - Method in class uws.service.UWSService
-
Sets the MIME of the serializer to use by default.
- setDefaultValue(String) - Method in class uws.job.parameters.StringParamController
-
Sets the default value of the parameter.
- setDescription(String) - Method in class uws.service.UWSService
-
Sets the description of this UWS.
- setDestructionManager(DestructionManager) - Method in class uws.job.JobList
-
Sets the destruction manager to use.
- setDestructionPolicy(JobDestructionPolicy) - Method in class uws.job.JobList
-
Set how this job list must behave when a job destruction is asked.
- setDestructionTime(Date) - Method in class uws.job.UWSJob
-
Sets the instant when the job shall be destroyed ONLY IF the job can
updated (considering its current execution phase, see
JobPhase.isJobUpdatable()
).
- setEnabled(boolean) - Method in class uws.service.backup.DefaultUWSBackupManager
-
- setEnabled(boolean) - Method in interface uws.service.backup.UWSBackupManager
-
Enables/Disables the backup of the associated UWS.
- setEndTime(Date) - Method in class uws.job.UWSJob
-
Sets the time at which the job execution has finished.
- setError(ErrorSummary) - Method in class uws.job.JobThread
-
Published the given error in the job.
- setError(UWSException) - Method in class uws.job.JobThread
-
Publishes the given exception as an error summary.
- setErrorPhase(boolean) - Method in class uws.job.JobPhase
-
Changes the current phase to
ERROR
.
- setErrorSummary(ErrorSummary) - Method in class uws.job.UWSJob
-
Sets the error that occurs during the execution of this job.
- setErrorWriter(ServiceErrorWriter) - Method in class uws.service.UWSService
-
Sets the object used to write/format any error in a HttpServletResponse.
- setErrorWriter(ServiceErrorWriter) - Method in class uws.service.UWSServlet
-
Sets the object used to write/format any error in a HttpServletResponse.
- setExecutingPhase(boolean) - Method in class uws.job.JobPhase
-
- setExecutionDuration(long) - Method in class uws.job.UWSJob
-
Sets the duration (in seconds) for which this job shall run ONLY IF the
job can updated (considering its current execution phase, see
JobPhase.isJobUpdatable()
).
- setExecutionManager(ExecutionManager) - Method in class uws.job.JobList
-
Sets the execution manager to use.
- setHeldPhase(boolean) - Method in class uws.job.JobPhase
-
Changes the current phase to
HELD
.
- setHomePage(URL, boolean) - Method in class uws.service.UWSService
-
Sets the URL of the resource which must be used as home page of this UWS.
- setHomePage(String) - Method in class uws.service.UWSService
-
Sets the URI of the resource which must be used as home page of this UWS.
- setHomePageMimeType(String) - Method in class uws.service.UWSService
-
Set the MIME type of the custom home page.
- setInputParamController(String, InputParamController) - Method in class uws.service.AbstractUWSFactory
-
Sets the controller of the specified input UWS job parameter.
- setInputParamController(String, InputParamController) - Method in class uws.service.UWSServlet
-
Sets the controller of the specified input UWS job parameter.
- setJob(UWSJob) - Method in interface uws.job.jobInfo.JobInfo
-
Notify this
JobInfo
that it is now owned by the given job.
- setJob(UWSJob) - Method in class uws.job.jobInfo.SingleValueJobInfo
-
- setJob(UWSJob) - Method in class uws.job.jobInfo.XMLJobInfo
-
- setJobId(String) - Method in class uws.service.UWSUrl
-
Sets the job ID.
- setJobInfo(JobInfo) - Method in class uws.job.UWSJob
-
Set the additional information about this job.
- setJobList(JobList) - Method in class uws.job.UWSJob
-
Sets its jobs list.
- setJobListName(String) - Method in class uws.service.UWSUrl
-
Sets the jobs list name.
- SetJobParam - Class in uws.service.actions
-
The "Set Job Parameter" action of a UWS.
- SetJobParam(UWSService) - Constructor for class uws.service.actions.SetJobParam
-
- setLogRotationFreq(String) - Method in class uws.service.file.LocalUWSFileManager
-
Set the frequency at which a rotation of the log file must be done.
- setMaxDestructionInterval(int) - Method in class uws.job.parameters.DestructionTimeController
-
Sets the maximum interval in minutes from the initialization to the destruction of the concerned job.
- setMaxDestructionInterval(int, DestructionTimeController.DateField) - Method in class uws.job.parameters.DestructionTimeController
-
Sets the maximum interval (in the given unit) from the initialization to the destruction of the concerned job.
- setMaxDestructionTime(Date) - Method in class uws.job.parameters.DestructionTimeController
-
Sets the maximum destruction time.
- setMaxExecutionDuration(long) - Method in class uws.job.parameters.ExecutionDurationController
-
Sets the maximum execution duration.
- setMaxFileSize(long) - Method in class uws.service.request.MultipartParser
-
Set the maximum size (in bytes) of a single uploaded file.
- setMaximum(Number) - Method in class uws.job.parameters.DurationParamController
-
- setMaximum(Number) - Method in class uws.job.parameters.NumericParamController
-
Sets the maximum value of this parameter.
- setMaxRequestSize(long) - Method in class uws.service.request.MultipartParser
-
Set the maximum size (in bytes) of a whole multipart request.
- setMaxRunningJobs(int) - Method in class uws.job.manager.QueuedExecutionManager
-
Sets the maximum number of running jobs.
- setMimeType(String) - Method in class uws.job.Result
-
Sets the MIME type of this result.
- setMimeTypes(Map<String, Float>) - Method in class uws.AcceptHeader
-
Sets the association between MIME types and their quality.
- setMinimum(Number) - Method in class uws.job.parameters.DurationParamController
-
- setMinimum(Number) - Method in class uws.job.parameters.NumericParamController
-
Sets the minimum value of this parameter.
- setMinLogLevel(UWSLog.LogLevel) - Method in class uws.service.log.DefaultUWSLog
-
Set the minimum level that a message must have in order to be logged.
- setName(String) - Method in class uws.service.UWSService
-
Sets the name of this UWS.
- setNoQueue() - Method in class uws.job.manager.QueuedExecutionManager
-
- setOwnerID(String) - Method in class uws.service.file.LocalUWSFileManager.OwnerFileFilter
-
Sets the ID of the user whose the backup file must be returned.
- setPendingPhase(boolean) - Method in class uws.job.JobPhase
-
Changes the current phase to
PENDING
.
- setPhase(ExecutionPhase) - Method in class uws.job.JobPhase
-
Lets changing the current phase of the associated job considering the
order of execution phases.
- setPhase(ExecutionPhase, boolean) - Method in class uws.job.JobPhase
-
Lets changing the current phase of the associated job considering or
not the order of execution phases.
- setPhase(ExecutionPhase) - Method in class uws.job.UWSJob
-
Sets the current phase of this job.
- setPhase(ExecutionPhase, boolean) - Method in class uws.job.UWSJob
-
Sets the current phase of this job, respecting or not the imposed order.
- setPhaseManager(JobPhase) - Method in class uws.job.UWSJob
-
Sets the phase manager of this job.
- setPossibleValues(String[]) - Method in class uws.job.parameters.StringParamController
-
Sets the list of all allowed values.
- setPseudo(String) - Method in class uws.job.user.DefaultJobOwner
-
- setQueuedPhase(boolean) - Method in class uws.job.JobPhase
-
Changes the current phase to
QUEUED
.
- setQuote(long) - Method in class uws.job.UWSJob
-
Sets the quote attribute of this job ONLY IF the job is not yet
finished according to its current status (i.e.
- setRegExp(String) - Method in class uws.job.parameters.StringParamController
-
Sets the Regular Expression that all values of this parameter must match.
- setRunId(String) - Method in class uws.job.UWSJob
-
Sets the RunID of this job ONLY IF the job can updated (considering
its current execution phase, see
JobPhase.isJobUpdatable()
).
- setSize(long) - Method in class uws.job.Result
-
Sets the size (in bytes) of the corresponding result file.
- setStartTime(Date) - Method in class uws.job.UWSJob
-
Sets the time at which the job execution has started.
- setSuspendedPhase(boolean) - Method in class uws.job.JobPhase
-
- setTimeToWaitForEnd(long) - Method in class uws.job.UWSJob
-
Sets the time to wait for the end of the thread after an interruption.
- setTmpDirectory(File) - Method in class uws.service.file.LocalUWSFileManager
-
- setTmpDirectory(File) - Method in interface uws.service.file.UWSFileManager
-
Set the temporary directory to use in this service.
- setUnknownPhase(boolean) - Method in class uws.job.JobPhase
-
Changes the current phase to
UNKNOWN
.
- setUrlInterpreter(UWSUrl) - Method in class uws.service.UWSService
-
Sets the UWS URL interpreter to use in this UWS.
- setUrlInterpreter(UWSUrl) - Method in class uws.service.UWSServlet
-
Sets the UWS URL interpreter to use in this UWS.
- setUserIdentifier(UserIdentifier) - Method in class uws.service.UWSService
-
Sets the object which lets extracting the use ID from a received request.
- setUserIdentifier(UserIdentifier) - Method in class uws.service.UWSServlet
-
Sets the object which lets extracting the use ID from a received request.
- setUWS(UWS) - Method in class uws.job.JobList
-
Sets the UWS which aims to manage this jobs list.
- setUWSAction(int, UWSAction) - Method in class uws.service.UWSService
-
Replaces the specified action by the given action.
- SetUWSParameter - Class in uws.service.actions
-
The UWS action which lets set the phase (RUN or ABORT), the execution duration and the destruction time of a job
with a POST or PUT request on {job-id}/{uws-param}.
- SetUWSParameter(UWSService) - Constructor for class uws.service.actions.SetUWSParameter
-
- setUwsURI(String) - Method in class uws.service.UWSUrl
-
Sets the whole UWS URI (that is to say a URI starting with the jobs list name).
- setValue(String) - Method in class uws.job.jobInfo.SingleValueJobInfo
-
Set the value represented by this
JobInfo
.
- setWaitPolicy(BlockingPolicy) - Method in class uws.service.UWSService
-
Set the strategy to use for the blocking behavior of the
Job Summary action.
- setWaitPolicy(BlockingPolicy) - Method in class uws.service.UWSServlet
-
Set the strategy to use for the blocking behavior of the
Job Summary action.
- setXSLTPath(String) - Method in class uws.job.serializer.XMLSerializer
-
Sets the path/URL of the XSLT style-sheet to use.
- setXsltURL(String) - Method in class uws.service.UWSService
-
Sets the URL of the XSLT style-sheet that the XML serializer of this UWS must use.
- setXsltURL(String) - Method in class uws.service.UWSServlet
-
Sets the URL of the XSLT style-sheet that the XML serializer of this UWS must use.
- ShowHomePage - Class in uws.service.actions
-
The "Show UWS Home Page" action of a UWS.
- ShowHomePage(UWSService) - Constructor for class uws.service.actions.ShowHomePage
-
- SingleInputIterator(InputStream) - Constructor for class uws.service.backup.DefaultUWSBackupManager.SingleInputIterator
-
- SingleValueJobInfo - Class in uws.job.jobInfo
-
Very simple implementation of
JobInfo
.
- SingleValueJobInfo(String) - Constructor for class uws.job.jobInfo.SingleValueJobInfo
-
Build a
JobInfo
representing a single value having the given
name.
- SingleValueJobInfo(String, String) - Constructor for class uws.job.jobInfo.SingleValueJobInfo
-
Build a
JobInfo
representing a single value having the given
name and initial value.
- size() - Method in class uws.job.parameters.UWSParameters
-
Gets the number of all stored parameters.
- size - Variable in class uws.job.Result
-
[Optional] The size of the corresponding result file.
- SIZE_BEFORE_DISK_STORAGE - Static variable in class uws.service.request.MultipartParser
-
Size threshold (in bytes) for an individual file before being stored on
disk.
- SIZE_LIMIT - Static variable in class uws.service.request.MultipartParser
-
- SIZE_LIMIT - Static variable in class uws.service.request.NoEncodingParser
-
Maximum allowed size for an HTTP request content.
- SIZE_LIMIT - Static variable in class uws.service.request.XMLRequestParser
-
Maximum allowed size for an HTTP request content.
- SLF4J_LOGGER - Static variable in class uws.config.UWSConfiguration
-
SLF4J logger value: "slf4j".
- Slf4jUWSLog - Class in uws.service.log
-
This implementation of
UWSLog
forwards all log submission to
SLF4J.
- Slf4jUWSLog() - Constructor for class uws.service.log.Slf4jUWSLog
-
Initialise this logger.
- Slf4jUWSLog(String) - Constructor for class uws.service.log.Slf4jUWSLog
-
Initialise this logger with the specified SLF4J logger.
- SMALL_XML_THRESHOLD - Static variable in class uws.service.request.XMLRequestParser
-
This threshold determines whether an XML request content should be
stored in memory or inside a file.
- sortComp - Variable in class uws.job.serializer.filter.JobListRefiner
-
- STANDARD_ID - Static variable in interface uws.service.UWS
-
IVOA standardID of a UWS service currently generated by this library.
- start() - Method in class uws.job.UWSJob
-
Starts the job by using the execution manager if any.
- start(boolean) - Method in class uws.job.UWSJob
-
Starts the job.
- startJob(UWSJob) - Method in class uws.job.manager.AbstractQueuedExecutionManager
-
Starts immediately the given job.
- startJob(String, String) - Method in class uws.service.UWSUrl
-
Gets the UWS URL (HTTP-GET ONLY) to start the specified job.
- stop() - Method in class uws.job.manager.DefaultDestructionManager
-
- stop() - Method in interface uws.job.manager.DestructionManager
-
Stop watching the destruction of jobs.
- stop() - Method in class uws.job.UWSJob
-
Stops the thread that executes the work of this job.
- stopAll() - Method in class uws.job.manager.AbstractQueuedExecutionManager
-
- stopAll() - Method in class uws.job.manager.DefaultExecutionManager
-
- stopAll() - Method in interface uws.job.manager.ExecutionManager
-
Stop all running jobs.
- stopping - Variable in class uws.job.UWSJob
-
Used by the thread to known whether the
UWSJob.stop()
method has
already been called, and so, that the job is stopping.
- StringParamController - Class in uws.job.parameters
-
Let controlling a String parameter.
- StringParamController(String) - Constructor for class uws.job.parameters.StringParamController
-
Builds a controller of the specified String parameter.
- StringParamController(String, String, String[], boolean) - Constructor for class uws.job.parameters.StringParamController
-
Builds a controller of the specified String parameter and configures it.
- StringParamController(String, String, String, boolean) - Constructor for class uws.job.parameters.StringParamController
-
Builds a controller of the specified String parameter and configures it.