Package | Description |
---|---|
com.github.wuic |
This package is the most general package of the WUIC library.
|
com.github.wuic.context |
This package provides the central
Context component which is the lowest configuration
object in WUIC. |
com.github.wuic.engine |
This package contains the definition of an
Engine . |
com.github.wuic.nut |
This package defines what is a nut in WUIC and how to manage it.
|
com.github.wuic.nut.dao |
Package where
nuts associated service are defined. |
com.github.wuic.nut.dao.core |
Package where
NutDao implementations are defined for core module. |
com.github.wuic.nut.dao.servlet |
This package defines the DAO support for servlet container.
|
com.github.wuic.util |
Utility package where helper methods are defined.
|
Modifier and Type | Method and Description |
---|---|
WuicFacadeBuilder.ContextBuilderFacade.ContextNutDaoBuilderFacade |
WuicFacadeBuilder.ContextBuilderFacade.ContextNutDaoBuilderFacade.proxyPathForNut(String path,
Nut nut)
Specifies a path to proxy to a nut.
|
Modifier and Type | Method and Description |
---|---|
ContextBuilder.ContextNutDaoBuilder |
ContextBuilder.ContextNutDaoBuilder.proxyPathForNut(String path,
Nut nut)
Specifies a path to proxy to a nut.
|
Modifier and Type | Method and Description |
---|---|
Nut |
LineInspector.ReplacementInfo.getReferencer()
Gets the referencer.
|
Modifier and Type | Method and Description |
---|---|
static void |
LineInspector.fallbackToVersionNumberInQueryString(StringBuilder sb,
String referencedPath,
Nut originalNut)
When the nut resolution fails (no nut found), the path is keep in the source file.
|
boolean |
EngineRequest.isExcludedFromSpriteComputation(Nut nut)
Indicates if the given nut should be excluded from any sprite computation.
|
LineInspector.ReplacementInfo |
LineInspector.replacementInfo(int startIndex,
int endIndex,
Nut referencer,
List<? extends ConvertibleNut> convertibleNuts)
Builds a new
LineInspector.ReplacementInfo . |
Modifier and Type | Method and Description |
---|---|
EngineRequestBuilder |
EngineRequestBuilder.nuts(List<? extends Nut> n)
Sets the nuts.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConvertibleNut
A convertible nut has a content which can be transformed with a chain of
transformers . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConvertibleNut
Base class for
ConvertibleNut implementation with state management (attributes like transformers or referenced
nuts). |
class |
AbstractNut
Base implementation of the
Nut interface. |
class |
ByteArrayNut
Represents an in-memory nut which can be created on the fly in any context.
|
class |
CompositeNut
A composite
Nut is able to chain all the stream provided by each element of the composition. |
class |
FilePathNut
Represents a nut on the path system provided or to be managed by the WUIC framework.
|
class |
HttpNut
A
Nut implementation for HTTP accesses. |
class |
ImageNut
This class wraps a
Nut that corresponds to an image and provide its position inside a combination. |
class |
NotReachableNut
This class represents a nut that is not reachable.
|
class |
NutWrapper
|
class |
PipedConvertibleNut
This
ConvertibleNut pipes transformers with the Pipe class. |
class |
PrefixedNut
This class wraps a
Nut that should be named with a particular prefix. |
class |
TransformedNut
A transformed nut wraps a
ConvertibleNut and considers its input stream as the result of the transformation. |
Modifier and Type | Method and Description |
---|---|
protected abstract Nut |
AbstractNutDao.accessFor(String realPath,
NutType type,
ProcessContext processContext)
Creates an access for the given parameters through a
Nut implementation. |
Modifier and Type | Method and Description |
---|---|
List<Nut> |
NutsHeap.create(Nut nut,
String path,
NutDao.PathFormat pathFormat,
ProcessContext processContext)
Delegates method of
NutDao.create(String, com.github.wuic.nut.dao.NutDao.PathFormat, com.github.wuic.ProcessContext)
The DAO is picked from heap or its composition. |
List<Nut> |
AbstractNutDao.create(String pathName,
NutDao.PathFormat format,
ProcessContext processContext)
Creates a list of
nuts thanks to the given path. |
List<Nut> |
AbstractNutDao.WithRootPathNutDao.create(String path,
NutDao.PathFormat format,
ProcessContext processContext)
Creates a list of
nuts thanks to the given path. |
List<Nut> |
AbstractNutDao.create(String path,
ProcessContext processContext)
Creates a list of
nuts thanks to the given path considered as represented in any format. |
List<Nut> |
AbstractNutDao.WithRootPathNutDao.create(String path,
ProcessContext processContext)
Creates a list of
nuts thanks to the given path considered as represented in any format. |
List<Nut> |
NutsHeap.getNuts()
Gets all the nuts of this heap.
|
Modifier and Type | Method and Description |
---|---|
List<Nut> |
NutsHeap.create(Nut nut,
String path,
NutDao.PathFormat pathFormat,
ProcessContext processContext)
Delegates method of
NutDao.create(String, com.github.wuic.nut.dao.NutDao.PathFormat, com.github.wuic.ProcessContext)
The DAO is picked from heap or its composition. |
NutDao |
NutsHeap.findDaoFor(Nut nut)
Finds the
NutDao that created this nut. |
NutsHeap |
NutsHeap.findHeapFor(Nut nut)
Finds the
NutsHeap that created this nut. |
Boolean |
NutsHeap.hasCreated(Nut nut)
|
String |
NutsHeap.proxyUriFor(Nut nut)
Delegates method of
NutDao.proxyUriFor(Nut) . |
String |
AbstractNutDao.proxyUriFor(Nut nut)
Returns an URI in a
String representation of a proxy serving the given nut. |
String |
AbstractNutDao.WithRootPathNutDao.proxyUriFor(Nut nut)
Returns an URI in a
String representation of a proxy serving the given nut. |
void |
AbstractNutDao.save(Nut nut)
Saves the give nut.
|
void |
AbstractNutDao.WithRootPathNutDao.save(Nut nut)
Saves the give nut.
|
void |
NutsHeap.setNutDao(NutDao dao,
Nut nut)
|
NutDao |
NutsHeap.withRootPath(String rootPath,
Nut nut)
Delegates method of
NutDao.withRootPath(String) . |
Constructor and Description |
---|
AbstractConvertibleNut(Nut o)
Builds a new instance.
|
AbstractNut(Nut o)
Creates a new instance by copying the given
Nut . |
PipedConvertibleNut(Nut o)
Builds a new instance.
|
Modifier and Type | Method and Description |
---|---|
List<Nut> |
NutDao.create(String path,
NutDao.PathFormat format,
ProcessContext processContext)
Creates a list of
nuts thanks to the given path. |
List<Nut> |
NutDao.create(String path,
ProcessContext processContext)
Creates a list of
nuts thanks to the given path considered as represented in any format. |
Modifier and Type | Method and Description |
---|---|
String |
NutDao.proxyUriFor(Nut nut)
Returns an URI in a
String representation of a proxy serving the given nut. |
void |
NutDao.save(Nut nut)
Saves the give nut.
|
Modifier and Type | Method and Description |
---|---|
Nut |
PathNutDao.accessFor(String realPath,
NutType type,
ProcessContext processContext)
Creates an access for the given parameters through a
Nut implementation. |
Nut |
HttpNutDao.accessFor(String realPath,
NutType type,
ProcessContext processContext)
Creates an access for the given parameters through a
Nut implementation. |
Modifier and Type | Method and Description |
---|---|
List<Nut> |
ProxyNutDao.create(String path,
NutDao.PathFormat format,
ProcessContext processContext)
Creates a list of
nuts thanks to the given path. |
List<Nut> |
ProxyNutDao.create(String path,
ProcessContext processContext)
Creates a list of
nuts thanks to the given path considered as represented in any format. |
Modifier and Type | Method and Description |
---|---|
void |
ProxyNutDao.addRule(String path,
Nut nut)
Adds a mapping between a path and a nut.
|
String |
ProxyNutDao.proxyUriFor(Nut nut)
Returns an URI in a
String representation of a proxy serving the given nut. |
void |
ProxyNutDao.save(Nut nut)
Saves the give nut.
|
void |
PathNutDao.save(Nut nut)
Saves the give nut.
|
Modifier and Type | Class and Description |
---|---|
class |
WebappNut
Represents a nut on the path system provided or to be managed by the WUIC framework.
|
Modifier and Type | Method and Description |
---|---|
protected Nut |
RequestDispatcherNutDao.accessFor(String realPath,
NutType type,
ProcessContext processContext)
Creates an access for the given parameters through a
Nut implementation. |
Modifier and Type | Method and Description |
---|---|
static Long |
NutUtils.getVersionNumber(Nut nut)
Gets the version number from the given nut.
|
Modifier and Type | Method and Description |
---|---|
static Long |
NutUtils.getVersionNumber(List<? extends Nut> nuts)
Computes the version number based on version number retrieved from given nuts.
|
Copyright © 2012-2015. All Rights Reserved.