| Modifier and Type | Method and Description |
|---|---|
ResourceType |
CacheKey.getType() |
| Constructor and Description |
|---|
CacheKey(String groupName,
ResourceType type)
Uses default minimize flag to build
CacheKey (minimize = true). |
CacheKey(String groupName,
ResourceType type,
boolean minimize) |
| Modifier and Type | Method and Description |
|---|---|
String |
WroManager.encodeVersionIntoGroupPath(String groupName,
ResourceType resourceType,
boolean minimize)
Encodes a fingerprint of the resource into the path.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceType |
GroupExtractor.getResourceType(javax.servlet.http.HttpServletRequest request) |
ResourceType |
DefaultGroupExtractor.getResourceType(javax.servlet.http.HttpServletRequest request)
Extracts the resource type, by parsing the uri & finds the extension.
|
| Modifier and Type | Method and Description |
|---|---|
Group |
Group.collectResourcesOfType(ResourceType type) |
String |
GroupExtractor.encodeGroupUrl(String groupName,
ResourceType resourceType,
boolean minimize)
This method is a opposite of the other 3 methods.
|
String |
DefaultGroupExtractor.encodeGroupUrl(String groupName,
ResourceType resourceType,
boolean minimize)
This method is a opposite of the other 3 methods.
|
boolean |
Group.hasResourcesOfType(ResourceType resourceType)
Check if the group has at least one resource of some type.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceType |
GroupExtractorDecorator.getResourceType(javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
String |
GroupExtractorDecorator.encodeGroupUrl(String groupName,
ResourceType resourceType,
boolean minimize)
This method is a opposite of the other 3 methods.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceType |
ResourceType.get(String typeAsString) |
ResourceType |
Resource.getType() |
static ResourceType |
ResourceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceType[] |
ResourceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Resource |
Resource.create(String uri,
ResourceType type)
Factory method for Resource creation.
|
void |
Resource.setType(ResourceType type) |
| Modifier and Type | Method and Description |
|---|---|
ResourceType[] |
AbstractProcessorDecoratorSupport.getSupportedResourceTypes() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ProcessorDecorator.isEligible(boolean minimize,
ResourceType searchedType)
Indicates if the processor is eligible for usage based on provided criteria.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
WroTestUtils.assertProcessorSupportResourceTypes(ResourcePreProcessor processor,
ResourceType... expectedResourceTypes)
Asserts that a processor supports provided resource types.
|
Copyright © 2008-2014. All Rights Reserved.