org.apache.beehive.netui.pageflow.util
Class DefaultURLRewriter
Object
URLRewriter
DefaultURLRewriter
Deprecated. Use DefaultURLRewriter
instead.
public class DefaultURLRewriter
- extends URLRewriter
Method Summary |
String |
rewriteName(ServletContext servletContext,
ServletRequest request,
String name)
Deprecated. Rewrite the given query parameter name. |
String |
rewriteURL(ServletContext servletContext,
ServletRequest request,
ServletResponse response,
String url,
String type)
Deprecated. Rewrite the given URL. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultURLRewriter
public DefaultURLRewriter()
- Deprecated.
rewriteName
public String rewriteName(ServletContext servletContext,
ServletRequest request,
String name)
- Deprecated.
- Description copied from class:
URLRewriter
- Rewrite the given query parameter name.
- Specified by:
rewriteName
in class URLRewriter
- Parameters:
servletContext
- the current ServletContext.request
- the current HttpServletRequest.name
- the query parameter name to rewrite.
- Returns:
- the rewritten query parameter name.
rewriteURL
public String rewriteURL(ServletContext servletContext,
ServletRequest request,
ServletResponse response,
String url,
String type)
- Deprecated.
- Description copied from class:
URLRewriter
- Rewrite the given URL.
- Specified by:
rewriteURL
in class URLRewriter
- Parameters:
servletContext
- the current ServletContext.request
- the current HttpServletRequest.response
- the current HttpServletResponse.url
- the URL to rewrite.type
- the type of URL to be rewritten. This is one of the following values:
action
: a standard (non-resource) URL, for which SSL is not required
secure-action
: a standard (non-resource) URL, for which SSL is required
resource
: a resource (e.g., image) URL, for which SSL is not required
secure-resource
: a resource (e.g., image) URL, for which SSL is required
- Returns:
- the rewritten URL.