@ConfigurationProperties(value="netty.responses.file")
@Deprecated
public class FileTypeHandlerConfiguration
extends java.lang.Object
FileTypeHandler.| Modifier and Type | Class and Description |
|---|---|
static class |
FileTypeHandlerConfiguration.CacheControlConfiguration
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CACHESECONDS
Deprecated.
The default cache seconds.
|
| Constructor and Description |
|---|
FileTypeHandlerConfiguration()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
FileTypeHandlerConfiguration.CacheControlConfiguration |
getCacheControl()
Deprecated.
|
int |
getCacheSeconds()
Deprecated.
|
void |
setCacheControl(FileTypeHandlerConfiguration.CacheControlConfiguration cacheControl)
Deprecated.
Sets the cache control configuration.
|
void |
setCacheSeconds(int cacheSeconds)
Deprecated.
Cache Seconds.
|
public static final int DEFAULT_CACHESECONDS
public int getCacheSeconds()
public void setCacheSeconds(int cacheSeconds)
cacheSeconds - cache secondspublic FileTypeHandlerConfiguration.CacheControlConfiguration getCacheControl()
public void setCacheControl(FileTypeHandlerConfiguration.CacheControlConfiguration cacheControl)
cacheControl - The cache control configuration