Package rife.config
Class RifeConfig.EngineConfig
java.lang.Object
rife.config.RifeConfig.EngineConfig
- Enclosing class:
- RifeConfig
-
Field Summary
Modifier and TypeFieldDescriptionstatic final long
The default duration is 20 minutes.static final int
The default frequency is every 20 times out of the scale, with the default scale of 1000 this means, 1/50th of the time.static final int
The default purge scale is 1000.static final String
static final String
static final String
static final boolean
static final boolean
static final long
static final boolean
static final boolean
static final Collection<String>
static final boolean
static final boolean
static final String
static final Charset
static final Charset
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
int
int
boolean
boolean
long
boolean
boolean
boolean
boolean
setContinuationDuration
(long duration) setContinuationPurgeFrequency
(int frequency) setContinuationPurgeScale
(int frequency) setDefaultContentType
(String type) setFileUploadPath
(String path) setFileUploadSizeCheck
(boolean flag) setFileUploadSizeException
(boolean flag) setFileUploadSizeLimit
(long limit) setGlobalNoCacheHeaders
(boolean flag) setGzipCompression
(boolean flag) setGzipCompressionTypes
(Collection<String> types) setLogEngineExceptions
(boolean flag) setPassThroughSuffixes
(Set<String> suffixes) setPrettyEngineExceptions
(boolean flag) setProxyRootUrl
(String url) setRequestEncoding
(Charset encoding) setResponseEncoding
(Charset encoding) setWebappContextPath
(String path)
-
Field Details
-
DEFAULT_CONTINUATION_DURATION
public static final long DEFAULT_CONTINUATION_DURATIONThe default duration is 20 minutes.- Since:
- 1.0
- See Also:
-
DEFAULT_CONTINUATION_PURGE_FREQUENCY
public static final int DEFAULT_CONTINUATION_PURGE_FREQUENCYThe default frequency is every 20 times out of the scale, with the default scale of 1000 this means, 1/50th of the time.- Since:
- 1.0
- See Also:
-
DEFAULT_CONTINUATION_PURGE_SCALE
public static final int DEFAULT_CONTINUATION_PURGE_SCALEThe default purge scale is 1000.- Since:
- 1.0
- See Also:
-
DEFAULT_DEFAULT_CONTENT_TYPE
- See Also:
-
DEFAULT_PRETTY_ENGINE_EXCEPTIONS
public static final boolean DEFAULT_PRETTY_ENGINE_EXCEPTIONS- See Also:
-
DEFAULT_LOG_ENGINE_EXCEPTIONS
public static final boolean DEFAULT_LOG_ENGINE_EXCEPTIONS- See Also:
-
DEFAULT_FILE_UPLOAD_PATH
-
DEFAULT_FILE_UPLOAD_RIFE_FOLDER
- See Also:
-
DEFAULT_FILE_UPLOAD_SIZE_LIMIT
public static final long DEFAULT_FILE_UPLOAD_SIZE_LIMIT- See Also:
-
DEFAULT_FILE_UPLOAD_SIZE_CHECK
public static final boolean DEFAULT_FILE_UPLOAD_SIZE_CHECK- See Also:
-
DEFAULT_FILE_UPLOAD_SIZE_EXCEPTION
public static final boolean DEFAULT_FILE_UPLOAD_SIZE_EXCEPTION- See Also:
-
DEFAULT_GLOBAL_NO_CACHE_HEADERS
public static final boolean DEFAULT_GLOBAL_NO_CACHE_HEADERS- See Also:
-
DEFAULT_GZIP_COMPRESSION
public static final boolean DEFAULT_GZIP_COMPRESSION- See Also:
-
DEFAULT_GZIP_COMPRESSION_TYPES
-
DEFAULT_PROXY_ROOT_URL
-
DEFAULT_WEBAPP_CONTEXT_PATH
-
DEFAULT_PASS_THROUGH_SUFFIXES
-
DEFAULT_REQUEST_ENCODING
-
DEFAULT_RESPONSE_ENCODING
-
-
Constructor Details
-
EngineConfig
public EngineConfig()
-
-
Method Details
-
getDefaultContentType
-
setDefaultContentType
-
getPrettyEngineExceptions
public boolean getPrettyEngineExceptions() -
setPrettyEngineExceptions
-
getLogEngineExceptions
public boolean getLogEngineExceptions() -
setLogEngineExceptions
-
getFileUploadPath
-
setFileUploadPath
-
getFileUploadSizeLimit
public long getFileUploadSizeLimit() -
setFileUploadSizeLimit
-
getFileUploadSizeCheck
public boolean getFileUploadSizeCheck() -
setFileUploadSizeCheck
-
getFileUploadSizeException
public boolean getFileUploadSizeException() -
setFileUploadSizeException
-
getContinuationDuration
public long getContinuationDuration() -
setContinuationDuration
-
getContinuationPurgeFrequency
public int getContinuationPurgeFrequency() -
setContinuationPurgeFrequency
-
getContinuationPurgeScale
public int getContinuationPurgeScale() -
setContinuationPurgeScale
-
getGlobalNoCacheHeaders
public boolean getGlobalNoCacheHeaders() -
setGlobalNoCacheHeaders
-
getGzipCompression
public boolean getGzipCompression() -
setGzipCompression
-
getGzipCompressionTypes
-
setGzipCompressionTypes
-
getProxyRootUrl
-
setProxyRootUrl
-
getWebappContextPath
-
setWebappContextPath
-
getPassThroughSuffixes
-
setPassThroughSuffixes
-
getRequestEncoding
-
setRequestEncoding
-
getResponseEncoding
-
setResponseEncoding
-