With Spring Boot 2 and its experimental native support I used to have @NativeHint(options = "--enable-https")
at the top of my application's "main" class to tell it to enable https support in the GraalVM image.
It seems in Spring Boot 3/Spring 6 that annotation has been removed and I can not figure out how to achieve the same behavior. I've looked through https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html and haven't found anything in there either.
I tried creating a RuntimeHintsRegistrar
bean, but the RuntimeHints
class doesn't seem to have anything in there that seems appropriate.