public class WebURLGeneratorTransformer extends URLGeneratorTransformer implements Serializable
URLGeneratorTransformer
where the base path can be generated using the Wicket Page Class name.paramsAdded, usePathAsParams
filter, processors
Constructor and Description |
---|
WebURLGeneratorTransformer() |
WebURLGeneratorTransformer(List processors) |
WebURLGeneratorTransformer(Object base,
Object params) |
WebURLGeneratorTransformer(String baseUrlStr) |
WebURLGeneratorTransformer(String baseUrlStr,
Object params) |
Modifier and Type | Method and Description |
---|---|
String |
getPrefix()
Server host info including protocol to be used.
|
protected String |
getServerHostInfo() |
boolean |
isPrefixRequired()
If true will prefix the protocol and Server Host name to the
baseUrlStr to ensure its an absolute path |
void |
setPrefix(String prefix)
Server host info including protocol to be used.
|
void |
setPrefixRequired(boolean prefixRequired)
If true will prefix the protocol and Server Host name to the
baseUrlStr to ensure its an absolute path |
Object |
transform(Object input)
|
addAnalyticsParams, decorateURL, isParamsAdded, isUsePathAsParams, joinDelimet, secureURL, setParamsAdded, setProcessors, setUsePathAsParams
cleanDangligngDelimets, getDanglingDelimRegEx, getDelimiter, join, setDanglingDelimRegEx, setDelimiter
getFilter, getProcessors, setFilter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public WebURLGeneratorTransformer()
public WebURLGeneratorTransformer(List processors)
public WebURLGeneratorTransformer(String baseUrlStr)
protected String getServerHostInfo()
public Object transform(Object input)
URLGeneratorTransformer
URLGeneratorTransformer.secureURL(Object, String)
then URLGeneratorTransformer.decorateURL(Object, String)
and then URLGeneratorTransformer.addAnalyticsParams(Object, String)
transform
in interface org.apache.commons.collections.Transformer
transform
in class URLGeneratorTransformer
public boolean isPrefixRequired()
baseUrlStr
to ensure its an absolute pathpublic void setPrefixRequired(boolean prefixRequired)
baseUrlStr
to ensure its an absolute pathpublic String getPrefix()
public void setPrefix(String prefix)
Copyright © 2018. All rights reserved.