Package io.micronaut.acme
Class AcmeConfiguration.AbstractConfiguration
java.lang.Object
io.micronaut.acme.AcmeConfiguration.AbstractConfiguration
- Direct Known Subclasses:
AcmeConfiguration.AuthConfiguration
,AcmeConfiguration.OrderConfiguration
- Enclosing class:
- AcmeConfiguration
Base class for configuration classes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPause()
Gets duration in which we will pause between ordering attempts.int
Gets number of refresh attempts that will be tried while ordering the certificate from the ACME server.void
Sets duration in which we will pause between ordering attempts.void
setRefreshAttempts
(int refreshAttempts) Sets number of refresh attempts that will be tried while ordering the certificate from the ACME server.
-
Constructor Details
-
AbstractConfiguration
public AbstractConfiguration()
-
-
Method Details
-
getPause
Gets duration in which we will pause between ordering attempts.- Returns:
- duration
-
setPause
Sets duration in which we will pause between ordering attempts. Default 3 seconds.- Parameters:
pause
- duration
-
getRefreshAttempts
public int getRefreshAttempts()Gets number of refresh attempts that will be tried while ordering the certificate from the ACME server.- Returns:
- number of refresh attempts
-
setRefreshAttempts
public void setRefreshAttempts(int refreshAttempts) Sets number of refresh attempts that will be tried while ordering the certificate from the ACME server. Default 10.- Parameters:
refreshAttempts
- number of refresh attempts
-