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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetPause()Gets duration in which we will pause between ordering attempts.intGets number of refresh attempts that will be tried while ordering the certificate from the ACME server.voidSets duration in which we will pause between ordering attempts.voidsetRefreshAttempts(int refreshAttempts) Sets number of refresh attempts that will be tried while ordering the certificate from the ACME server.
- 
Constructor Details- 
AbstractConfigurationpublic AbstractConfiguration()
 
- 
- 
Method Details- 
getPauseGets duration in which we will pause between ordering attempts.- Returns:
- duration
 
- 
setPauseSets duration in which we will pause between ordering attempts. Default 3 seconds.- Parameters:
- pause- duration
 
- 
getRefreshAttemptspublic int getRefreshAttempts()Gets number of refresh attempts that will be tried while ordering the certificate from the ACME server.- Returns:
- number of refresh attempts
 
- 
setRefreshAttemptspublic 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
 
 
-