|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.cms.web.PageURLProcessor
@Component(value="blPageURLProcessor") public class PageURLProcessor
Based on the passed in request, this processor determines if a CMS managed page exists
that matches the passed in URL.
The ProcessURLFilter will check it's internal cache to determine which URL processor
should be invoked for a passed in URL. If it is unable to find a matching processor in cache,
then it will call each processor in turn to provide an attempt to process the URL.
Created by bpolster.
| Constructor Summary | |
|---|---|
PageURLProcessor()
|
|
| Method Summary | |
|---|---|
boolean |
canProcessURL(String key)
Implementors of this interface will return true if they are able to process the current in request. |
String |
getBlcPageTemplateDirectory()
Defaults to /WEB-INF/jsp/templates but can be overridden via Spring configuration. |
void |
processURL(String key)
Determines if the requestURI for the passed in request matches a custom content managed page. |
void |
setBlcPageTemplateDirectory(String blcPageTemplateDirectory)
Sets the directory where JSP page templates are stored. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageURLProcessor()
| Method Detail |
|---|
public boolean canProcessURL(String key)
canProcessURL in interface URLProcessorBroadleafRequestContext
public void processURL(String key)
throws IOException,
javax.servlet.ServletException
processURL in interface URLProcessorkey - The URI to process
IOException
javax.servlet.ServletExceptionpublic String getBlcPageTemplateDirectory()
public void setBlcPageTemplateDirectory(String blcPageTemplateDirectory)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||