Package | Description |
---|---|
com.github.wuic |
This package is the most general package of the WUIC library.
|
com.github.wuic.engine |
This package contains the definition of an
Engine . |
com.github.wuic.engine.core | |
com.github.wuic.nut |
This package defines what is a nut in WUIC and how to manage it.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static NutType |
NutType.getNutType(String path)
Computes the
NutType for the given path. |
static NutType |
NutType.getNutTypeForExtension(String ext)
Returns the
NutType which the given extension belongs to. |
static NutType |
NutType.getNutTypeForMimeType(String mimeType)
Returns the
NutType which the given mime type belongs to. |
static NutType |
NutType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NutType[] |
NutType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Map<NutType,? extends NodeEngine> |
WorkflowTemplate.getChains()
Gets the chains.
|
Constructor and Description |
---|
Workflow(HeadEngine head,
Map<NutType,? extends NodeEngine> c,
NutsHeap h,
NutDao... store)
Creates a new instance.
|
WorkflowTemplate(HeadEngine h,
Map<NutType,? extends NodeEngine> c,
NutDao... store)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
abstract List<NutType> |
NodeEngine.getNutTypes()
Gets the all
types supported by this engine. |
Modifier and Type | Method and Description |
---|---|
EngineRequestBuilder |
EngineRequestBuilder.chain(NutType nutType,
NodeEngine nodeEngine)
|
NodeEngine |
EngineRequestBuilder.getChainFor(NutType nutType)
Gets the chains which can treat nuts of the given
NutType . |
NodeEngine |
EngineRequest.getChainFor(NutType nutType)
Gets the chains which can treat nuts of the given
NutType . |
Modifier and Type | Method and Description |
---|---|
EngineRequestBuilder |
EngineRequestBuilder.chains(Map<NutType,? extends NodeEngine> c)
|
Modifier and Type | Method and Description |
---|---|
protected abstract NutType |
AbstractConverterEngine.targetNutType()
Returns the
NutType corresponding to the converted nut. |
Modifier and Type | Method and Description |
---|---|
List<NutType> |
TextAggregatorEngine.getNutTypes()
Gets the all
types supported by this engine. |
List<NutType> |
StaticEngine.getNutTypes()
Gets the all
types supported by this engine. |
List<NutType> |
SpriteInspectorEngine.getNutTypes()
Gets the all
types supported by this engine. |
List<NutType> |
JavascriptInspectorEngine.getNutTypes()
Gets the all
types supported by this engine. |
List<NutType> |
ImageCompressorEngine.getNutTypes()
Gets the all
types supported by this engine. |
List<NutType> |
ImageAggregatorEngine.getNutTypes()
Gets the all
types supported by this engine. |
List<NutType> |
HtmlInspectorEngine.getNutTypes()
Gets the all
types supported by this engine. |
List<NutType> |
GzipEngine.getNutTypes()
Gets the all
types supported by this engine. |
List<NutType> |
CssInspectorEngine.getNutTypes()
Gets the all
types supported by this engine. |
Modifier and Type | Method and Description |
---|---|
static String |
AbstractAggregatorEngine.aggregationName(NutType nutType)
Computes the name of an aggregated set of nuts for a given type.
|
Modifier and Type | Method and Description |
---|---|
NutType |
Nut.getInitialNutType()
Returns the path type of this nut.
|
NutType |
AbstractNut.getInitialNutType()
Returns the path type of this nut.
|
NutType |
NutWrapper.getNutType()
Returns the nut type potentially modified by other components like transformers.
|
NutType |
ConvertibleNut.getNutType()
Returns the nut type potentially modified by other components like transformers.
|
NutType |
AbstractConvertibleNut.getNutType()
Returns the nut type potentially modified by other components like transformers.
|
Modifier and Type | Method and Description |
---|---|
Set<NutType> |
NutsHeap.getNutTypes()
Gets the
NutType types. |
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. |
void |
NutWrapper.setNutType(NutType nutType)
Sets the nut type.
|
void |
ConvertibleNut.setNutType(NutType nutType)
Sets the nut type.
|
void |
AbstractConvertibleNut.setNutType(NutType nutType)
Sets the nut type.
|
Constructor and Description |
---|
AbstractConvertibleNut(String name,
NutType ft,
Future<Long> v,
Boolean c)
Builds a new instance.
|
AbstractNut(String name,
NutType ft,
Future<Long> v)
Creates a new instance.
|
ByteArrayNut(byte[] bytes,
String name,
NutType nt,
ConvertibleNut originalNut)
Builds a new
Nut transformed nut based on a given byte array and only one original nut. |
ByteArrayNut(byte[] bytes,
String name,
NutType nt,
List<ConvertibleNut> originalNuts,
Long version)
Builds a new
Nut transformed nut based on a specified byte array. |
ByteArrayNut(byte[] bytes,
String name,
NutType nt,
Long version,
boolean dynamicContent)
Builds a new
Nut original nut based on a given byte array. |
FilePathNut(FilePath p,
String name,
NutType ft,
Future<Long> versionNumber)
Builds a new
Nut based on a given path. |
HttpNut(String name,
URL url,
NutType nutType,
Future<Long> version)
Builds a new instance.
|
NotReachableNut(String name,
NutType nutType,
String heapId,
Long version)
Creates a new instance.
|
PipedConvertibleNut(String name,
NutType ft,
Future<Long> v,
Boolean comp)
Builds a new instance.
|
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 |
---|---|
protected Nut |
RequestDispatcherNutDao.accessFor(String realPath,
NutType type,
ProcessContext processContext)
Creates an access for the given parameters through a
Nut implementation. |
Constructor and Description |
---|
WebappNut(ServletContext ctx,
String p,
String name,
NutType ft,
Future<Long> versionNumber)
Builds a new
Nut based on a context and path. |
Copyright © 2012-2015. All Rights Reserved.