public interface WPBRequestHandler
Interface that defines a Site url controller.A Site url that has the Resource type value as Url controller will need to specify a path to a controller that implements WPBRequestHandler.
|Modifier and Type||Method and Description|
Method that is called on each HTTP request for a site url that has the Resource type value as Url controller
Method that initializes the controller
void initialize(WPBContentProvider contentProvider)
contentProvider- Interface that can be used to fetch content from CMS engine.
void handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, WPBModel model, WPBForward forward) throws WPBException
request- The servlet HttpServletRequest instance of the current request
response- The servlet HttpServletResponse instance of the current request
model- The corrent request Model. It can be used to obtain CMS specific information or the application specific model can be populated.
forward- Interface to forward the current request to use a particular site page.
Copyright © 2015. All rights reserved.