public interface StaticContentContainer<T extends org.jboss.shrinkwrap.api.Archive<T>>
extends org.jboss.shrinkwrap.api.Archive<T>
| Modifier and Type | Field and Description |
|---|---|
static String |
EXTERNAL_MOUNT_PATH |
static Logger |
log |
| Modifier and Type | Method and Description |
|---|---|
default T |
mergeIgnoringDuplicates(org.jboss.shrinkwrap.api.Archive<?> source,
String base,
org.jboss.shrinkwrap.api.Filter<org.jboss.shrinkwrap.api.ArchivePath> 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.
|
add, add, add, add, add, add, add, addAsDirectories, addAsDirectories, addAsDirectory, addAsDirectory, addHandlers, contains, contains, delete, delete, filter, get, get, getAsType, getAsType, getAsType, getAsType, getAsType, getAsType, getContent, getContent, getId, getName, merge, merge, merge, merge, merge, merge, move, move, shallowCopy, shallowCopy, toString, toString, toString, writeTostatic final Logger log
static final String EXTERNAL_MOUNT_PATH
default T staticContent()
default T staticContent(String base)
base - The path prefix to use for static content.Copyright © 2017 JBoss by Red Hat. All rights reserved.