1
2
3
4
5 package net.sf.wfnm.web;
6
7 import javax.servlet.http.HttpServletRequest;
8
9
10 /***
11 * Defines the funtion that calculates the URL given the HttpServletRequest.
12 *
13 * @author <a href="mailto:malbari@users.sourceforge.net">Maurizio Albari</a>
14 * @version 1.0.6
15 */
16 public interface UrlCalculator {
17 /***
18 * Calculates the URl of the page given the HttpServletRequest.
19 *
20 * @param request the HttpServletRequest
21 *
22 * @return the calculated URL
23 */
24 public String calculateUrl(HttpServletRequest request);
25 }