public class 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
|
ServletContainer |
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
|
ServletContainer |
defaultBufferCache(String value)
The buffer cache to use for caching static resources
|
String |
defaultEncoding()
Default encoding to use for all deployed applications
|
ServletContainer |
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.
|
ServletContainer |
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.
|
ServletContainer |
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.
|
ServletContainer |
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.
|
ServletContainer |
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.
|
ServletContainer |
ignoreFlush(Boolean value)
Ignore flushes on the servlet output stream.
|
JspSetting |
jspSetting()
JSP container configuration.
|
ServletContainer |
jspSetting(JspSetting value)
JSP container configuration.
|
Integer |
maxSessions()
The maximum number of sessions that can be active at one time
|
ServletContainer |
maxSessions(Integer value)
The maximum number of sessions that can be active at one time
|
ServletContainer |
mimeMapping(MimeMapping value)
Add the org.wildfly.swarm.config.undertow.servlet_container.MimeMapping object to the list of subresources
|
ServletContainer |
mimeMappings(List<MimeMapping> value)
Add all org.wildfly.swarm.config.undertow.servlet_container.MimeMapping objects to this subresource
|
PersistentSessionsSetting |
persistentSessionsSetting()
Session persistence sessions
|
ServletContainer |
persistentSessionsSetting(PersistentSessionsSetting value)
Session persistence sessions
|
Boolean |
proactiveAuthentication()
If proactive authentication should be used.
|
ServletContainer |
proactiveAuthentication(Boolean value)
If proactive authentication should be used.
|
SessionCookieSetting |
sessionCookieSetting()
Session cookie configuration
|
ServletContainer |
sessionCookieSetting(SessionCookieSetting value)
Session cookie configuration
|
Integer |
sessionIdLength()
The length of the generated session ID.
|
ServletContainer |
sessionIdLength(Integer value)
The length of the generated session ID.
|
String |
stackTraceOnError()
If an error page with the stack trace should be generated on error.
|
ServletContainer |
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
|
ServletContainer |
useListenerEncoding(Boolean value)
Use encoding defined on listener
|
WebsocketsSetting |
websocketsSetting()
If websockets are enabled for this container
|
ServletContainer |
websocketsSetting(WebsocketsSetting value)
If websockets are enabled for this container
|
ServletContainer |
welcomeFile(WelcomeFile value)
Add the org.wildfly.swarm.config.undertow.servlet_container.WelcomeFile object to the list of subresources
|
ServletContainer |
welcomeFiles(List<WelcomeFile> value)
Add all org.wildfly.swarm.config.undertow.servlet_container.WelcomeFile objects to this subresource
|
public ServletContainer(String key)
public String getKey()
public Boolean allowNonStandardWrappers()
public ServletContainer allowNonStandardWrappers(Boolean value)
public String defaultBufferCache()
public ServletContainer defaultBufferCache(String value)
public String defaultEncoding()
public ServletContainer defaultEncoding(String value)
public Integer defaultSessionTimeout()
public ServletContainer defaultSessionTimeout(Integer value)
public Boolean directoryListing()
public ServletContainer directoryListing(Boolean value)
public Boolean disableCachingForSecuredPages()
public ServletContainer disableCachingForSecuredPages(Boolean value)
public Boolean eagerFilterInitialization()
public ServletContainer eagerFilterInitialization(Boolean value)
public Boolean ignoreFlush()
public ServletContainer ignoreFlush(Boolean value)
public Integer maxSessions()
public ServletContainer maxSessions(Integer value)
public Boolean proactiveAuthentication()
public ServletContainer proactiveAuthentication(Boolean value)
public Integer sessionIdLength()
public ServletContainer sessionIdLength(Integer value)
public String stackTraceOnError()
public ServletContainer stackTraceOnError(String value)
public Boolean useListenerEncoding()
public ServletContainer useListenerEncoding(Boolean value)
public ServletContainer.ServletContainerResources subresources()
public ServletContainer mimeMappings(List<MimeMapping> value)
value - List of org.wildfly.swarm.config.undertow.servlet_container.MimeMapping objects.public ServletContainer mimeMapping(MimeMapping value)
value - The org.wildfly.swarm.config.undertow.servlet_container.MimeMapping to addpublic ServletContainer welcomeFiles(List<WelcomeFile> value)
value - List of org.wildfly.swarm.config.undertow.servlet_container.WelcomeFile objects.public ServletContainer welcomeFile(WelcomeFile value)
value - The org.wildfly.swarm.config.undertow.servlet_container.WelcomeFile to addpublic PersistentSessionsSetting persistentSessionsSetting()
public ServletContainer persistentSessionsSetting(PersistentSessionsSetting value)
public JspSetting jspSetting()
public ServletContainer jspSetting(JspSetting value)
public WebsocketsSetting websocketsSetting()
public ServletContainer websocketsSetting(WebsocketsSetting value)
public SessionCookieSetting sessionCookieSetting()
public ServletContainer sessionCookieSetting(SessionCookieSetting value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.