Package io.dropwizard.core.sslreload
Class SslReloadTask
- java.lang.Object
-
- io.dropwizard.servlets.tasks.Task
-
- io.dropwizard.core.sslreload.SslReloadTask
-
public class SslReloadTask extends Task
A task that will refresh all ssl factories with up to date certificate information
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSslReloadTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(Map<String,List<String>> parameters, PrintWriter output)Executes the task.Collection<SslReload>getReloaders()voidsetReloaders(Collection<SslReload> reloader)-
Methods inherited from class io.dropwizard.servlets.tasks.Task
getName, getResponseContentType
-
-
-
-
Method Detail
-
execute
public void execute(Map<String,List<String>> parameters, PrintWriter output) throws Exception
Description copied from class:TaskExecutes the task.- Specified by:
executein classTask- Parameters:
parameters- the query string parametersoutput- aPrintWriterwrapping the output stream of the task- Throws:
Exception- if something goes wrong
-
getReloaders
public Collection<SslReload> getReloaders()
-
setReloaders
public void setReloaders(Collection<SslReload> reloader)
-
-