it.eng.qbe.utility
Class WebQbeUrlGenerator
java.lang.Object
it.eng.qbe.utility.WebQbeUrlGenerator
- All Implemented Interfaces:
- IQbeUrlGenerator
- public class WebQbeUrlGenerator
- extends java.lang.Object
- implements IQbeUrlGenerator
- Author:
- Andrea Zoppello
The implementation of IQbeUrlGenerator used when QBE is used as a STANDALONE WEB APPLICATIONS
Method Summary |
java.lang.String |
conformStaticResourceLink(javax.servlet.http.HttpServletRequest aHttpServletRequest,
java.lang.String originalUrl)
|
java.lang.String |
getUrl(javax.servlet.http.HttpServletRequest aHttpServletRequest,
java.util.Map parameters)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebQbeUrlGenerator
public WebQbeUrlGenerator()
getUrl
public java.lang.String getUrl(javax.servlet.http.HttpServletRequest aHttpServletRequest,
java.util.Map parameters)
- Specified by:
getUrl
in interface IQbeUrlGenerator
- Parameters:
aHttpServletRequest
- the http servlet requestparameters
- an HashMap of parameters
- Returns:
- a URL given the Map parameters
conformStaticResourceLink
public java.lang.String conformStaticResourceLink(javax.servlet.http.HttpServletRequest aHttpServletRequest,
java.lang.String originalUrl)
- Specified by:
conformStaticResourceLink
in interface IQbeUrlGenerator
- Parameters:
aHttpServletRequest
- the http servlet requestoriginalUrl
- a String representic a link to static resource img, css, js and so on
- Returns: