类 ServerProperties.Jetty.Accesslog
- java.lang.Object
- org.springframework.boot.autoconfigure.web.ServerProperties.Jetty.Accesslog
public static class ServerProperties.Jetty.Accesslog extends Object
Jetty access log properties.
构造器概要
构造器 构造器 说明 Accesslog()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetDateFormat()StringgetFileDateFormat()StringgetFilename()LocalegetLocale()intgetRetentionPeriod()TimeZonegetTimeZone()booleanisAppend()booleanisEnabled()booleanisExtendedFormat()booleanisLogCookies()booleanisLogLatency()booleanisLogServer()voidsetAppend(boolean append)voidsetDateFormat(String dateFormat)voidsetEnabled(boolean enabled)voidsetExtendedFormat(boolean extendedFormat)voidsetFileDateFormat(String fileDateFormat)voidsetFilename(String filename)voidsetLocale(Locale locale)voidsetLogCookies(boolean logCookies)voidsetLogLatency(boolean logLatency)voidsetLogServer(boolean logServer)voidsetRetentionPeriod(int retentionPeriod)voidsetTimeZone(TimeZone timeZone)
构造器详细资料
Accesslog
public Accesslog()
方法详细资料
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
getFilename
public String getFilename()
setFilename
public void setFilename(String filename)
getFileDateFormat
public String getFileDateFormat()
setFileDateFormat
public void setFileDateFormat(String fileDateFormat)
getRetentionPeriod
public int getRetentionPeriod()
setRetentionPeriod
public void setRetentionPeriod(int retentionPeriod)
isAppend
public boolean isAppend()
setAppend
public void setAppend(boolean append)
isExtendedFormat
public boolean isExtendedFormat()
setExtendedFormat
public void setExtendedFormat(boolean extendedFormat)
getDateFormat
public String getDateFormat()
setDateFormat
public void setDateFormat(String dateFormat)
getTimeZone
public TimeZone getTimeZone()
setTimeZone
public void setTimeZone(TimeZone timeZone)
isLogCookies
public boolean isLogCookies()
setLogCookies
public void setLogCookies(boolean logCookies)
isLogServer
public boolean isLogServer()
setLogServer
public void setLogServer(boolean logServer)
isLogLatency
public boolean isLogLatency()
setLogLatency
public void setLogLatency(boolean logLatency)