Top Description Fields Constructors Methods
io.undertow.servlet.api

public Class DefaultServletConfig

extends Object
Class Inheritance
Annotations
@Deprecated
Imports
java.util.Arrays, .Collections, .HashSet, .Set

Deprecated

The default servlet config. By default this has quite a restrictive configuration, only allowing extensions in common use in the web to be served. This class is deprecated, the default servlet should be configured via context params.
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final Set<String>
private static final String[]
private static final String[]
private final boolean
private final Set<String>

Constructor Summary

AccessConstructor and Description
public
DefaultServletConfig(final boolean defaultAllowed, final Set<String> exceptions)

public
DefaultServletConfig(final boolean defaultAllowed)

public

Method Summary

Modifier and TypeMethod and Description
public Set<String>
public Set<String>
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

allowedback to summary
private final Set<String> allowed
DEFAULT_ALLOWED_EXTENSIONSback to summary
private static final String[] DEFAULT_ALLOWED_EXTENSIONS
DEFAULT_DISALLOWED_EXTENSIONSback to summary
private static final String[] DEFAULT_DISALLOWED_EXTENSIONS
defaultAllowedback to summary
private final boolean defaultAllowed
disallowedback to summary
private final Set<String> disallowed

Constructor Detail

DefaultServletConfigback to summary
public DefaultServletConfig(final boolean defaultAllowed, final Set<String> exceptions)
DefaultServletConfigback to summary
public DefaultServletConfig(final boolean defaultAllowed)
DefaultServletConfigback to summary
public DefaultServletConfig()

Method Detail

getAllowedback to summary
public Set<String> getAllowed()
getDisallowedback to summary
public Set<String> getDisallowed()
isDefaultAllowedback to summary
public boolean isDefaultAllowed()