Class FileTypeHandlerConfiguration.CacheControlConfiguration
- java.lang.Object
-
- io.micronaut.http.server.netty.types.files.FileTypeHandlerConfiguration.CacheControlConfiguration
-
- Enclosing class:
- FileTypeHandlerConfiguration
@ConfigurationProperties("cache-control") @Deprecated public static class FileTypeHandlerConfiguration.CacheControlConfiguration extends java.lang.ObjectDeprecated.Configuration for the Cache-Control header.
-
-
Constructor Summary
Constructors Constructor Description CacheControlConfiguration()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleangetPublic()Deprecated.voidsetPublic(boolean publicCache)Deprecated.Sets whether the cache control is public.
-
-
-
Method Detail
-
setPublic
public void setPublic(boolean publicCache)
Deprecated.Sets whether the cache control is public. Default value (false)- Parameters:
publicCache- Public cache value
-
getPublic
@NonNull public boolean getPublic()
Deprecated.- Returns:
- True if the cache control should be public
-
-