| Modifier and Type | Method and Description
|
|---|
| public static ServletContainer | Returns: The default servlet container defaultContainer()Returns the default servlet container.
|
| public static DeploymentInfo | Returns: A new deployment info structure deployment()Creates a new servlet deployment info structure
|
| public static ErrorPage | Returns: The error page definition errorPage(String The location to redirect to location, Class<? extends Throwable> The exception type exceptionType)Create an ErrorPage instance for a given exception type
|
| public static ErrorPage | Returns: The error page definition errorPage(String The location to redirect to location, int The status code statusCode)Create an ErrorPage instance for a given response code
|
| public static ErrorPage | Returns: The error page instance errorPage(String The error page location location)Create an ErrorPage that corresponds to the default error page
|
| public static FilterInfo | Returns: A new filter description filter(final Class<? extends Filter> The filter class filterClass)Creates a new filter description with the given class.
|
| public static FilterInfo | Returns: A new filter description filter(final String The filter name name, final Class<? extends Filter> The filter class filterClass)Creates a new filter description with the given name and class
|
| public static FilterInfo | Returns: A new filter description filter(final String The filter name name, final Class<? extends Filter> The filter class filterClass, final InstanceFactory<? extends Filter> filter)Creates a new filter description with the given name and class
|
| public static ListenerInfo |
|
| public static ListenerInfo |
|
| public static LoginConfig |
|
| public static LoginConfig |
|
| public static LoginConfig |
|
| public static LoginConfig |
|
| public static MultipartConfigElement | multipartConfig(String the directory location where files will be stored location, long the maximum size allowed for uploaded files maxFileSize, long the maximum size allowed for
multipart/form-data requests maxRequestSize, int the size threshold after which files will
be written to disk fileSizeThreshold)Creates a new multipart config element
|
| public static ServletContainer | Returns: A new servlet container newContainer()Creates a new servlet container.
|
| public static SecurityConstraint |
|
| public static ServletInfo | Returns: A new servlet description servlet(final Class<? extends Servlet> The servlet class servletClass)Creates a new servlet description with the given class.
|
| public static ServletInfo | Returns: A new servlet description servlet(final String The servlet name name, final Class<? extends Servlet> The servlet class servletClass)Creates a new servlet description with the given name and class
|
| public static ServletInfo | Returns: A new servlet description servlet(final String The servlet name name, final Class<? extends Servlet> The servlet class servletClass, final InstanceFactory<? extends Servlet> servlet)Creates a new servlet description with the given name and class
|
| public static WebResourceCollection |
|