org.wildfly.swarm.undertow

## Interface StaticContentContainer<T extends <any>>

- All Known Subinterfaces:
    JAXRSArchive, WARArchive

      public interface StaticContentContainer<T extends <any>>

  Archive mix-in supporting static content serving for .war files.
  Author:
    Bob McWhirter

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `EXTERNAL_MOUNT_PATH`
    `static Logger` | `log`

  - ### Method Summary

    All Methods Instance Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default T` | `mergeIgnoringDuplicates(<any> source, String base, <any> filter)`
    `default T` | `staticContent()` Enable static content to be served from the root of the classpath.
    `default T` | `staticContent(String base)` Enable static content to be served from a given base in the classpath.

- - ### Field Detail

    - #### log

          static final Logger log

    - #### EXTERNAL_MOUNT_PATH

          static final String EXTERNAL_MOUNT_PATH

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### staticContent

          default T staticContent()

      Enable static content to be served from the root of the classpath.
      Returns:
        This archive.

    - #### staticContent

          default T staticContent(String base)

      Enable static content to be served from a given base in the classpath.
      Parameters:
        `base` - The path prefix to use for static content.
      Returns:

    - #### mergeIgnoringDuplicates

          default T mergeIgnoringDuplicates(<any> source,
                                            String base,
                                            <any> filter)

Copyright © 2017 JBoss by Red Hat. All rights reserved.