|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.resource.ResourceHttpRequestHandler
org.broadleafcommerce.common.web.resource.BroadleafResourceHttpRequestHandler
public class BroadleafResourceHttpRequestHandler
| Field Summary | |
|---|---|
protected ResourceBundlingService |
bundlingService
|
protected List<AbstractGeneratedResourceHandler> |
handlers
|
| Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator |
|---|
METHOD_GET, METHOD_HEAD, METHOD_POST |
| Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
BroadleafResourceHttpRequestHandler()
|
|
| Method Summary | |
|---|---|
List<AbstractGeneratedResourceHandler> |
getHandlers()
|
List<org.springframework.core.io.Resource> |
getLocations()
|
protected org.springframework.core.io.Resource |
getResource(javax.servlet.http.HttpServletRequest request)
Checks to see if the requested path corresponds to a registered bundle. |
boolean |
isBundleRequest(javax.servlet.http.HttpServletRequest request)
|
void |
setHandlers(List<AbstractGeneratedResourceHandler> handlers)
|
| Methods inherited from class org.springframework.web.servlet.resource.ResourceHttpRequestHandler |
|---|
afterPropertiesSet, getMediaType, handleRequest, isInvalidPath, setHeaders, setLocations, writeContent |
| Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator |
|---|
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader |
| Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
|---|
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext |
| Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
|---|
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<AbstractGeneratedResourceHandler> handlers
protected ResourceBundlingService bundlingService
| Constructor Detail |
|---|
public BroadleafResourceHttpRequestHandler()
| Method Detail |
|---|
protected org.springframework.core.io.Resource getResource(javax.servlet.http.HttpServletRequest request)
getResource in class org.springframework.web.servlet.resource.ResourceHttpRequestHandlerpublic boolean isBundleRequest(javax.servlet.http.HttpServletRequest request)
public List<org.springframework.core.io.Resource> getLocations()
ResourceHttpRequestHandler. Note that we must use
reflection to access this field as it is marked private.public List<AbstractGeneratedResourceHandler> getHandlers()
public void setHandlers(List<AbstractGeneratedResourceHandler> handlers)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||