public class ServletContainer<T extends ServletContainer> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ServletContainer.ServletContainerResources
Child mutators for ServletContainer
|
| Constructor and Description |
|---|
ServletContainer(String key) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowNonStandardWrappers()
If true then request and response wrappers that do not extend the standard wrapper classes can be used
|
T |
allowNonStandardWrappers(Boolean value)
If true then request and response wrappers that do not extend the standard wrapper classes can be used
|
String |
defaultBufferCache()
The buffer cache to use for caching static resources
|
T |
defaultBufferCache(String value)
The buffer cache to use for caching static resources
|
String |
defaultEncoding()
Default encoding to use for all deployed applications
|
T |
defaultEncoding(String value)
Default encoding to use for all deployed applications
|
Integer |
defaultSessionTimeout()
The default session timeout (in minutes) for all applications deployed in the container.
|
T |
defaultSessionTimeout(Integer value)
The default session timeout (in minutes) for all applications deployed in the container.
|
Boolean |
directoryListing()
If directory listing should be enabled for default servlets.
|
T |
directoryListing(Boolean value)
If directory listing should be enabled for default servlets.
|
Boolean |
disableCachingForSecuredPages()
If Undertow should set headers to disable caching for secured paged.
|
T |
disableCachingForSecuredPages(Boolean value)
If Undertow should set headers to disable caching for secured paged.
|
Boolean |
eagerFilterInitialization()
If true undertow calls filter init() on deployment start rather than when first requested.
|
T |
eagerFilterInitialization(Boolean value)
If true undertow calls filter init() on deployment start rather than when first requested.
|
String |
getKey() |
Boolean |
ignoreFlush()
Ignore flushes on the servlet output stream.
|
T |
ignoreFlush(Boolean value)
Ignore flushes on the servlet output stream.
|
T |
mimeMapping(MimeMapping value)
Add the MimeMapping object to the list of subresources
|
T |
mimeMappings(List<MimeMapping> value)
Add all MimeMapping objects to this subresource
|
Boolean |
proactiveAuthentication()
If proactive authentication should be used.
|
T |
proactiveAuthentication(Boolean value)
If proactive authentication should be used.
|
Integer |
sessionIdLength()
The length of the generated session ID.
|
T |
sessionIdLength(Integer value)
The length of the generated session ID.
|
SettingJsp |
settingJsp()
JSP container configuration.
|
T |
settingJsp(SettingJsp value)
JSP container configuration.
|
SettingPersistentSessions |
settingPersistentSessions()
Session persistence sessions
|
T |
settingPersistentSessions(SettingPersistentSessions value)
Session persistence sessions
|
SettingSessionCookie |
settingSessionCookie()
Session cookie configuration
|
T |
settingSessionCookie(SettingSessionCookie value)
Session cookie configuration
|
SettingWebsockets |
settingWebsockets()
If websockets are enabled for this container
|
T |
settingWebsockets(SettingWebsockets value)
If websockets are enabled for this container
|
String |
stackTraceOnError()
If an error page with the stack trace should be generated on error.
|
T |
stackTraceOnError(String value)
If an error page with the stack trace should be generated on error.
|
ServletContainer.ServletContainerResources |
subresources() |
Boolean |
useListenerEncoding()
Use encoding defined on listener
|
T |
useListenerEncoding(Boolean value)
Use encoding defined on listener
|
T |
welcomeFile(WelcomeFile value)
Add the WelcomeFile object to the list of subresources
|
T |
welcomeFiles(List<WelcomeFile> value)
Add all WelcomeFile objects to this subresource
|
public ServletContainer(String key)
public String getKey()
public Boolean allowNonStandardWrappers()
public T allowNonStandardWrappers(Boolean value)
public String defaultBufferCache()
public T defaultBufferCache(String value)
public String defaultEncoding()
public T defaultEncoding(String value)
public Integer defaultSessionTimeout()
public T defaultSessionTimeout(Integer value)
public Boolean directoryListing()
public T directoryListing(Boolean value)
public Boolean disableCachingForSecuredPages()
public T disableCachingForSecuredPages(Boolean value)
public Boolean eagerFilterInitialization()
public T eagerFilterInitialization(Boolean value)
public Boolean ignoreFlush()
public T ignoreFlush(Boolean value)
public Boolean proactiveAuthentication()
public T proactiveAuthentication(Boolean value)
public Integer sessionIdLength()
public T sessionIdLength(Integer value)
public String stackTraceOnError()
public T stackTraceOnError(String value)
public Boolean useListenerEncoding()
public ServletContainer.ServletContainerResources subresources()
public T mimeMappings(List<MimeMapping> value)
value - List of MimeMapping objects.public T mimeMapping(MimeMapping value)
value - The MimeMapping to addpublic T welcomeFiles(List<WelcomeFile> value)
value - List of WelcomeFile objects.public T welcomeFile(WelcomeFile value)
value - The WelcomeFile to addpublic SettingPersistentSessions settingPersistentSessions()
public T settingPersistentSessions(SettingPersistentSessions value)
public SettingJsp settingJsp()
public T settingJsp(SettingJsp value)
public SettingWebsockets settingWebsockets()
public T settingWebsockets(SettingWebsockets value)
public SettingSessionCookie settingSessionCookie()
public T settingSessionCookie(SettingSessionCookie value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.